On Sun, Oct 14, 2007 at 08:11:30PM +0200, Bruce Alcock wrote: > > > It doesn't generate keysyms...hence the problem. Thanks, should've mentioned > that. Anyone got any ideas how to map keys that don't generate keysyms? Or > how to make them make keysyms rather?
Does they generate KeyPress and KeyRelease events, with a keycode? If the buttons don't generate events, I think there isn't anything you can do with those keys. :-) But if they do, you can assign them a keysym in ~/.Xmodmap. See xmodmap(1). A list of keysyms is available in /usr/local/include/X11/keysymdef.h. You should remove the 'XK_' prefix from each keysym, though. I suggest you pick a couple of unused ones instead of defining your own. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
Description: PGP signature