We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4060 - [Patch] Alternative DualShock 4 v2 controller GUID
Summary: [Patch] Alternative DualShock 4 v2 controller GUID
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 2.1
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-21 22:56 UTC by ayer.3d
Modified: 2018-02-07 22:07 UTC (History)
0 users

See Also:


Attachments
Patch to add an alternative DS4 v2 controller GUID (2.10 KB, patch)
2018-01-21 22:56 UTC, ayer.3d
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ayer.3d 2018-01-21 22:56:53 UTC
Created attachment 3150 [details]
Patch to add an alternative DS4 v2 controller GUID

I have a DualShock 4 v2 controller with a GUID that's not in the database. There is an existing GUID that is almost identical, with the only difference that I can tell being the reported version string (mine being 8001, database is 8100).

Existing GUID: 050000004c050000cc09000000810000
     New GUID: 050000004c050000cc09000001800000

When connected via USB, the GUID matches an existing entry: 030000004c050000cc09000011810000

This patch simply adds a duplicate button configuration for the new GUID, as the button mappings are identical.

The only other oddity I've noticed is that the controller is reported as "Wireless Controller" over bluetooth, and "Sony Interactive Entertainment Wireless Controller" on USB. Has nothing to do with SDL, just an observation.
Comment 1 Sam Lantinga 2018-02-07 22:07:47 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/8d97fd557ba1