liballeg / allegro5

The official Allegro 5 git repository. Pull requests welcome!

Home Page:https://liballeg.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android: missing joystick buttons

alemart opened this issue · comments

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