lkml.org 
[lkml]   [2004]   [Apr]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Input system and keycodes > 256
FromBenoit Plessis <>
DateMon, 26 Apr 2004 11:20:24 +0200
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@plessis.info>	+33 6 77 42 78 32
<benoit.plessis@univ-lemans.fr>	   <benoit.plessis@tuxfamily.org>
<maverick@tuxfamily.org>	       <maverick@maverick.eu.org>
1024D/B4D74B76 B9A7 3697 661D 25FB A609  E69E 92CA FFAB B4D7 4B76


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008