mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Get rid of warning on older OSX SDK versions
This commit is contained in:
parent
bf806f09ac
commit
3607d03ff8
@ -725,15 +725,6 @@ static void iohidmanager_hid_device_add_device(
|
||||
case kHIDPage_GenericDesktop:
|
||||
switch (type)
|
||||
{
|
||||
case kIOHIDElementTypeCollection:
|
||||
case kIOHIDElementTypeInput_ScanCodes:
|
||||
case kIOHIDElementTypeFeature:
|
||||
case kIOHIDElementTypeInput_Button:
|
||||
case kIOHIDElementTypeOutput:
|
||||
case kIOHIDElementTypeInput_Axis:
|
||||
case 5: /* kIOHIDElementTypeInput_NULL */
|
||||
/* TODO/FIXME */
|
||||
break;
|
||||
case kIOHIDElementTypeInput_Misc:
|
||||
switch (use)
|
||||
{
|
||||
@ -785,24 +776,22 @@ static void iohidmanager_hid_device_add_device(
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
/* TODO/FIXME */
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case kHIDPage_Consumer:
|
||||
case kHIDPage_Button:
|
||||
switch (type)
|
||||
{
|
||||
case kIOHIDElementTypeCollection:
|
||||
case kIOHIDElementTypeFeature:
|
||||
case kIOHIDElementTypeInput_ScanCodes:
|
||||
case kIOHIDElementTypeInput_Axis:
|
||||
case kIOHIDElementTypeOutput:
|
||||
case 5: /* kIOHIDElementTypeInput_NULL */
|
||||
/* TODO/FIXME */
|
||||
break;
|
||||
case kIOHIDElementTypeInput_Misc:
|
||||
case kIOHIDElementTypeInput_Button:
|
||||
detected_button = 1;
|
||||
break;
|
||||
default:
|
||||
/* TODO/FIXME */
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user