-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DualSense touchpad press also detected by games as R1 press (actually mouse click) #3682
Comments
/cc'ing @ABeltramo per his request. Actually there is also another bad key mapping concerning the little key next to the touchpad (left side) but I think I'll open another bug for that. |
Grazie Daniele! 😉 Quick question: is "R1" the same behaviour in-game as clicking the mouse? I have the same issue on Helldivers when using the real dualsense plugged on my desktop (using it directly, not via Moonlight): clicking the touchpad also triggers the "shooting" action, which is "clicking the mouse" action. I also wondered if it's Moonlight that is picking up the "touchpad click" event and sending it to Sunshine, which will end up sending down that event via the mouse. Interesting problem, I'm a bit busy at the moment, but I'll definitely look further into it! |
Indeed, the same thing happens with normal mouse click. Thanks for looking into this! EDIT: possibly related moonlight-stream/moonlight-qt#1094 |
I "fixed" it by adding a udev rule (to the Moonlight host) that ignores the touchpad:
Touchpad is no longer detected as click now and it works in game; it is also "turned into a mouse" while pressing the PS button (that's by Steam I think). I don't know if this is the way to fix this though. |
Interesting! |
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
In a few games, DualSense touchpad press is also detected as R1 press.
Expected Behavior
A touchpad press should only be detected as that.
Additional Context
Sunshine is running in a X11 desktop environment running XFCE, games running through Steam with Steam Input disabled. Mouse device provided by the emulated controller was disabled in XFCE Mouse settings (otherwise it would act as a mouse and that's even worse while in-game).
Tested games:
The R1 press is not detected by https://github.com/games-on-whales/sdl-jstest - log below. The R1 button code doesn't appear in the test (running while in-game in a ssh session) as I can see the R1 button code (when I voluntarily press it) is different from the touchpad press code.
I'm not even sure that the touchpad press is detected only as touchpad + R1 press, it might be detected also as other keys but the games I'm testing with don't show any other visible reactions.
Host Operating System
Linux
Operating System Version
Debian current testing
Architecture
amd64/x86_64
Sunshine commit or version
2025.219.141943
Package
Linux - deb
GPU Type
AMD
GPU Model
Radeon RX 6800
GPU Driver/Mesa Version
24.3.4-3
Capture Method
KMS (Linux)
Config
Apps
Relevant log output
The text was updated successfully, but these errors were encountered: