http://bugs.winehq.org/show_bug.cgi?id=18424
--- Comment #66 from Mr Nobody limited_choice@hotmail.com 2011-06-28 20:49:15 CDT --- (In reply to comment #63)
One of the devs of I-war thought dinput was used for joysticks, but he wasn't sure. How would I check if something was dinput vs. winmm?
You just need to snoop (trace) the relevant winedebug channels (dinput, winmm, joystick) and observe the calls being made by the app. You need take a bit of care with winmm, as it's also (primarily?) an API for audio playback, and apps may still use this portion of it but derive the HID input data using dinput instead. My guess is this 'made sense' at the time, because most HIDs were connected via the midi/gameport that was part of older style soundcards. In any event, observing that RB3D was calling winmm:joyGetPosEx is enough of a daft clue =)