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

Petr
-- 
gentoo-user@gentoo.org mailing list

Reply via email to