Messages in this thread | | | Date | Fri, 15 Aug 2003 14:33:07 +0100 | From | Jamie Lokier <> | Subject | Re: Input issues - key down with no key up |
| |
Vojtech Pavlik wrote: > > Several laptops seem to send a key down event 3, 5 or very many times > > in response to a single press. > > One way this could be handled fairly nicely (although the method is > maybe too clever to be good) would be to leave the autorepeat up to the > sw, ignore any successive presses without a release and watch whether > the keyboard will start autorepeating the key after 250 msec. If it does > not, then force the key to be released even if we got no release > scancode.
Perhaps it's too clever, because some users configure the repeat delay in their BIOS to longer than 250ms.
It is fine if you are able to reliably program the keyboard to use the 250ms delay, though.
Aren't there some keys which report DOWN and UP but which don't repeat?
The PS/2 keyboard protocol is utterly absurd.
-- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |