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

Summary: Multiple Joysticks Change order every time application (or the joystick subsystem) starts.
Product: SDL Reporter: Rodrigo Cardoso <rodrigo.alfenas>
Component: joystickAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.5   
Hardware: x86   
OS: Mac OS X 10.11   

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.