dinput: OS/X joystick add axes.

This commit is contained in:
Aric Stewart 2009-03-10 14:59:28 -05:00 committed by Alexandre Julliard
parent 225a494d66
commit 0e7eba1e3f
1 changed files with 6 additions and 0 deletions

View File

@ -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);
}