Tue, 24 Nov 2020 14:10:30 +0300configure.ac: check GameController framework support when targeting Darwin
Ozkan Sezer [Tue, 24 Nov 2020 14:10:30 +0300] rev 14370
configure.ac: check GameController framework support when targeting Darwin

disables SDL_JOYSTICK_MFI for i386 or if MAC_OS_X_VERSION_MIN_REQUIRED < 1090
--disable-joystick-mfi disables it unconditionally.

Tue, 24 Nov 2020 14:10:30 +0300CMakeLists.txt: add src/joystick/iphoneos/*.m to Darwin joystick sources
Ozkan Sezer [Tue, 24 Nov 2020 14:10:30 +0300] rev 14369
CMakeLists.txt: add src/joystick/iphoneos/*.m to Darwin joystick sources

.. so that there won't be missing symbols.
TODO: add checks for SDL_JOYSTICK_MFI ???

Tue, 24 Nov 2020 06:42:53 -0800Fixed building on FreeBSD
Sam Lantinga [Tue, 24 Nov 2020 06:42:53 -0800] rev 14368
Fixed building on FreeBSD

Alex S

Looks like we have a collision with https://hg.libsdl.org/SDL/rev/2e58bfc28b4e. (Again, the headers in the base system are intended for drivers and should not be used for compiling non-base applications. At least that's the policy for now: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240964#c19.)

Tue, 24 Nov 2020 06:40:13 -08005363 - Memory leak of joystick->sensors in SDL_JoystickClose
Sam Lantinga [Tue, 24 Nov 2020 06:40:13 -0800] rev 14367
5363 - Memory leak of joystick->sensors in SDL_JoystickClose

Mathieu Eyraud

Joystick->sensors is never freed.

Mon, 23 Nov 2020 23:03:55 -0800Fixed bug 5335 - Patch: enable joystick/haptic/evdev support by default on FreeBSD
Sam Lantinga [Mon, 23 Nov 2020 23:03:55 -0800] rev 14366
Fixed bug 5335 - Patch: enable joystick/haptic/evdev support by default on FreeBSD

Alex S

Ah, that's not quite enough. You need to:
1. rename src/joystick/bsd/SDL_sysjoystick.c to something;
2. regenerate configure.

Mon, 23 Nov 2020 22:59:22 -0800Fixed building with an older SDK and macOS target
Sam Lantinga [Mon, 23 Nov 2020 22:59:22 -0800] rev 14365
Fixed building with an older SDK and macOS target

Mon, 23 Nov 2020 22:24:54 -0800Fixed building with an older SDK and macOS target
Sam Lantinga [Mon, 23 Nov 2020 22:24:54 -0800] rev 14364
Fixed building with an older SDK and macOS target

Mon, 23 Nov 2020 21:25:07 -0800Fixed bug 5354 - DirectFB: Add Vulkan support
Sam Lantinga [Mon, 23 Nov 2020 21:25:07 -0800] rev 14363
Fixed bug 5354 - DirectFB: Add Vulkan support

Nicolas Caramelli

This patch adds Vulkan support for the DirectFB video driver.
A screenshot with SDL tests running on DirectFB is available on the HiGFXback project:

https://github.com/caramelli/higfxback/wiki/DirectFB#sdl

Mon, 23 Nov 2020 21:18:37 -0800Fixed bug 5359 - Incorrect sensor data from DualShock4
Sam Lantinga [Mon, 23 Nov 2020 21:18:37 -0800] rev 14362
Fixed bug 5359 - Incorrect sensor data from DualShock4

multiply gyro values by sensitivity

When the hardware calibration fails, values read from sensors need to be multiplied by default sensitivity (16 for gyro, 1 for accelerometer).

Mon, 23 Nov 2020 21:14:37 -0800Fixed bug 5360 - non-libudev joystick detection doesn't see controllers that were already connected
Sam Lantinga [Mon, 23 Nov 2020 21:14:37 -0800] rev 14361
Fixed bug 5360 - non-libudev joystick detection doesn't see controllers that were already connected

Simon McVittie

When watching for hotplug events we can poll the inotify fd, but we
still need to scan /dev/input once per process, otherwise we'll fail
to detect devices that were already connected.