mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Clarify why we're skipping Game Controller framework supported devices in hid.c
This commit is contained in:
parent
28da6c5ddb
commit
6de33c0945
@ -488,7 +488,9 @@ struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(SDL_JOYSTICK_MFI) && defined(__MACOSX__)
|
#if defined(SDL_JOYSTICK_MFI)
|
||||||
|
// We want to prefer Game Controller support where available,
|
||||||
|
// as Apple will likely be requiring that for supported devices.
|
||||||
extern SDL_bool IOS_SupportedHIDDevice(IOHIDDeviceRef device);
|
extern SDL_bool IOS_SupportedHIDDevice(IOHIDDeviceRef device);
|
||||||
if (IOS_SupportedHIDDevice(dev)) {
|
if (IOS_SupportedHIDDevice(dev)) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user