[Bug 7303] New: Joystick axis misbehaviour makes GTA:San Andreas unplayable

Wine Bugs wine-bugs at winehq.org
Thu Feb 1 05:28:51 CST 2007


           Summary: Joystick axis misbehaviour makes GTA:San Andreas
           Product: Wine
           Version: 0.9.30.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: wine-directx-dinput
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: shacklein at gmail.com

After upgrading from 0.9.29 to 0.9.30, I found that the Rz axis on my joystick,
as defined in HKCU/Software/Wine/DirectInput, misbehaves in that when centred,
Wine seems to think that it is in fact halfway between centre and top.

With the aid of some diagnostic lines, I traced this problem. I found that some
lMin/lMax properties were being set to -2000 and 2000 respectively, but the
properties for the Rz axis (which seems to be index 5), do not get set
accordingly, and are set to what appears to be a fallback setting of 0 and
0xffff respectively.

The patch I will provide is probably not the best solution, and probably breaks
a lot of things, but it does fix the problem I was having.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list