mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-23 21:55:12 +00:00
Prefer HIDAPI on macOS, as that has extended functionality
This commit is contained in:
parent
6a787619e6
commit
c3ca3445bd
|
@ -557,6 +557,7 @@ struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 // Prefer direct HID support as that has extended functionality
|
||||||
#if defined(SDL_JOYSTICK_MFI)
|
#if defined(SDL_JOYSTICK_MFI)
|
||||||
// We want to prefer Game Controller support where available,
|
// We want to prefer Game Controller support where available,
|
||||||
// as Apple will likely be requiring that for supported devices.
|
// as Apple will likely be requiring that for supported devices.
|
||||||
|
@ -564,6 +565,7 @@ struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id,
|
||||||
if (IOS_SupportedHIDDevice(dev)) {
|
if (IOS_SupportedHIDDevice(dev)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
dev_vid = get_vendor_id(dev);
|
dev_vid = get_vendor_id(dev);
|
||||||
|
|
Loading…
Reference in a new issue