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

Sort gamepads in array, not by indices #2

Open
likethemammal opened this issue Jul 10, 2015 · 0 comments
Open

Sort gamepads in array, not by indices #2

likethemammal opened this issue Jul 10, 2015 · 0 comments

Comments

@likethemammal
Copy link
Owner

The gamepads are sorted by their indices given by the Gamepad API. This is great and all but it leads to trouble when you try to loop over the gamepads. All the gamepads should be pushed to an array in order and their indices should be track on the gamepad object itself.

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