SDL/src
Sam Lantinga 49292705a9 Fixed bug 3545 - SDL_EVDEV_do_text_input() may be too eager to find error cases
Rob

I've ran into an issue where I successfully receive SDL_KEY[UP,DOWN] events but not SDL_TEXTINPUT or SDL_TEXTEDITING.  In my case the code in SDL_EVDEV_do_text_input() is returning early (on error) prior to calling SDL_SendKeyboardText().  I'm running on the RaspberryPi 3, without X11.

In SDL_EVDEV_do_text_input() there is a condition to check keysyms with a type value below 0xf0, then subtract 0xf0 from type.  Without understanding the purpose of this code, I disabled it, recompiled, and I'm getting correct SDL_TEXTINPUT events.  I'm going to guess that my hack/fix is going to be problematic in some other environment, but after some initial testing it looks like everything is running fine in my setup.
2017-01-08 20:03:18 -08:00
..
atomic Updated copyright for 2017 2017-01-01 18:33:28 -08:00
audio audio: Improvements in channel conversion code. 2017-01-08 16:18:49 -05:00
core Fixed bug 3545 - SDL_EVDEV_do_text_input() may be too eager to find error cases 2017-01-08 20:03:18 -08:00
cpuinfo Updated copyright for 2017 2017-01-01 18:33:28 -08:00
dynapi Added SDL_JoystickGetAxisInitialState() to get a joystick axis' initial value. 2017-01-04 10:28:07 -08:00
events Replaced a few single-line "//" comments. 2017-01-07 17:09:14 -05:00
file Updated copyright for 2017 2017-01-01 18:33:28 -08:00
filesystem Updated copyright for 2017 2017-01-01 18:33:28 -08:00
haptic Updated copyright for 2017 2017-01-01 18:33:28 -08:00
joystick Replaced a few single-line "//" comments. 2017-01-07 17:09:14 -05:00
libm Updated copyright for 2017 2017-01-01 18:33:28 -08:00
loadso Updated copyright for 2017 2017-01-01 18:33:28 -08:00
main Updated copyright for 2017 2017-01-01 18:33:28 -08:00
power Updated copyright for 2017 2017-01-01 18:33:28 -08:00
render Fixed bug 3304 - Android black screen on resume 2017-01-08 10:41:22 -08:00
stdlib Updated copyright for 2017 2017-01-01 18:33:28 -08:00
test Updated copyright for 2017 2017-01-01 18:33:28 -08:00
thread Updated copyright for 2017 2017-01-01 18:33:28 -08:00
timer Updated copyright for 2017 2017-01-01 18:33:28 -08:00
video Check the return value of SDL_EVDEV_Init() 2017-01-08 18:32:20 -08:00
SDL.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_assert.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_assert_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_dataqueue.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_dataqueue.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_error.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_error_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_hints.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_internal.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_log.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00