Re: Input system and keycodes > 256

From: David Gómez
Date: Mon Apr 26 2004 - 03:51:53 EST


Hi Benoit ;),

> There are two kind of addons keys, some works (scancode in the e0 XX
> form): Email, Prev, Next, Play/Pause, Vol+/-, Mute, ...
> + some of thoses generate a simple keycode eg
> Vol+: 0x73 | 0xf3 (scancodes: 0xe0 0x30 | 0xe0 0xb0)
> + some doesn't eg:
> play: 0x00 0x81 0xa4 | 0x80 0x81 0xa4 (scancodes: 0xe0 0x22 | 0xe0
> 0xa2)

You could make them work using the 'setkeycodes' command to configure
the kernel tables, so you can put some setkeycodes lines in your init
scripts to make those extra keys always avaliable on your console.

bye

--
David Gómez

"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/