http://bugs.winehq.org/show_bug.cgi?id=18424
--- Comment #45 from Mr Nobody limited_choice@hotmail.com 2011-06-17 07:11:12 CDT --- (In reply to comment #44)
(In reply to comment #43)
(In reply to comment #38)
Created an attachment (id=35160)
--> (http://bugs.winehq.org/attachment.cgi?id=35160) [details] [details] [details]
Hook up Mac OS X joysticks to DirectInput event queue
Here's the aforementioned patch.
Applied the above patch to a pristine wine-1.3.22
For completeness sake: I only tested with 1.3.17. I'm not updating because of bug 27156
The Mac OS X joystick code has not changed between 1.3.17 and git head though.
GOG release of RedBaron / RedBaron 3D (wherein the former title is hoisted on DosBox and the latter is a standalone app) ; no improvement in either, joystick events still not being recognized... (in the dosbox case with the -startmapper cli switch, it's apparent no joystick events are being seen by dosbox still)
Steam release of IL-2: Sturmovik 1946 -- this app now *does* see the joystick, but it had little idea what to do with the digital throttle.
It's strange that previously it didn't see the joystick and now it does. I did not change anything whatsoever to the joystick detection code (and as mentioned in my original message, in my case the gamepad was already seen before I applied my patch).
<snip>
..apologies, I wasn't precisely clear about this -- IL-2 doesn't declare whether a HID is available or not - what I should've said was that previously (without the patch) IL-2 wasn't seeing any HID *data* ; with the patch, it does....