[lkml]   [2007]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Input: document the proper usage of EV_KEY and KEY_UNKNOWN (v2)
    On Fri, 29 Jun 2007, Dmitry Torokhov wrote:
    > Finally gottent to the patch. It seems a little long-winded, how about
    > the patch below instead?

    Well, your version of the patch:

    1. does not make it clear to *userland* that using EV_SCAN instead of EV_KEY
    is something that is not to be done. If userland wants to use a key that is
    not generating an useful EV_KEY, it must remap the key to something.
    Otherwise, we are opening our flank to the crap we have with that kludge
    from hell AT keyboard reverse scan-code generation all again... it might
    have been unavoidable with the AT keyboard, due to legacy stuff, but there
    is no way we should let it happen to anything else.

    2. does not make it clear that EV_SCAN events must reflect the scan code
    that, when remapped, would reprogram the key that caused that EV_SCAN event
    to be generated.

    I think these two points need to be addressed by the docs.

    "One disk to rule them all, One disk to find them. One disk to bring
    them all and in the darkness grind them. In the Land of Redmond
    where the shadows lie." -- The Silicon Valley Tarot
    Henrique Holschuh
    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: 2007-06-30 20:23    [W:0.022 / U:6.752 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site