commit | fd8e31b7aa5809bad913321ffc420dc853abeb50 | [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 | c948eeb07d4324c61e6f2c8474f3470992bac39c | |
parent | 6b80bece967d58c8948ed05496d2cbed16bb493d [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?