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

Mon, 02 Mar 2020 15:21:07 -0800Fixed bug 5001 - Feature request: SDL_isupper & SDL_islower
Sam Lantinga [Mon, 02 Mar 2020 15:21:07 -0800] rev 13581
Fixed bug 5001 - Feature request: SDL_isupper & SDL_islower

Mon, 02 Mar 2020 15:14:52 -0800Updated configure with change from last commit
Sam Lantinga [Mon, 02 Mar 2020 15:14:52 -0800] rev 13580
Updated configure with change from last commit

Mon, 02 Mar 2020 15:14:02 -0800Prevent Mesa from including X11 headers if X11 is disabled
Paul Cercueil [Mon, 02 Mar 2020 15:14:02 -0800] rev 13579
Prevent Mesa from including X11 headers if X11 is disabled
This fixes compilation errors that occur when trying to compile SDL2 for
a X11-less target. The errors were due to the fact that Mesa will
include X11 headers unless a couple of macros are defined.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Mon, 02 Mar 2020 15:06:47 -0800Possible fix for bug 5010 - SDL_Init with SDL_INIT_JOYSTICK hangs for 10 seconds when playing audio from another application
Sam Lantinga [Mon, 02 Mar 2020 15:06:47 -0800] rev 13578
Possible fix for bug 5010 - SDL_Init with SDL_INIT_JOYSTICK hangs for 10 seconds when playing audio from another application

Jake Breen

When I run SDL_INIT with SDL_INIT_JOYSTICK it stalls for about 10 seconds (last report was 10,615ms), but only if I'm currently playing audio. (Like in Spotify for example.)

querying something related to device access (last dll loaded)
'BabbysFirst64.exe' (Win32): Loaded 'C:\Windows\SysWOW64\deviceaccess.dll'.

I use a USB DAC because my mobo's audio out is pretty not great. And I've noticed unplugging it seems to solve the issue. I haven't noticed any other issues that are caused by my DAC.

My DAC is the Sound BlasterX G1 https://us.creative.com/p/gaming-headsets/sound-blasterx-g1
Vid = 041E
PID = 3249

My system specs:
- Windows 10 Pro
- Ryzen 2700x
- 16GB Ram
- Nvidia 2070 RTX

Additional USB devices plugged in:
- Valve Index
- Xbox One Elite Controller

Mon, 02 Mar 2020 14:55:40 -0800Fixed bug 5007 - Segfault in KMSDRM_VideoQuit() on Raspberry Pi Zero with no display attached
Sam Lantinga [Mon, 02 Mar 2020 14:55:40 -0800] rev 13577
Fixed bug 5007 - Segfault in KMSDRM_VideoQuit() on Raspberry Pi Zero with no display attached

Charles Huber

This patch fixes the segfault on my Pi, though the valid display index range reported by the CHECK_DISPLAY_INDEX() macro in src/video/SDL_video.c is a little weird:

$ SDL_VIDEO_EGL_DRIVER=libEGL.so SDL_VIDEO_GL_DRIVER=libGLESv2.so ./a.out
SDL_Init(): displayIndex must be in the range 0 - -1