Hi all,
I was happy to see that you recently added support for joysticks in OS X. (As you may or may not recall, I started to work on that problem a while back but never found time to finish it.) In any case, I was disappointed to find that my MS Sidewinder Precision Pro (USB) still doesn't work in the two games I tried -- The IL-2 Sturmovik demo and the Descent Freespace demo. The joystick seems not to be detected at all, from what I can tell. I filed a bug a while back in bugzilla[1] but it doesn't seem to have gotten any attention. Does the joystick code work for other people? Does it require any special configuration? I'm using Mike Kronenberg's 1.1.20 build.
Thanks, -n8
Well the Mac OS X Joystick code will only work on Leopard. So you will have to build and run it on Leopard box using xcode3.
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)
If that is working then it may be how the games interact with dinput so it become not a mac specific issue.
-aric
Nathan Gray wrote:
Hi all,
I was happy to see that you recently added support for joysticks in OS X. (As you may or may not recall, I started to work on that problem a while back but never found time to finish it.) In any case, I was disappointed to find that my MS Sidewinder Precision Pro (USB) still doesn't work in the two games I tried -- The IL-2 Sturmovik demo and the Descent Freespace demo. The joystick seems not to be detected at all, from what I can tell. I filed a bug a while back in bugzilla[1] but it doesn't seem to have gotten any attention. Does the joystick code work for other people? Does it require any special configuration? I'm using Mike Kronenberg's 1.1.20 build.
Thanks, -n8
On Thu, May 21, 2009 at 10:45 AM, Aric Stewart aric@codeweavers.com wrote:
Well the Mac OS X Joystick code will only work on Leopard. So you will have to build and run it on Leopard box using xcode3.
I'm certainly running on Leopard, but I can't say how Mike built it.
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)
I guess I'll see if I can find time to set up a build environment. The last time I tried I could never build a fully-functional wine despite hours of effort.
Thanks, -n8
On 22.05.2009, at 05:05, Nathan Gray wrote:
On Thu, May 21, 2009 at 10:45 AM, Aric Stewart aric@codeweavers.com wrote:
Well the Mac OS X Joystick code will only work on Leopard. So you will have to build and run it on Leopard box using xcode3.
I'm certainly running on Leopard, but I can't say how Mike built it.
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)
I guess I'll see if I can find time to set up a build environment. The last time I tried I could never build a fully-functional wine despite hours of effort.
Thanks, -n8
Hi Natahn,
I have a focus on simple enduser products :) Thats why my downloadable builds are all made on Tiger (XCode 2.x) to have a single app running on both systems. But the script from my building environment is made to build on Leopard (XCode 3.x) , too.
Mike
On Fri, May 22, 2009 at 4:54 AM, Mike Kronenberg mike.kronenberg@kronenberg.org wrote:
On 22.05.2009, at 05:05, Nathan Gray wrote:
On Thu, May 21, 2009 at 10:45 AM, Aric Stewart aric@codeweavers.com wrote:
Well the Mac OS X Joystick code will only work on Leopard. So you will have to build and run it on Leopard box using xcode3.
I'm certainly running on Leopard, but I can't say how Mike built it.
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)
I guess I'll see if I can find time to set up a build environment. The last time I tried I could never build a fully-functional wine despite hours of effort.
Thanks, -n8
Hi Natahn,
I have a focus on simple enduser products :) Thats why my downloadable builds are all made on Tiger (XCode 2.x) to have a single app running on both systems. But the script from my building environment is made to build on Leopard (XCode 3.x) , too.
I guess that explains it -- thanks for clarifying. You may want to add a note somewhere that joysticks won't work with your builds to save some frustration.
Thanks, -n8
On Thu, May 21, 2009 at 10:45 AM, Aric Stewart aric@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@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
Hum, Strange.
Those wine tests look just fine. They seem to be implying that it is finding your joystick and able to read its buttons and such. That would lead me to believe that the games would also be able to find it.
Could you maybe provide me a +dinput log of you starting up one of these games so I can take a look?
-aric
Nathan Gray wrote:
On Thu, May 21, 2009 at 10:45 AM, Aric Stewart aric@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@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