Ryujinx-SDL/src/joystick/windows
Mikkel Krautz a21e6af514 Add Xbox One controller GUIDs to the XInput filter in the DirectInput joystick driver.
The Windows 10 Anniversary Update (1607) breaks the method uses that SDL uses to
detect XInput devices. That is, on Windows 10 Anniversary Update, it is no longer
possible to query RAWINPUT for HID devices, and check for "IG_" in the device name.

Presumably, this will be fixed in the future.

This patch works around the issue by adding the Xbox One controller series to the
well-known device list.

This skips the more expensive RAWINPUT check for those devices, and causes them to
be detected as XInput devices once again.
2016-08-06 15:09:20 +02:00
..
SDL_dinputjoystick_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_dinputjoystick.c Add Xbox One controller GUIDs to the XInput filter in the DirectInput joystick driver. 2016-08-06 15:09:20 +02:00
SDL_mmjoystick.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsjoystick_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_windowsjoystick.c Patched to compile on various platforms. 2016-04-12 18:11:36 -04:00
SDL_xinputjoystick_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_xinputjoystick.c Allow using the game controller API with arcade sticks and other XInput devices 2016-02-16 13:47:37 -08:00