Monday, February 27, 2012

Razer Udev

Ldap is up and running but I had to go way off the wikis to get it working, how I got it working soon. But for now how I just made razer anasi udev events easily.

/lib/udev/keymap -i /dev/input/by-id/usb-Razer_Razer_Anansi-event-kbd >> macros

This was super easy to edit with some find and replaces, and here is the original. The rest is the same as the logitech touchpad.



0x7006A  f15 #M1
0x7006B  f16 #M2
0x7006C  f17 #M3
0x7006D  f18 #M4
0x7006E  f19 #M5
0x7006F  f20 #T1
0x70070  f21 #T2
0x70071  f22 #T3
0x70072  f23 #T4
0x70092  katakana #T5
0x70093  hiragana #T6
0x7008C  kpjpcomma #T7
0x70073  f24 #FN




Keycodes are in this file, /usr/include/linux/input.h remove the KEY_ and convert to lowercase. I included the fn key because it needs to remapped, once you do I beleive all the media keys work, I don't use them, I'm using xbindkeys with a guile configuration to allow for the left side macro keys to act as a switch to change many of the keys on my keyboard (control XBMC, control receiver, control TV)

No comments:

Post a Comment