Thu, 05 Mar 2020 08:43:16 -0800Fixed java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.WindowManager android.app.Activity.getWindowManager()' on a null object reference
Sam Lantinga [Thu, 05 Mar 2020 08:43:16 -0800] rev 13591
Fixed java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.WindowManager android.app.Activity.getWindowManager()' on a null object reference

Tue, 03 Mar 2020 12:31:41 -0500winrt: Wait for EnumerationCompleted before leaving WASAPI_EnumerateEndpoints
Ethan Lee [Tue, 03 Mar 2020 12:31:41 -0500] rev 13590
winrt: Wait for EnumerationCompleted before leaving WASAPI_EnumerateEndpoints

Wed, 04 Mar 2020 17:10:37 -0800Fixed rumble for third-party Nintento Switch Pro controllers
Sam Lantinga [Wed, 04 Mar 2020 17:10:37 -0800] rev 13589
Fixed rumble for third-party Nintento Switch Pro controllers

The 8BitDo SF30 Pro Gamepad will generate a single motor pulse for each rumble message, so we need to do this frequently to have continous rumble on this device.

Wed, 04 Mar 2020 14:59:44 -0800Fixed crash when a controller is disconnected while rumble is pending
Sam Lantinga [Wed, 04 Mar 2020 14:59:44 -0800] rev 13588
Fixed crash when a controller is disconnected while rumble is pending

Wed, 04 Mar 2020 09:42:10 -0800Fixed handling the guide button with both V1 and V2 of the Xbox One Bluetooth wireless protocols
Sam Lantinga [Wed, 04 Mar 2020 09:42:10 -0800] rev 13587
Fixed handling the guide button with both V1 and V2 of the Xbox One Bluetooth wireless protocols

Wed, 04 Mar 2020 09:42:08 -0800Fixed using more than one Xbox Bluetooth controller
Sam Lantinga [Wed, 04 Mar 2020 09:42:08 -0800] rev 13586
Fixed using more than one Xbox Bluetooth controller
Don't prevent duplicate devices using hidraw, instead libusb takes precedence and all hidraw devices that aren't handled by libusb are available

Tue, 03 Mar 2020 17:56:33 -0800Fixed bug 5012 - KaiOS keycodes support
Sam Lantinga [Tue, 03 Mar 2020 17:56:33 -0800] rev 13585
Fixed bug 5012 - KaiOS keycodes support

pelya

KaiOS is an OS for feature phones, with numeric keypad and non-touch screen, and typically 512 Mb RAM and 4 Gb flash.
It is based on Firefox OS, all apps are made with HTML5 and Javascript. SDL can be cross-compiled using emscripten and packaged as native app.
This patch adds support for star '*' and pound '#' keys on such phones to generate SDL events.

Tue, 03 Mar 2020 09:22:43 -0800Add 500ms max wait time for hid_write to complete on Windows
Sam Lantinga [Tue, 03 Mar 2020 09:22:43 -0800] rev 13584
Add 500ms max wait time for hid_write to complete on Windows
It appears that with some (presumably) flaky drivers or hardware that the WriteFile in hid_write never completes leading to GetOverlappedResult to block forever waiting for it.

Mon, 02 Mar 2020 17:31:58 -0800Fixed bug 5010 - SDL_Init with SDL_INIT_JOYSTICK hangs for 10 seconds when playing audio from another application
Sam Lantinga [Mon, 02 Mar 2020 17:31:58 -0800] rev 13583
Fixed bug 5010 - SDL_Init with SDL_INIT_JOYSTICK hangs for 10 seconds when playing audio from another application

Jake Breen

I have tracked it down to a call on
hid_device_info() -> HidD_GetManufacturerString (Line 499 in src\hidapi\windows\hid.c)

Mon, 02 Mar 2020 15:24:10 -0800Fixed bug 4643 - Append EGL CFLAGS in CheckOpenGLESX11
Sam Lantinga [Mon, 02 Mar 2020 15:24:10 -0800] rev 13582
Fixed bug 4643 - Append EGL CFLAGS in CheckOpenGLESX11

Danilo Spinella

EGL need -DMESA_EGL_NO_X11_HEADERS in systems without X11 installed. Make CMake checks import EGL CFLAGS.

Relevant bug: https://bugzilla.libsdl.org/show_bug.cgi?id=4243