mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-22 11:18:14 +00:00
Better fix to make sure we're only returning controllers from the HIDAPI joystick API
This commit is contained in:
@@ -210,7 +210,7 @@ typedef struct {
|
||||
|
||||
|
||||
static SDL_bool
|
||||
HIDAPI_DriverSwitch_IsSupportedDevice(Uint16 vendor_id, Uint16 product_id, Uint16 version, int interface_number, Uint16 usage_page, Uint16 usage)
|
||||
HIDAPI_DriverSwitch_IsSupportedDevice(Uint16 vendor_id, Uint16 product_id, Uint16 version, int interface_number)
|
||||
{
|
||||
return SDL_IsJoystickNintendoSwitchPro(vendor_id, product_id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user