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

Xbox series X controller share button not working #7098

Closed
RT2Code opened this issue Jan 16, 2023 · 1 comment
Closed

Xbox series X controller share button not working #7098

RT2Code opened this issue Jan 16, 2023 · 1 comment

Comments

@RT2Code
Copy link
Contributor

RT2Code commented Jan 16, 2023

I own a Xbox series X controller and when I press the share button, I get no SDL_CONTROLLERBUTTON events. I get the SDL_JOYBUTTON events though, so I added an entry to the gamecontrollerdb.txt with my controller GUID and the share button mapped to misc1, and it fixed the problem.

I made a PR to submit this change to the game controller database repository, but it was closed because my controller is an XInput device, and apparently it should be handled by the SDL's driver directly and should require no manual mapping : mdqinc/SDL_GameControllerDB#655

My controller is standard Xbox series X controller, its GUID is 0300509d5e040000120b000000007200, and when I press the share button the code I get from the SDL_JOYBUTTON event is 11.

@slouken
Copy link
Collaborator

slouken commented Nov 8, 2023

Duplicate of #4222

@slouken slouken marked this as a duplicate of #4222 Nov 8, 2023
@slouken slouken closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants