You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However this only gives a GUID that is unique for the type of controller, not for the controller itself. Two controllers of the same type will generate the same GUID and cause issues with games that rely on the GUID being unique. See for example:
That is correct, the GUID is used to identify the type of controller (and what game controller mapping should be used)
As far as I know there is no way to uniquely identify a specific device.
On 2016-07-22 14:07:37 +0000, Brad Hughes wrote:
(In reply to Sam Lantinga from comment # 1)
That is correct, the GUID is used to identify the type of controller (and
what game controller mapping should be used)
As far as I know there is no way to uniquely identify a specific device.
So the GUID values provided by SDL for joysticks are not intended to be unique per-device? There is no way at all to get unique ID's per device? There is unique information provided by most USB devices that could be obtained. For instance, most devices expose a SerialNumber as well as LocationID which further identify devices.
MAME needs a way to uniquely identify two devices of the same type to support multiple controllers of the same type.
On 2016-07-26 08:46:20 +0000, wrote:
One way to fix this issue would be to add an id into the GUID. So the first controller of a given type gets the regular GUID, if a second controller of the same type is discovered it gets GUID+1, third one gets GUID+2, etc.
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.1
Reported for operating system, platform: Linux, x86
Comments on the original bug report:
On 2013-12-24 16:19:29 +0000, wrote:
On 2013-12-24 20:25:01 +0000, Sam Lantinga wrote:
On 2016-07-22 14:07:37 +0000, Brad Hughes wrote:
On 2016-07-26 08:46:20 +0000, wrote:
The text was updated successfully, but these errors were encountered: