Re-Bind Mouse Buttons?

Idk if this is a question applicable to Bazzite or Fedora in general, but... How do I set up bindings on my mouse? I have 2 side-buttons that I want to map to Ctrl and Alt.
Solution
Figured it out... Apparently the SteelSeries Rival 3 is a b*tch to config.

I installed "rivalcfg" - https://github.com/flozz/rivalcfg which allowed me to set up the buttons to a default state. However, it does not work for "press and hold" functionality, it releases my press immediately.

So I then had to install "input-remapper" - https://github.com/sezanzeb/input-remapper and now I'm able to set my buttons 4 and 5 to "press and hold" Ctrl and Shift as I was hoping to do.

Man that was a pain but it is working now!
GitHub
CLI tool and Python library to configure SteelSeries gaming mice - flozz/rivalcfg
GitHub
🎮 ⌨ An easy to use tool to change the behaviour of your input devices. - sezanzeb/input-remapper
Was this page helpful?