gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

Mouse side-buttons wont work

Open Akselmo opened this issue 3 years ago • 4 comments

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.

Akselmo avatar Jun 05 '22 18:06 Akselmo

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

sonic2kk avatar Jun 06 '22 15:06 sonic2kk

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.

obj-obj avatar Mar 30 '24 22:03 obj-obj

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

misyltoad avatar Mar 31 '24 04:03 misyltoad

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.

obj-obj avatar Mar 31 '24 18:03 obj-obj