dinput, wheel/joystick and richard burns rally

Vitaliy Margolen wine-devel at kievinfo.com
Mon Jan 8 11:28:22 CST 2007

Christoph Frick wrote:
> On Sun, Jan 07, 2007 at 10:22:34PM +0200, Tuomo Kohvakka wrote:
>> http://appdb.winehq.org/appview.php?iVersionId=5934&iTestingId=6382
>> As shown there, joystick (that ofcourse really means the wheel :)
>> isn't detected by the game with current wine. I decided to take a look
>> at that, figuring that it might be fixable.
> the problem here is somehow deeper within wine. we store a dataformat as
> default with the device, that does not represent the informations sent
> to the app. so when an app want to build its own data-format using the
> infos there.
> so the problem was actually fixed some time ago but the fix got lost
> with a huge clean up session. so there is actually currently work
> undergoing, that fixes the problem (see the mails about RBR before the
> holidays).

That is correct. I already fixed mouse and keyboard the proper way. Now
left to fix joysticks. It seems joysticks are in the worse shape that I
thought. Number of places using wrong object indexes.

>> Now, adding
>> || ((asked_format->rgodf[j].dwType&0xff) == (format->wine_df->rgodf[i]. 
>>   =>dwType&0xff))
Yeah this is wrong. You left only object type and got rid of everything
else, including instance.


More information about the wine-devel mailing list