This commit is contained in:
Twinaphex 2018-05-03 20:39:03 +02:00
parent 3796e52018
commit de1bf58997

View File

@ -860,10 +860,10 @@ static int iohidmanager_hid_manager_set_device_matching(
iohidmanager_hid_append_matching_dictionary(matcher,
kHIDPage_GenericDesktop,
kHIDUSage_GD_Joystick);
kHIDUsage_GD_Joystick);
iohidmanager_hid_append_matching_dictionary(matcher,
kHIDPage_GenericDesktop,
kHIDUSage_GD_Gamepad);
kHIDUsage_GD_GamePad);
IOHIDManagerSetDeviceMatchingMultiple(hid->ptr, matcher);
IOHIDManagerRegisterDeviceMatchingCallback(hid->ptr,