On 05/07/19 17:31, Petr Kocmid wrote: > 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.
I think the originator is rather pointing out the problem that the newer keyboards (e.g. those with the F-Lock key) doesn't even generate a scancode. So xev for example won't even register a keypress when one of those extra multimedia keys is pressed by the user... I had the same problem when I bought a new keyboard, but I just couldn't find a solution for it so I returned it and went back to one of my old IBM-clicky-click keyboards ;) -- Regards, Patrick Börjesson PGP signature: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21792A5D PGP fingerprint: 74AF D4EF 6BDE CF77 16BE 6A29 CDB8 7607 2179 2A5D
pgpw7mN7zHWUM.pgp
Description: PGP signature