commit | 00bc3c63cf9b03e767aa4e30801b1d59fd7bc001 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Sat Oct 01 13:02:20 2016 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Sat Oct 01 13:02:20 2016 -0700 |
tree | ff9510765717633857b24aa6b1345a09b7bbf2e4 | |
parent | ecde89081e44d481915e035de2ff4a9a14c5bf5f [diff] |
Fixed bug 3424 - SDL_GameController: Increase k_nMaxReverseEntries ny00 On Android, the keycodes KEYCODE_BUTTON_1..16 (actual values 188-203) are translated to SDL_Joystick buttons no. 20-35. These are currently ignored in SDL_gamecontroller.c. The attached patch fixes this, by increasing k_nMaxReverseEntries from 20 to another arbitrary bound of 48. Side-note: Maybe some log should be emitted in case of going over any such bound?