mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-09-23 23:48:37 +02:00
a21e6af514
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. |
||
---|---|---|
.. | ||
SDL_dinputjoystick_c.h | ||
SDL_dinputjoystick.c | ||
SDL_mmjoystick.c | ||
SDL_windowsjoystick_c.h | ||
SDL_windowsjoystick.c | ||
SDL_xinputjoystick_c.h | ||
SDL_xinputjoystick.c |