Commit 0e7eba1e authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

dinput: OS/X joystick add axes.

parent 225a494d
......@@ -326,6 +326,12 @@ static void get_osx_device_elements(JoystickImpl *device)
}
break;
}
case kIOHIDElementTypeInput_Axis:
{
CFArrayInsertValueAtIndex(device->elementCFArrayRef, axes, tIOHIDElementRef);
axes++;
break;
}
default:
FIXME("Unhandled type %i\n",eleType);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment