After more debugging, I discovered that the missing mouse buttons aren't technically a bug in Steam's native uinput implementation, but the issue with extest, which I'm using to bypass the Wayland input limitations described in #13185.
Basically, I was using the older version of extest, which didn't include the BTN_EXTRA support.
I'm closing this as the issue was caused by the outdated shim. However, a native fix for #13185 would be the ideal solution so that workarounds like extest are no longer necessary. Thank you!
Nothing extracted yet.
Your system information
tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs]Please describe your issue in as much detail as possible:
When using the Steam Controller (2026) in Desktop Mode under Wayland, mapping buttons (like R4 or L4) to Mouse4/Mouse5 does not work.
After my diagnosis, I can confirm that
wevdoes not register any input events when set to these buttons, while registering any other keybind (such as Page Down).I investigated a bit, and
evtestreveals that the virtual input mouse device created by Steam doesn't declare capabilities for neitherBTN_SIDE, norBTN_EXTRA, which I assume causes the compositor to drop any mouse4/5 event:What's also interesting is the absence of
BTN_MIDDLEthere aswell.Steps for reproducing this issue:
Mouse4/Mouse5wevin terminal, and press the button on the controller while focused on thewevwindow