Sun, 08 Jan 2017 20:03:18 -0800Fixed bug 3545 - SDL_EVDEV_do_text_input() may be too eager to find error cases
Sam Lantinga [Sun, 08 Jan 2017 20:03:18 -0800] rev 10796
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.

Sun, 08 Jan 2017 19:04:38 -0800Removed console check, let the kernel decide whether muting is appropriate on this terminal.
Sam Lantinga [Sun, 08 Jan 2017 19:04:38 -0800] rev 10795
Removed console check, let the kernel decide whether muting is appropriate on this terminal.
We don't fail the init if we can't mute the terminal (we might be running from ssh, or on a system without virtual terminals, etc.)

Sun, 08 Jan 2017 18:32:20 -0800Check the return value of SDL_EVDEV_Init()
Sam Lantinga [Sun, 08 Jan 2017 18:32:20 -0800] rev 10794
Check the return value of SDL_EVDEV_Init()

Sun, 08 Jan 2017 16:18:49 -0500audio: Improvements in channel conversion code.
Ryan C. Gordon [Sun, 08 Jan 2017 16:18:49 -0500] rev 10793
audio: Improvements in channel conversion code.

Sun, 08 Jan 2017 14:28:44 -0500audio: Patched to compile with libsamplerate support (again).
Ryan C. Gordon [Sun, 08 Jan 2017 14:28:44 -0500] rev 10792
audio: Patched to compile with libsamplerate support (again).

Sun, 08 Jan 2017 14:23:15 -0500audio: Patched to compile with libsamplerate support.
Ryan C. Gordon [Sun, 08 Jan 2017 14:23:15 -0500] rev 10791
audio: Patched to compile with libsamplerate support.

Sun, 08 Jan 2017 14:18:03 -0500audio: libsamplerate loading now happens once at init time.
Ryan C. Gordon [Sun, 08 Jan 2017 14:18:03 -0500] rev 10790
audio: libsamplerate loading now happens once at init time.

Sun, 08 Jan 2017 14:17:09 -0500Fixed coding style on a function signature.
Ryan C. Gordon [Sun, 08 Jan 2017 14:17:09 -0500] rev 10789
Fixed coding style on a function signature.

Sun, 08 Jan 2017 14:16:19 -0500README-linux: added notes about libsamplerate.
Ryan C. Gordon [Sun, 08 Jan 2017 14:16:19 -0500] rev 10788
README-linux: added notes about libsamplerate.

Sun, 08 Jan 2017 10:52:02 -0800Fixed attempting to dynamically load libsamplerate when shared object loading is disabled.
Sam Lantinga [Sun, 08 Jan 2017 10:52:02 -0800] rev 10787
Fixed attempting to dynamically load libsamplerate when shared object loading is disabled.
Thanks to Ozkan Sezer for pointing this out