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 3504 - Multiple Joysticks Change order every time application (or the joystick subsystem) starts.
Summary: Multiple Joysticks Change order every time application (or the joystick subsy...
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.5
Hardware: x86 Mac OS X 10.11
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-01 20:48 UTC by Rodrigo Cardoso
Modified: 2017-08-11 20:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Cardoso 2016-12-01 20:48:15 UTC
The Problem:
- Connect 2 or more gamepads/joysticks;
- In a SDL app, open all joysticks;
- without connecting or disconnecting anything, restart the app;
- most of the time the order of the devices changed.

Why this happens?
Is that a by-product of the way the backend works?
Is it possible to make sure the order is always the same? (assuming you didnt touch any device, or change ports)
Comment 1 Rodrigo Cardoso 2016-12-01 20:57:30 UTC
Forgot to mention that, this reordering is very bad because games with custom mappings will switch controllers and make the mappings useless in most cases.