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

Game can become unplayable if joystick fails or is unplugged. #390

Open
daniel-santos opened this issue Oct 1, 2021 · 1 comment
Open

Comments

@daniel-santos
Copy link

daniel-santos commented Oct 1, 2021

Hello!

I have a PS3 controller that's on the fritz -- it works great most of the time, but sometimes it just fails, usually when I'm pressing a button. When this happens I can unplug it and plug it back in a few seconds later and it will behave again, but whatever state the controller was in when it failed becomes permanent until I exit the program.

If I was pressing EMC, then I EMC until I'm out of power. If I was firing, then stays on, etc. I took a quick peek at the code and while I don't know objective c, it looks like the joystick is initialized when the game starts and that's it -- so that might be hard to change. If I start the game while the controller is not plugged in, then I cannot use the controller until I restart the program. Of course, in an ideal world, we could detect when these things come and go. and adapt to it.

@HiranChaudhuri
Copy link
Contributor

Joystick behaviour has been worked on in #403.
Would you like to test again and let us know if the problem is resolved?

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