SDL: Prefer HIDAPI on macOS, as that has extended functionality

From c3ca3445bd43292f5f35058d86a64782ad03a286 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 8 Mar 2022 18:56:49 -0800
Subject: [PATCH] Prefer HIDAPI on macOS, as that has extended functionality

---
 src/hidapi/mac/hid.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/hidapi/mac/hid.c b/src/hidapi/mac/hid.c
index 19314a6e07d..6e7028501a9 100644
--- a/src/hidapi/mac/hid.c
+++ b/src/hidapi/mac/hid.c
@@ -557,6 +557,7 @@ struct hid_device_info  HID_API_EXPORT *hid_enumerate(unsigned short vendor_id,
 			continue;
 		}
 
+#if 0 // Prefer direct HID support as that has extended functionality
 #if defined(SDL_JOYSTICK_MFI)
 		// We want to prefer Game Controller support where available,
 		// 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)) {
 			continue;
 		}
+#endif
 #endif
 
 		dev_vid = get_vendor_id(dev);