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

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 25 18:09:21 CDT 2011


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

--- Comment #62 from Mr Nobody <limited_choice at hotmail.com> 2011-06-25 18:09:20 CDT ---
(In reply to comment #57)
> (In reply to comment #54)
> > (In reply to comment #47)
> > > I've also seen that the Linux code allows Windows apps to remap the axes based
> > > on registry keys while the Mac code doesn't. You may want to try to adding a
> > > call to setup_dinput_options() (possibly along with some support code to make
> > > it possible to use the remapping information afterwards) to the Mac OS X code
> > > like in the Linux code at
> > > http://source.winehq.org/source/dlls/dinput/joystick_linuxinput.c#L474
> > 
> > Thanks for the pointer ... I'll find some time this w/e and see if I can get a
> > trace on what's happening in linux wrt the apps that haven't improved here in
> > OSX and see if that functionality is being used.
> 
> That's different. The ones that work on Linux but not at all on Mac OS X
> probably use the aforementioned winmm interface. That one is implemented for
> Linux (in joystick_linux.c), but not for Mac OS X (joystick_osx.c only contains
> the DirectInput implementation).
> 

..indeed, I checked Red Baron 3D and it seems to be using winmm:joyGetPosEx to
obtain the joystick data, so likely it is you've hit the nail on the head
here..
..(but I don't know OSX anywhere near well enough to meld in the needed code)..

...I've also checked a few other (dinput) titles with wine-1.3.23 and whereas
they didn't have joystick input before, now they do .. so that's a good win...

-- 
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