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

Windows Xbox One controller events not detected #969

Open
Speshl opened this issue Jul 6, 2023 · 3 comments
Open

Windows Xbox One controller events not detected #969

Speshl opened this issue Jul 6, 2023 · 3 comments

Comments

@Speshl
Copy link

Speshl commented Jul 6, 2023

I am running the scanner.go utility (https://github.com/hybridgroup/gobot/blob/release/platforms/joystick/bin/scanner.go) and I am not able to see button press events from my Xbox one controller.

When I launch the scanner utility with my Xbox controller connected, I see that it shows as a connected controller in the utility but It does not detect button presses. I see the same issue with my Xbox elite controller. It does work however with my Logitech g27 steering wheel, and I am able to see events properly.

Any ideas why only the xbox controller would not work?

@deadprogram
Copy link
Member

@Speshl are you on macOS by any chance? It appears the latest SDL versions mappings are different on macOS.

@Speshl
Copy link
Author

Speshl commented Jul 6, 2023

No I am on Windows 11. Also I don't think its the mappings, because the scanner utility is what you use to view all events to figure out the mapping in the first place. The Logitech G27 has no mappings but still shows its events in the scanner.

Edit Oh do you mean the mappings in SDL and not the button mappings in gobot? That I am not sure, but on Windows 11, maybe they changed it for that to?

@Speshl
Copy link
Author

Speshl commented Jul 7, 2023

Xbox one and Elite controllers are detected but see no events on Windows 11. Tried with bluetooth and wired connections. Works with Logitech G27, Saitek x52, and Thrustmaster stick.

Interestingly I tried another go joystick repo (https://github.com/0xcafed00d/joystick) and I am seeing the same sets of working and non working controllers. So I don't think it is specific to gobot or SDL2.

All controllers working on this test site: https://hardwaretester.com/gamepad

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