There's no controller that's supported by both XInput and HIDAPI
This commit is contained in:
parent
1e8a089ec1
commit
fa59af0af0
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue