Hello!
I encountered a problem in my OS X app. I'm using both IOKit HID devices and GameController.framework devices.
Problem is, all GCController devices have HID devices, and I didn't find any way of matching them.
So, here are questions:
1. Is there a way to say "this
IOHIDDeviceRef device is MFi controller which would be handled by GameController.framework"?2. This
GCController and IOHIDDeviceRef object refer to same physical controller and I can ignore/blacklist one of them in my code to avoid duplicationsN.B.
There is
[GCController deviceRef] field. In fact it is IOHIDDeviceRef, so I can get their IOHIDDeviceGetService and then IORegistryEntryGetRegistryEntryID to see if they're same connected device.Problem is -
deviceRef is a private field. I'm not sure if I can use it when submitting app to App Store