There's no controller that's supported by both XInput and HIDAPI
authorSam Lantinga <slouken@libsdl.org>
Thu, 09 Aug 2018 16:04:34 -0700
changeset 120965b4b8242d21e
parent 12095 d985a68d32ea
child 12097 f44ed5271f78
There's no controller that's supported by both XInput and HIDAPI
src/joystick/windows/SDL_xinputjoystick.c
     1.1 --- a/src/joystick/windows/SDL_xinputjoystick.c	Thu Aug 09 16:04:30 2018 -0700
     1.2 +++ b/src/joystick/windows/SDL_xinputjoystick.c	Thu Aug 09 16:04:34 2018 -0700
     1.3 @@ -259,6 +259,7 @@
     1.4          return;
     1.5      }
     1.6  
     1.7 +#if 0 /* There's no controller that's supported by both XInput and HIDAPI */
     1.8  #ifdef SDL_JOYSTICK_HIDAPI
     1.9      if (HIDAPI_IsDevicePresent(vendor, product)) {
    1.10          /* The HIDAPI driver is taking care of this device */
    1.11 @@ -266,6 +267,7 @@
    1.12          return;
    1.13      }
    1.14  #endif
    1.15 +#endif
    1.16  
    1.17      WINDOWS_AddJoystickDevice(pNewJoystick);
    1.18  }