From 0e7eba1e3fd5aa37ecf74d601bbb968a5cea6028 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Tue, 10 Mar 2009 14:59:28 -0500 Subject: [PATCH] dinput: OS/X joystick add axes. --- dlls/dinput/joystick_osx.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/dinput/joystick_osx.c b/dlls/dinput/joystick_osx.c index 04af1e55042..9dafcb506fc 100644 --- a/dlls/dinput/joystick_osx.c +++ b/dlls/dinput/joystick_osx.c @@ -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); }