A thought about stuck keys

Jean-Claude Gervais jc.gervais@videotron.ca
Tue Mar 4 20:08:00 GMT 2003


Hi,

	I am using Microsoft Netmeeting to control a box running Cygwin XFree, and
like some of you have already noted, occasionally whatever is typed on the
keyboard gets echoed several times, acting almost like a stuck key. This
seems to happen to me MUCH, MUCH more when I am working remotely as I am
than when I am logged in locally or have a one-hop connection.

	I don't know XWindows very well, but it almost looks like the X keyboard
event-handler is getting fooled because of the extra latency the
communications channel is adding to the event times.

	For example, it seems like X sees a keydown message and responds to it,
sees another (duplicate) keydown message (for the same key) and doesn't make
sure there has been an intervening keyup message between the two. A
de-bouncing algorithm could do the job here.

	Maybe this is normal; that multiple keydown messages will get sent if you
hold down a key, but I am curious to know if this is something that can be
configured away.

	So, in summary, I'd like to know if it is possible to configure XFree to
NOT generate multiple keydown messages for ONE keypress.

Thanks.




More information about the Cygwin-xfree mailing list