lkml.org 
[lkml]   [1998]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-kernel-digest V1 #2953
Date
From
>> 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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.032 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site