The correct solution if you asked me is to ignore the windows repeat
events and use this X "feature" that is causing the problem. I
would say this is the correct thing to do because of the very reason
that the feature was included in X in the first place (at least I
assume it is the reason). It gives you rates and delays the hardware
doesn't provide, especially lower delays than 250ms and 30cps on
pc hardware. If you use, `xset r rate 150 80` you can see it work
under cygwin.
I've noticed that the modifiers under cygwin (control, alt, shift etc)
show that they repeat under xev just like other keys where they don't
on Linux.
While input is the topic is it possible to claim the alt and window keys
in cygwin? I have fvwm setup to use them a ton and it works great under
Linux, but not at all in cygwin. I was debating if it would be useful to
let windows still control alt-tab or not. I've seen other programs
take control of the window and alt keys, so it is possible, but I have no
idea what it would take.