[Bug 18424] Mac OS X Joystick support doesn't work
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jun 23 23:38:47 CDT 2011
--- Comment #54 from Mr Nobody <limited_choice at hotmail.com> 2011-06-23 23:38:43 CDT ---
(In reply to comment #47)
> (In reply to comment #46)
> > PS, regarding DOSBox: it probably uses SDL for its joystick input, and SDL does
> > not use DirectInput.
> I've just noticed that the development versions of SDL have added DirectInput
> support under Windows. So if you rebuild DOSBox against SDL 1.3, things may
> work better.
...wrt the win32 build of DOSBox, that would be correct ... however as Aric
already indicated to me, there was/is some nastiness involved with getting that
older method to work with the wine OSX dinput stuffs (to the point he didn't
think it wouldn't get done 'any time soon' ;) That said, consideration of the
DOSBox kind of situations (many GOG titles are hoisted/bundled with win32
DOSBox), is possibly a tad moot, because instead of going OS <-> wine <-> win32
emul <-> app, one can do OS <-> OS port of emul <-> app instead, and not use
wine at all. I just checked this using the OSX binaries of DOSBox 0.74, and it
immediately recognized & bound the Saitek ST90 as a 3 axis, 3 button USB Stick
to the appropriate DOS input structures...
I only mention this, here, because I know the GOG Red Baron Pack (and quite a
number of other GOG titles) are run/bundled with the win32 build of DOSBox, and
in such cases, an alternative is to use wine to install the GOG release, and
then move the content 'somewhere else' and replace the win32 DOSBox.exe with
the OS-native DOSBox binary, and run the game using that - it should then work
'as expected' with your USB connected HID(s) ... in the GOG Red Baron Pack, you
should probably run the older DOS game in that pack this way... the newer '3D'
version of Red Baron in the same GOG bundle, is still subject to this bug.
> 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
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. Regardless, getting IL-2 (and
others like it) working is a boon =)
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