| Summary: | Identical joysticks are not handled properly | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Jasem Mutlaq <mutlaqja> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.13 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | Patch | ||
Created attachment 4340 [details] Patch This issue came up as I was trying to play X4 Foundations on Linux. I have Dual ThrustMaster 16000M Joysticks. Only one of them appear in X4 Foundations. This patch renames any subsequent discovered joystick with an index. i.e. If the name is "Joystick", then the second discovered joystick name is "Joystick 2", then "Joystick 3" and so forth. Furthermore, it changes the guid to make them all unique. Both these changes were necessary to make the 2nd joystick appear in X4. They now both operate perfectly within the game.