[BRLTTY] Filter keyboard keypresses on Linux

Mario Lang mlang at delysid.org
Sat Dec 15 17:11:40 EST 2007


Samuel Thibault <samuel.thibault at ens-lyon.org> writes:

> Mario Lang, le Sat 15 Dec 2007 22:29:27 +0100, a écrit :
>> Dave Mielke <dave at mielke.cc> writes:
>> 
>> > If we want most of the code to be common within the core then we probably need 
>> > a scheme for portabilizing key representations. Does one already exist or do we 
>> > need to invent it?
>> 
>> AIUI, what linux currently uses is derived from the HID
>> standard (Human Interface Devices).
>
> Mmm, what do you mean by "what linux uses"? Internally, Linux uses
> keycodes, which are derived from AT2 scancodes. For USB, it uses the
> usb_kbd_keycode[] array for translating from HID to keycodes.

I mean the codes defined in input.h, are those keycodes?
What standard defines that 138 is HELP?  Is this a linux specific
thing, or is it defined somewhere else?

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang at db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


More information about the BRLTTY mailing list