this post was submitted on 29 Dec 2025
87 points (97.8% liked)

Linux Gaming

22818 readers
506 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

The Simple DirectMedia Library that is widely-used by many cross-platform games and part of the Steam Runtime now has better support for handling more mouse button events under Wayland.

Last week was a bug report over supporting more mouse buttons than five. While some mice end up binding their extra mouse buttons to keyboard keys, some mice such as when configured via Libratbag+Piper can map them to higher key press input event codes. Theoretically, allowing up to 48 key press input events in total.

you are viewing a single comment's thread
view the rest of the comments
[–] Sunsofold@lemmings.world 9 points 1 day ago (1 children)

I've been using my 18 button mouse for ages now without issue. I'm kind of wondering what was happening behind the screen now.

[–] MentalEdge@sopuli.xyz 7 points 23 hours ago* (last edited 18 hours ago) (1 children)

You probably haven't been running your games under wayland, even if your desktop is.

Proto only recently got Wayland support, and still does not enable it by default, so games usually run in xwayland.

Are you using the additional buttons for actions on the desktop, and if you are, maybe you bound them to keyboard button actions?

[–] Sunsofold@lemmings.world 1 points 7 hours ago (1 children)

Now that I think about it, I'm realising I didn't set it up specifically after switching from windows. It just kept doing the same things I set up before. It does mostly imitate keyboard input though, except for the ones I set as mouse actions (rapid L/R clicks) which still does that. Maybe the designers actually gave it some memory of its own. And yeah, the extra button use has all been in gaming so the proton/xwayland thing would make sense.

[–] MentalEdge@sopuli.xyz 2 points 7 hours ago* (last edited 6 hours ago)

Gaming peripherals usually have internal memory for settings, yeah.

When you edit what a button does, it actually changes the input sent by the device in the firmware, so your mouse is likely just pretending to be a keyboard for those keys, and just internally running macros for the autoclicks.

It's why you can set things up, and then close the config software.