Module: wine Branch: master Commit: 0e7eba1e3fd5aa37ecf74d601bbb968a5cea6028 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e7eba1e3fd5aa37ecf74d601b...
Author: Aric Stewart aric@codeweavers.com Date: Tue Mar 10 14:59:28 2009 -0500
dinput: OS/X joystick add axes.
---
dlls/dinput/joystick_osx.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/dinput/joystick_osx.c b/dlls/dinput/joystick_osx.c index 04af1e5..9dafcb5 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); }