Skip to content
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

[Patch] Specific DualShock 3 mapping on Linux has digital triggers #3163

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.9
Reported for operating system, platform: Linux, x86

Comments on the original bug report:

On 2019-02-14 20:06:13 +0000, Adrian wrote:

Created attachment 3616
Patch for DualShock 3 mapping

SDL2 seems to include a multitude of hardcoded mappings, including plenty of mappings for PlayStation 3 controller. Some of them have analog triggers (as axes), some don't.

I own two different, legimate DualShock 3 controllers (one comes from a Fat PS3 era, the other came with a PS3 Super Slim), and according to Steam Link on Raspberry Pi, they both share a GUID. This GUID is included with SDL2, albeit unfortunately with digital triggers.

I am attaching a patch correcting this, making triggers for this GUID pressure sensitive.

On 2019-03-17 01:49:50 +0000, Sam Lantinga wrote:

Fixed, thanks!
https://hg.libsdl.org/SDL/rev/3d2042ac4ab9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant