1 |
On Tuesday 19 of July 2005 08:56, Iain Buchanan wrote: |
2 |
> It seems that every multimedia keyboard out there (especially the usb |
3 |
> ones) have some or all "extra" keys that just aren't visible outside of |
4 |
> Winblows. |
5 |
> |
6 |
> I have a couple of them! I've tried all the usual ways of detecting |
7 |
> them - xev and others that do a similar thing but they just don't |
8 |
> register as keypresses in any standard way. |
9 |
> |
10 |
> I would like comments on why, and what methods, if any, may be available |
11 |
> to detect such keys. Surely with the plethora of cheap multimedia |
12 |
> keyboards out there, there is some way. |
13 |
|
14 |
In X, once you analyze scan codes generated by those keys with xev, you can |
15 |
assign keycodes locally wih xmodmap. In keyboard maps, you can reuse some |
16 |
exotic Fn key names available from historical mainframe terminals, unused on |
17 |
PC platform, such as F26 and Shift+F26 and so, I can't now remember the exact |
18 |
number limit for function key names, depends on how x libraries built. Works |
19 |
great for KDE, which recognizes these names well for shortcuts. |
20 |
|
21 |
Petr |
22 |
-- |
23 |
gentoo-user@g.o mailing list |