Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identical joysticks are not handled properly #3686

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 4 comments
Closed

Identical joysticks are not handled properly #3686

SDLBugzilla opened this issue Feb 11, 2021 · 4 comments
Assignees
Labels
abandoned Bug has been abandoned for various reasons

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.13
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2020-05-15 00:25:33 +0000, Jasem Mutlaq wrote:

Created attachment 4340
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.

@sezero sezero added this to the 2.0.16 milestone Mar 25, 2021
@sezero
Copy link
Contributor

sezero commented Mar 25, 2021

If this is still an issue, worth fixing in 2.0.16

@icculus icculus self-assigned this May 10, 2021
@slouken slouken assigned slouken and unassigned icculus Jul 23, 2021
@slouken slouken removed this from the 2.0.16 milestone Jul 24, 2021
@slouken
Copy link
Collaborator

slouken commented Jul 24, 2021

The guid is supposed to be the same for all joysticks of a certain type. If X4 relies on them being different, that's a bug in X4.

@slouken
Copy link
Collaborator

slouken commented Jul 24, 2021

I'd like to find a way to generalize the name de-duplication at a higher level so it works for all drivers.

@slouken slouken removed the bug label May 11, 2022
@slouken slouken added the abandoned Bug has been abandoned for various reasons label Nov 7, 2023
@slouken
Copy link
Collaborator

slouken commented Nov 7, 2023

SDL 2.0 is now in maintenance mode, and all inactive issues are being closed. If this issue is impacting you, please feel free to reopen it with additional information.

@slouken slouken closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abandoned Bug has been abandoned for various reasons
Projects
None yet
Development

No branches or pull requests

4 participants