Messages in this thread | | | Date | Mon, 1 Nov 2004 14:32:14 +0100 | From | Pavel Machek <> | Subject | Re: Map extra keys on compaq evo |
| |
Hi!
> > > > Compaq Evo notebooks seem to use non-standard keycodes for their extra > > > > keys. I workaround that quirk with dmi hook. > > > > > > > > > > Why don't you just call "setkeycodes" from your init script? > > > > In such case I'd need to configure keys at two different places, and > > that's ugly. I have to configure these extra keys with "hotkeys" > > anyway (input layer does not provide list of keys available, so > > It does.
Really? I know input has ability to say that, but at least on arima notebook, evtest definitely prints keys that are not there...
... Event code 128 (Stop) Event code 140 (Calc) Event code 142 (Sleep) Event code 143 (WakeUp) Event code 150 (WWW) Event code 155 (Mail) Event code 156 (Bookmarks) Event code 157 (Computer) Event code 158 (Back) Event code 159 (Forward) Event code 163 (NextSong) Event code 164 (PlayPause) Event code 165 (PreviousSong) Event code 166 (StopCD) Event code 173 (Refresh) ...
With accurate list "hotkeys" could run with no configuration, but I am afraid maintaining accurate list of keys for each keyboard is way too much work. Pavel
-- Boycott Kodak -- for their patent abuse against Java. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |