From 99759bac82872c02d5c964ae0e68bea068ccacde Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 9 Aug 2018 16:04:34 -0700 Subject: [PATCH] There's no controller that's supported by both XInput and HIDAPI --- src/joystick/windows/SDL_xinputjoystick.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/joystick/windows/SDL_xinputjoystick.c b/src/joystick/windows/SDL_xinputjoystick.c index 6ca369b1a43b5..623a75645e726 100644 --- a/src/joystick/windows/SDL_xinputjoystick.c +++ b/src/joystick/windows/SDL_xinputjoystick.c @@ -259,12 +259,14 @@ AddXInputDevice(Uint8 userid, BYTE SubType, JoyStick_DeviceData **pContext) return; } +#if 0 /* There's no controller that's supported by both XInput and HIDAPI */ #ifdef SDL_JOYSTICK_HIDAPI if (HIDAPI_IsDevicePresent(vendor, product)) { /* The HIDAPI driver is taking care of this device */ SDL_free(pNewJoystick); return; } +#endif #endif WINDOWS_AddJoystickDevice(pNewJoystick);