Open
Description
Hi. I have a programmable keyboard but I can't bind it in sway because it's treated as a mouse.
bindcode --input-device="5426:273:Razer_Razer_Nostromo" --whole-window 77 exec 'ydotool key "n+enter"'
Error: [...] Event code 77 (KEY_KP6) is not a button
bindsym --input-device="5426:273:Razer_Razer_Nostromo" --whole-window w exec 'ydotool key "n+enter"'
Error: [...] Unknown button w
I looked at the source code and apparently these messages don't mean sway doesn't know a button "w", it doesn't know a mouse can have one and treats my keyboard as a mouse.
The device in question has a scroll wheel so technically it combines a mouse and a keyboard. But having only a scroll wheel and no other buttons is not great.
Activity