Sat, 21 Jan 2017 22:01:17 +0100Haiku: Removed unused variable.
Philipp Wiesemann [Sat, 21 Jan 2017 22:01:17 +0100] rev 10827
Haiku: Removed unused variable.

Found by Cppcheck.

Sat, 21 Jan 2017 22:00:56 +0100Fixed compiler warning about returning a value in a void function.
Philipp Wiesemann [Sat, 21 Jan 2017 22:00:56 +0100] rev 10826
Fixed compiler warning about returning a value in a void function.

Sat, 21 Jan 2017 22:00:40 +0100Fixed copyright symbol in testgles2 program.
Philipp Wiesemann [Sat, 21 Jan 2017 22:00:40 +0100] rev 10825
Fixed copyright symbol in testgles2 program.

Fri, 20 Jan 2017 16:40:11 -0800Fixed mapping the PG-9021 which, on Linux, emits a button partway through the trigger press along with axis motion all along the pull
Sam Lantinga [Fri, 20 Jan 2017 16:40:11 -0800] rev 10824
Fixed mapping the PG-9021 which, on Linux, emits a button partway through the trigger press along with axis motion all along the pull

Fri, 20 Jan 2017 08:13:23 -0800Added support for the 8Bitdo Zero GamePad
Sam Lantinga [Fri, 20 Jan 2017 08:13:23 -0800] rev 10823
Added support for the 8Bitdo Zero GamePad

Thu, 19 Jan 2017 20:19:37 -0800Fixed mingw64 32-bit build, which does have the correct structure definitions
Sam Lantinga [Thu, 19 Jan 2017 20:19:37 -0800] rev 10822
Fixed mingw64 32-bit build, which does have the correct structure definitions

Wed, 18 Jan 2017 12:19:57 -0800Removed unused variable
Sam Lantinga [Wed, 18 Jan 2017 12:19:57 -0800] rev 10821
Removed unused variable

Wed, 18 Jan 2017 12:18:50 -0800Fixed bug 3533 - Enumeration joystick devices omitted during directinput enumeration
Sam Lantinga [Wed, 18 Jan 2017 12:18:50 -0800] rev 10820
Fixed bug 3533 - Enumeration joystick devices omitted during directinput enumeration

white.magic

The logic which decides if a device enumerated via the direct input system in the function EnumJoysticksCallback in SDL_dinputjoystick.c is processed is discarding valid joystick devices due to the assumption that devices of the type DI8DEVTYPE_SUPPLEMENTAL are not valid devices.

This change was added with 2.0.4 with this commit http://hg.libsdl.org/SDL/rev/d5adc0c06a03 that is linked to this bug report https://bugzilla.libsdl.org/show_bug.cgi?id=2460 which indicates that in that case devices of the type DI8DEVTYPE_SUPPLEMENTAL were not desirable as they caused a singular device to emit multiple "device added" events.

Since then there appear to have been a few fixes to handle devices that fall into various other classes in the following two commits:
http://hg.libsdl.org/SDL/rev/b9488c689ce3 and http://hg.libsdl.org/SDL/rev/161fee58e36f

Two devices I have reports of failing to be listed when the DI8DEVTYPE_SUPPLEMENTAL type is excluded are ECS Gametric Throttle and Thrustmaster MFD Cougar.

Sam Lantinga

I verified that the OUYA controller shows up as a single device with this change, so I've reverted the change to ignore supplemental devices, leaving framework in place to easily add devices that we want to ignore.

Wed, 18 Jan 2017 11:58:16 -0800Fixed bug 3561 - Re-acquire device before playing effects if needed.
Sam Lantinga [Wed, 18 Jan 2017 11:58:16 -0800] rev 10819
Fixed bug 3561 - Re-acquire device before playing effects if needed.

Mathieu Laurendeau

Check the result of IDirectInputEffect_SetParameters and re-acquire the device to solve concurrency issues.

Wed, 18 Jan 2017 11:57:27 -0800Fixed building with mingw32
Sam Lantinga [Wed, 18 Jan 2017 11:57:27 -0800] rev 10818
Fixed building with mingw32