Re: linux-kernel-digest V1 #2953

Paul Barton-Davis (pbd@Op.Net)
Mon, 07 Dec 1998 00:12:34 -0500


>> 3) Whats the rationale for the keycodes assigned to various escaped
>> scancodes (E0_KPENTER etc.) ? I.e why is E0_KPENTER assigned keycode
>> 96, instead of, say, 102 or 83. The comments say:

>The keycodes are the electronic codes generated in the keyboard when a
>key is either pressed or released.

Sorry, but this is not true. Scancodes are generated by the
keyboard. Keycodes are assigned by the kernel to a particular
scancode. There isn't a 1:1 mapping, since some scancodes consist of
more than a single byte.

--p

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/