kIOHIDElementTypeInput_NULL is apparently not available on previous OSX SDK versions

This commit is contained in:
twinaphex 2021-02-09 16:14:20 +01:00
parent 2763f65ab7
commit bf806f09ac

View File

@ -731,7 +731,7 @@ static void iohidmanager_hid_device_add_device(
case kIOHIDElementTypeInput_Button:
case kIOHIDElementTypeOutput:
case kIOHIDElementTypeInput_Axis:
case kIOHIDElementTypeInput_NULL:
case 5: /* kIOHIDElementTypeInput_NULL */
/* TODO/FIXME */
break;
case kIOHIDElementTypeInput_Misc:
@ -796,7 +796,7 @@ static void iohidmanager_hid_device_add_device(
case kIOHIDElementTypeInput_ScanCodes:
case kIOHIDElementTypeInput_Axis:
case kIOHIDElementTypeOutput:
case kIOHIDElementTypeInput_NULL:
case 5: /* kIOHIDElementTypeInput_NULL */
/* TODO/FIXME */
break;
case kIOHIDElementTypeInput_Misc: