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

Android: missing joystick buttons #1482

Closed
alemart opened this issue Oct 4, 2023 · 0 comments · Fixed by #1483
Closed

Android: missing joystick buttons #1482

alemart opened this issue Oct 4, 2023 · 0 comments · Fixed by #1483

Comments

@alemart
Copy link
Contributor

alemart commented Oct 4, 2023

Currently, the Android version of Allegro detects gamepads as having 11 buttons: A, B, X, Y, L1, R1, DPAD_LEFT, DPAD_RIGHT, DPAD_UP, DPAD_DOWN and MENU. It would be nice if we could use the joystick API to read the state of other buttons such as: SELECT, START, THUMBL, THUMBR, L2, R2, DPAD_CENTER...

https://developer.android.com/develop/ui/views/touch-and-input/game-controllers/controller-input

Related to #1479

alemart added a commit to alemart/allegro5 that referenced this issue Oct 4, 2023
alemart added a commit to alemart/allegro5 that referenced this issue Oct 4, 2023
SiegeLord pushed a commit that referenced this issue Dec 1, 2023
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

Successfully merging a pull request may close this issue.

1 participant