ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.97k stars 197 forks source link

Mouse side-buttons wont work #516

Open Akselmo opened 2 years ago

Akselmo commented 2 years ago

While trying to launch Splitgate with following parameters gamescope -e -w 1920 -h 1080 -f -- %command%, mouse side buttons stop working. (Logitech G502) When you try to bind those buttons in game, it receives the binding as None. I think the game sees them as escape keys, since the binding menu disappears? Not sure.

Works fine without gamescope on.

The buttons in Piper show up as following: Forward and Backward. In web browsers they navigate the site forward and backward.

I also tested the ones labeled button X click, x being number from 5-10. They also did not work.

Current system:

Operating System: Fedora Linux 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.11-300.fc36.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,6 GiB of RAM
Graphics Processor: AMD DIMGREY_CAVEFISH (RX 6600)

Workaround!

If you have a mouse supported by Piper, set the side mouse buttons to a normal key like for me they're ä and å. The game finds those buttons just fine.

sonic2kk commented 2 years ago

I used to have this problem with a Logitech mouse, using gamescope-git from the AUR fixed it a while ago. There might be more up-to-date Fedora packages (maybe from GE?) or you could install from source to get the latest version

obj-obj commented 5 months ago

Also have this issue. I have my keys bound to button 5, 6, and 7 click. Games see the extra mouse buttons fine when running outside of gamescope but don't seem to recieve any keypress when running inside gamescope.

Joshua-Ashton commented 5 months ago

I think this should work fine on the new Wayland backend in master -- not so sure about the SDL backend.

obj-obj commented 5 months ago

I think this should work fine on the new Wayland backend in master -- not so sure about the SDL backend.

Tried gamescope-git and it still doesn't work, and my mouse cursor is also offset.