This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

A thought about stuck keys


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]