Re: Compaq Presario Notebook Keyboard "Extensions"

From: Erich Schubert (erich.schubert@mucl.de)
Date: Fri Sep 14 2001 - 06:14:01 EST


> anything. On all desktop PC keyboards that I could lay my hands on
> otherwise, it generates e0 xx scancodes on press and e0 (xx | 0x80) on
> release. Some of these scancodes even seem to be standard (volume up and
> down, play and pause key...). I made a dedicated driver to handle these
> keys for 2.2 already. Not yet ported to 2.4.

You don't need a driver for them at all.
I had been playing with such a driver (for 2.2) which redirect a
configurable set of keys to a special device /dev/funkey or thelike.
Well, i'm not missing this patch now, there's a great tool called
"hotkeys" for X (available as debian package hotkeys) which has an X11
On-Screen-Display for Volume, predefined mappings for most keyboards and
is really easy to customize. I use that for controlling volume and xmms,
as well as launching some apps. (a "new terminal" hotkey is great ;)

Doesn't help here though - it needs scancodes.

Greetings,
Erich
-
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/



This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:47 EST