I am trying to follow this guide to using a Logitech G600. I have (using a windows computer) mapped each key combo on the mouse to something on a normal keyboard. I have set up some rules in /etc/udev/hwdb.d/ to map the scancodes to some extended keycodes (found here). All of this works fine, except that X doesn't recognize keycodes greater than 255. So, the line
KEYBOARD_KEY_7001d=zenkakuhankaku
causes the mouse button to spit out keycode 400 (via showkey) and xev doesn't recognize the key at all.
I have also tried running xmodmap -pke | grep "= XF86"
to show the keycodes that are less than 255 that should be available, but can't figure out how to map the scancode to those keycodes (i.e. KEYBOARD_KEY_7001d=XF86Explorer
leaves the key mapped to "z").
Is there a way to map a scancode directly to a numeric keycode (in the hwdb file - I have no desire to map everything that issues the letter "a" to XF86Calculator)?
Is there some other way to map the scan code to one of the unused XF86 codes?