Re: standart events for hotkeys?

From: Giuseppe Bilotta
Date: Sat Apr 24 2004 - 18:32:50 EST


Chris Meadors wrote:
> Michal Semler wrote:
>
> > and this is what I mean. We should start project collecting this. As PCI cards
> > list for example.
>
> There are as many e-mail keys codes as there are e-mail programs. And
> I'm sure there is over lap, where one keyboard's e-mail key, generates
> the same code as another's web browser key.


See below.

> Also it doesn't really
> matter what a key is labeled, it could be assigned to anything.

Well, this is a secondary matter.

> What there should be is a program that is configurable, that says when
> you see this key event, do this. And such programs do exist, for
> example the GNOME desktop has ACME.

Recent X versions have keysyms for the multimedia keys, with
names like XF86AudioPlay, XF86VolumeUp etc. In your keyboard
setup you can choose an inet module specific for your
multimedia keyboard (provided it's supported) and the scancodes
will be converted to the correct keycodes with the attached
"multimedia" keysyms, which you can then map to the whatever
action you might want.

> All that has to be done is make sure the kernel passes this codes, and
> the user space program can gather them. That seems to be working now.

Or rather not, due to the RAW mode emulation (see also my posts
on my problems with configuring the multimedia keys of my Dell
Inspiron 8200 with the 2.6 kernels).

--
Giuseppe "Oblomov" Bilotta

Can't you see
It all makes perfect sense
Expressed in dollar and cents
Pounds shillings and pence
(Roger Waters)

-
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/