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 controller not recognized on macos #1453

Open
PWhiddy opened this issue Jan 5, 2025 · 1 comment
Open

xbox controller not recognized on macos #1453

PWhiddy opened this issue Jan 5, 2025 · 1 comment

Comments

@PWhiddy
Copy link

PWhiddy commented Jan 5, 2025

It was working fine for me a couple months ago, but now when I run:

cargo run --example game-controller --features bundled static-link

I get:

0 joysticks available
thread 'main' panicked at examples/game-controller.rs:40:10:
Couldn't open any controlle

MacOS 14.2.1

The controller is recognized fine in chrome at https://hardwaretester.com/gamepad

I'm not sure if this could be caused by these rusting bindings or if its more likely an issue with macos or sdl itself. Can close if this doesn't seem likely to be caused by this project.

@PWhiddy
Copy link
Author

PWhiddy commented Jan 6, 2025

for anyone experiencing the issue - restarting macos and the controller, and not opening chrome first made it work again.
but! as soon as I open chrome and use a page with the controller api, sdl will no longer recognize it! same behavior observed when using gilrs!

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

1 participant