sdl2_frt/src
Sam Lantinga c2e2565144 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?
2016-10-01 13:02:20 -07:00
..
atomic Updated copyright to 2016 2016-01-02 10:10:34 -08:00
audio Mac: Fixed whitespace around function return type. 2016-09-21 23:06:49 +02:00
core Android: Fixed two warnings about unused variables. 2016-09-21 23:06:26 +02:00
cpuinfo Updated copyright to 2016 2016-01-02 10:10:34 -08:00
dynapi Added SDL_SetWindowResizable(). (thanks, Ethan!) 2016-09-29 22:52:41 -04:00
events Fixed crash if allocating memory for mouse clicks failed. 2016-09-30 23:30:54 +02:00
file Updated copyright to 2016 2016-01-02 10:10:34 -08:00
filesystem Fixed compiling if filesystem is disabled (thanks, Elias!). 2016-08-30 21:14:13 +02:00
haptic Linux: Fixed memory leak in haptic implementation (thanks, Martin!). 2016-07-20 21:01:14 +02:00
joystick Fixed bug 3424 - SDL_GameController: Increase k_nMaxReverseEntries 2016-10-01 13:02:20 -07:00
libm Updated copyright to 2016 2016-01-02 10:10:34 -08:00
loadso Enable SDL_LoadObject on iOS 8+ and tvOS. 2016-09-25 15:02:06 -03:00
main Fixed bug 3320 - SDL_windows_main.c defines both console application entry points 2016-10-01 12:31:31 -07:00
power Initial Apple TV / tvOS support. 2016-09-13 22:18:06 -03:00
render Fixed bug 3345 - SDL_RenderClear inconsistency with ClipRect 2016-10-01 11:46:32 -07:00
stdlib Quick fix for qsort off-by-one error. 2016-03-11 08:30:18 -08:00
test We should be using a string constant for the strftime format string 2016-10-01 10:38:15 -07:00
thread Fixed bug 3388 - Fail to build src/thread/windows/SDL_systhread.c on MinGW 4.9.3 2016-10-01 10:08:34 -07:00
timer threads: Move SDL's own thread creation to a new internal API. 2016-04-12 16:45:10 -04:00
video Fixed bug 3305 - Fixed TextInput status when the keyboard was dismissed with the dismiss key on the iPad 2016-10-01 12:46:36 -07:00
SDL_assert_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_assert.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_error_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_error.c Only use GCC pragmas when we're building with GCC 2016-10-01 11:22:39 -07:00
SDL_hints.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_internal.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_log.c Fixed bug 3323 - SDL_LogOutput prints message twice on Windows when linked with libc 2016-10-01 12:28:05 -07:00
SDL.c Initial Apple TV / tvOS support. 2016-09-13 22:18:06 -03:00