[Bug 18424] Mac OS X Joystick support doesn't work

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 25 19:49:30 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=18424

PatrickM <patrick_maloney at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |patrick_maloney at hotmail.com

--- Comment #78 from PatrickM <patrick_maloney at hotmail.com> 2013-08-25 19:49:30 CDT ---
I didn't go through all the comments here, so I apologize if this has been
covered.

I've been playing with joysticks in OSX for about a month.  I originally was
trying to get my Saitek Cyborg pad (2 analog sticks + dpad) to work with
another open source project.

That other project would not see the second joystick.  In short, the solution
was to update libSDL to handle HID Rudder and Throttle types.  Once I added
support to SDL for that, everything worked (those patches are in the SDL
trunk).

My point with that is that there is a decent possibility that some sticks are
not working in Wine on OSX due to this type of thing.

Next, I decided to try Battlefield Vietnam in Wine on OSX.  Runs fantastic,
even at 2560x1440 (edit Video.con to do this).  BUT, my Saitek ST290 flight
stick does not completely work.  The twist rudder and throttle do not work
(these are defined as HID Z and Rz axes, not Rudder/Throttle like on my
gamepad).

If I run 'wine control' and test the ST290, it recognizes all inputs.  However,
when I try to customize controls in BFV, it immediately says 'Joystick 7'
(joystick button 7) when I click on an item to customize.  The thing is, it
only has 6 buttons.  So, I have to conclude, there must an issue with how WINE
is enumerating things in DINPUT to BFV.

Not a DINPUT expert.  I've done a lot of debugging of joystick_osx.c in dinput,
but I can't get past this issue.

Does anyone know of a DInput utility I can use to dump the joystick data on
Wine and also on a real XP box (where this stick works in BFV just fine).  That
might shed some light on the differences.

Regards, Patrick

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list