xbows-driver
xbows-driver copied to clipboard
Led for Left cannot be programmed
I tried to highlight some keys with a different color and noticed that I cannot change the color of the left key. Could it have the wrong id? I am using a nordic keyboard layout (setxkbmap se). I am using a X-Bows Nature (2020). Here is the yml file:
lights: animation: - all pattern: - color: [00,00,00] type: monochrome keys: [Escape,F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,Delete,PrintScreen, BackQuote,1,2,3,4,5,6,7,Equal,Minus,BackSpace_R, Tab,Q,W,E,R,T,Y,P,LeftBracket,RightBracket,BackSlash,PageUp, CapsLock,A,S,D,F,G,H,BackSpace_M,Semicolon,Quote,Enter_R,PageDown, Shift_L,Z,X,C,V,B,Enter_M,Slash,Shift_R, Up, Left, Down, Right, Control_L,Windows,Alt_L,Space_L,Control_M,Shift_M,Alt_R,Fn,Control_R] - color: [22,22,ff] type: monochrome keys: [XBows,8,9,0,U,I,O,J,K,L,N,M,Comma,Period,Space_R]
Seeing this on a UK keyboard layout too, if I set a different colour for Left
then it shows up on the down arrow key instead :thinking:
I had a look comparing evtest
with src/keymap.cc
and src/keymap.hh
but didn't see anything obvious.
Interestingly, all of the following work fine:
- Setting
Left: W
in akeymap
- Setting
W: Left
in a keymap - Using
Left
in a macro - Setting the colour of
Left
in the driver layer