[lkml]   [2003]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: keyboard - was: Re: Linux 2.6.0-test4
    On Thu, Sep 04, 2003 at 09:48:16PM +0100, Jamie Lokier wrote:

    > Why so many complicated assumptions? Just maintain a bitmap if key
    > up/down states (initialised to up), and if you receive a release event
    > when the key is in the up state, ignore the event.

    Ha! We maintain two such bitmaps. And they get out of sync too.

    You talk too easily. "If you receive a release event".
    But one does not receive release events, one receives bytes.
    The interpretation of those bytes belongs to the keyboard driver.

    But i8042.c needs to know whether scancodes are releases
    in order to do its massaging of the scancodes before giving
    them to the keyboard driver.

    I regard i8042.c as fundamentally broken.
    On the other hand, it almost works.


    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:48    [W:0.019 / U:4.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site