I’m having a hard time switching to Wayland because I need to remap mouse buttons, specifically the Back and Middle buttons. I have a Kensington Expert trackball, and button functions are somewhat arbitrary out of the box.
The ButtonRebinds
feature in kcminputrc almost covers what I need, but the code in buttonbindsfilter.cpp
clearly will map only ExtraButton<x>
inputs, which means I can’t rebind the MiddleMouse button.
I’m also not sure if it’s possible to bind a mouse button as the action here.
I wonder why this rebinding feature is restricted to “extra” buttons?
Additionally, it seems the rebinding in global, not per-device. Whereas all the other configuration is per-device. This feels like an oversight
Any thoughts?