Gentoo Archives: gentoo-user

From: Petr Kocmid <Petr.Kocmid@××××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: keys that don't create keycodes
Date: Tue, 19 Jul 2005 15:37:21
In Reply to: [gentoo-user] OT: keys that don't create keycodes by Iain Buchanan
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.
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.
21 Petr
22 --
23 gentoo-user@g.o mailing list


Subject Author
Re: [gentoo-user] OT: keys that don't create keycodes "Patrick Börjesson" <psycho@××××××××.cx>