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

Controller (Dis)Connect Events are not Being Called #17

Open
rolandoislas opened this issue Jun 10, 2017 · 2 comments
Open

Controller (Dis)Connect Events are not Being Called #17

rolandoislas opened this issue Jun 10, 2017 · 2 comments
Labels

Comments

@rolandoislas
Copy link
Owner

The libGDX controller manager does not detect a disconnect. The controller instance is still returned by Controllers.getControllers() with whatever state it had last.

Steps to reproduce:

  • Start DRC Sim with a controller plugged into the device.
  • Disconnect and reconnect the controller. (Optional press a button or move a joystick while disconnecting.)
  • The controller state will no longer be updated.

TODO: Investigate and report to libGDX if necessary.

@rolandoislas
Copy link
Owner Author

I have uploaded a small application that prints output from the controllers. Unfortunately, I do not have an Android compatible controller. @Grntrenchman, if you would not mind, please test to see if this bug is reproducible on Android.

Controller test: apk - jar - src

@Grntrenchman
Copy link

No such bug here. I will try a few more times and edit if I get a different result. I used the apk.

screenshot_2017-06-12-02-00-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants