Better fix to make sure we're only returning controllers from the HIDAPI joystick API
This commit is contained in:
parent
4ffcd88ca2
commit
34237b80f4
7 changed files with 19 additions and 16 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue