[lkml]   [2003]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Input issues - key down with no key up
    On Fri, Aug 15, 2003 at 02:33:07PM +0100, Jamie Lokier wrote:

    > 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.

    The driver programs the delay. The BIOS setting is irrelevant.

    > It is fine if you are able to reliably program the keyboard to use the
    > 250ms delay, though.

    I am.

    > Aren't there some keys which report DOWN and UP but which don't repeat?


    > The PS/2 keyboard protocol is utterly absurd.

    Yep. It's a dozen or more years of hack upon a hack.

    Vojtech Pavlik
    SuSE Labs, SuSE CR
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:47    [W:0.020 / U:164.348 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site