Mac OS X Joystick problem

Nathan Gray n8gray at n8gray.org
Fri May 22 13:34:57 CDT 2009


On Thu, May 21, 2009 at 10:45 AM, Aric Stewart <aric at codeweavers.com> wrote:
>
> If you are good there then try building the winetests for dinput and run
> them with your joystick plugged in. You should get some status traces about
> your joystick (finding the name and status of the various axes and buttons)

Ok, I built everything with Mike's build environment (after a bit of
updating URLs and such).  From within the build directory I can run
dinput_test.exe and I get output like this (moving the stick and
pushing some buttons):

[n8gray at golux]% wine programs/winetest/dinput_test.exe joystick
joystick.c:616: -- Testing Direct Input Version 0x0700 --
fixme:dinput:get_osx_device_elements Unhandled type 513
fixme:dinput:get_osx_device_elements Unhandled type 513
joystick.c:206: ---- Microsoft SideWinder Precision Pro (USB) ----
joystick.c:572:
joystick.c:591: X 1976 Y-1061 Z    0 Rx    0 Ry    0 Rz -323 S0-1056
S1    0 POV0 9000 POV1   -1 POV2   -1 POV3   -1 B 0 0 0 1 1 0 0 1 0 0
0 0

joystick.c:596:
joystick.c:616: -- Testing Direct Input Version 0x0500 --
fixme:dinput:get_osx_device_elements Unhandled type 513
fixme:dinput:get_osx_device_elements Unhandled type 513
joystick.c:206: ---- Microsoft SideWinder Precision Pro (USB) ----
joystick.c:572:
joystick.c:591: X 2000 Y-1101 Z    0 Rx    0 Ry    0 Rz -323 S0-1088
S1    0 POV0 9000 POV1   -1 POV2   -1 POV3   -1 B 0 0 0 1 1 0 0 1 0 0
0 0

joystick.c:596:
joystick.c:616: -- Testing Direct Input Version 0x0300 --
joystick: 251 tests executed (0 marked as todo, 0 failures), 0 skipped.

> If that is working then it may be how the games interact with dinput so it
> become not a mac specific issue.

However, I still don't get any axes detected in the IL2 demo.  During
launch it produces this output:

DirectX Joystick NOT created: DirectX joystick driver: device not attached

(Yes, the joystick is attached when I launch it.)

I also don't get any joysticks listed in the Descent Freespace demo's setup app.

Is there some other demo you can recommend that works for you?

Thanks,
-n8

-- 
http://n8gray.org



More information about the wine-devel mailing list