Re: Input system and keycodes > 256

From: Benoit Plessis
Date: Mon Apr 26 2004 - 04:21:54 EST


On Mon, 2004-04-26 at 12:48, David GÃmez wrote:
> 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

Ok thanks for that,
in fact thoses key works under XFree so i doesn't exactly focus on them.
It's the other keys with 0x82 0xXX keycodes, no scancodes (maybe an
empty translation table ? for i've read that USB keyboard need one of
those) and that generate mouse click event under X that are really
bothering me.

--
Benoit Plessis <benoit@xxxxxxxxxxxx> +33 6 77 42 78 32
<benoit.plessis@xxxxxxxxxxxxxx> <benoit.plessis@xxxxxxxxxxxxx>
<maverick@xxxxxxxxxxxxx> <maverick@xxxxxxxxxxxxxxx>
1024D/B4D74B76 B9A7 3697 661D 25FB A609 E69E 92CA FFAB B4D7 4B76


Attachment: signature.asc
Description: This is a digitally signed message part