lostallmymoney / Razer_Mouse_Linux

Enables macros with extra razer buttons. Also works with other devices.
Other
42 stars 9 forks source link

NumPad bindings Trinity #8

Closed filosofis closed 3 years ago

filosofis commented 3 years ago

Hey I just tried running this on a Naga Trinity. The default configs work, and binding to various keys like letters and numbers. However I was not able to bind to numpad keys. This is the config I attempted to run.

config=defaultConfig

1 - key=KP_1 2 - key=KP_2 3 - key=KP_3 4 - key=KP_4 5 - key=KP_5 6 - key=KP_6 7 - key=KP_7 8 - key=KP_8 9 - key=KP_9 10 - key=KP_0 11 - key=KP_Add 12 - key=KP_Subtract

configEnd

Im using a Swedish keyboard layout if that might be affecting the issue. Result I get is 2,4,6,8 => down,left,right,up. 1,3,7,9 => End,PgDn,Home,PgUp

lostallmymoney commented 3 years ago

I think it's working pretty good only that the KP_* are linked to the non numlocked keys so maybe replace by

config=defaultConfig 1 - key=1 2 - key=2 3 - key=3 4 - key=4 5 - key=5 6 - key=6 7 - key=7 8 - key=8 9 - key=9 10 - key=0 11 - key=0x2b 12 - key=0x2d

if you want to use the arrows and such :

13 - chmap=noNumLock configEnd

config=noNumLock 1 - key=KP_1 2 - key=KP_2 3 - key=KP_3 4 - key=KP_4 5 - key=KP_5 6 - key=KP_6 7 - key=KP_7 8 - key=KP_8 9 - key=KP_9 10 - key=KP_0 11 - key=KP_Add 12 - key=KP_Subtract

if you want to use the numbers and such :

13 - chmap=defaultConfig configEnd