dinput: OS/X joystick add axes.
This commit is contained in:
parent
225a494d66
commit
0e7eba1e3f
|
@ -326,6 +326,12 @@ static void get_osx_device_elements(JoystickImpl *device)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kIOHIDElementTypeInput_Axis:
|
||||||
|
{
|
||||||
|
CFArrayInsertValueAtIndex(device->elementCFArrayRef, axes, tIOHIDElementRef);
|
||||||
|
axes++;
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
FIXME("Unhandled type %i\n",eleType);
|
FIXME("Unhandled type %i\n",eleType);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue