You are not logged in.

#1 2024-02-23 21:06:02

skylize
Member
Registered: 2022-04-04
Posts: 19

Inconistent caps lock state from multi-button mouse

I have Caps Lock assigned to trigger a roll/dodge action in Warframe (on Wine with a Steam entry point), which works fine. I have a "MOBA mouse" with 8 numbered buttons on the side (along with several other buttons). The buttons were set to emit the numerals 1-8 from using the manufacturer's Windows app.

Using wev, I see that enabling Caps Lock sets `locked: 2`, while disabling sets `locked: 0`. For some reason the number buttons from the mouse always arrive with the `locked: 0`, regardless of the underlying locked state; and the indicator light turns off on my Caps Lock key. Yet, if I press any key on the keyboard (any that sends some code to Linux) when it should be locked, then wev shows `locked: 2` again and the light turns back on.

As far as Warframe is concerned, these mouse buttons all trigger Caps Lock, which it honors before (and in place of) whatever numeral it receives. I use Caps Lock regularly when typing, so cannot just point it to some other key code. Is there any other way, in wlroots (Hyprland v0.35.0), to correct for this problem?

Offline

Board footer

Powered by FluxBB