I have been attempting to remap a razer tartarus pro's key mapping using a hwdb file. Everything remaps correctly except for the "16" button. its default value is left shift. I have tried to remap it several different ways and to different key however the end result is the same, its default. If you have any idea why this might be the case please let me know.
If it matters, the purpose of rebinding these keys is to have key inputs that wont interfere with a standard us keyboard and allow me to bind said inputs to macros later using xdotool.
ps. the code looks better in vim...
If it matters, the purpose of rebinding these keys is to have key inputs that wont interfere with a standard us keyboard and allow me to bind said inputs to macros later using xdotool.
Code:
# Razer Tartarus Pro Keyboardevdev:input:b0003v1532p0244*# Row 1 KEYBOARD_KEY_7001e=f13 # (1) => '1' => 'F13' KEYBOARD_KEY_7001f=f14 # (2) => '2' => 'F14' KEYBOARD_KEY_70020=f15 # (3) => '3' => 'F15' KEYBOARD_KEY_70021=f16 # (4) => '4' => 'F16' KEYBOARD_KEY_70022=f17 # (5) => '5' => 'F17'# Row 2 KEYBOARD_KEY_7002b=f18 # (6) => 'Tab' => 'F18' KEYBOARD_KEY_70014=f19 # (7) => 'q' => 'F19' KEYBOARD_KEY_7001a=f20 # (8) => 'w' => 'F20' KEYBOARD_KEY_70008=f21 # (9) => 'e' => 'F21' KEYBOARD_KEY_70015=f22 # (10) => 'r' => 'F22'# Row 3 KEYBOARD_KEY_70039=f23 # (11) => 'Caps Lock' => 'F23' KEYBOARD_KEY_70004=f24 # (12) => 'a' => 'F24' KEYBOARD_KEY_70016=ro # (13) => 's' => 'RO' KEYBOARD_KEY_70007=katakana # (14) => 'd' => 'KATAKANA' KEYBOARD_KEY_70009=hiragana # (15) => 'f' => 'HIRAGANA'# Row 4 KEYBOARD_KEY_700e1=katakanahiragana # (16) => 'Left Shift' => 'KATAKANAHIRAGANA' KEYBOARD_KEY_7001d=muhenkan # (17) => 'z' => 'MUHENKAN' KEYBOARD_KEY_7001b=kpjpcomma # (18) => 'r' => 'KPJPCOMMA' KEYBOARD_KEY_70006=hanguel # (19) => 'c' => 'HANGUEL' KEYBOARD_KEY_7002c=hanja # (20) => 'space' => 'HANJA'# D-Pad KEYBOARD_KEY_700e2=u # (button) => 'Left-Alt' => 'u' KEYBOARD_KEY_70052=up # (Dpad-Up) => 'Up_Arrow' => 'up' KEYBOARD_KEY_7004f=right # (Dpad-Right) => 'Right_Arrow' => 'right' KEYBOARD_KEY_70051=down # (Dpad-Down) => 'Down_Arrow' => 'down' KEYBOARD_KEY_70050=left # (Dpad-Left) => 'Left_Arrow' => 'left'# Scroll Wheel KEYBOARD_KEY_90003=z # (Scroll Wheel) => 'Scroll Whell Click' => 'z'
Statistics: Posted by WWWyzzerDD — 2023-12-19 01:01 — Replies 0 — Views 222