[Bug 18838] New: DirectInput axis mapping does not work

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 8 04:10:15 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18838

           Summary: DirectInput axis mapping does not work
           Product: Wine
           Version: 1.1.23
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-dinput
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: simotsa at gmail.com


According to http://wiki.winehq.org/UsefulRegistryKeys, it is possible to map
axis by creating a registry key in HKCU\Software\Wine\DirectInput.

Using the following command,
WINEDEBUG="+dinput" wine program.exe 2>&1 | grep joydev_enum_device

I can obtain the name of my joystick, which is "USB Joystick          USB
Joystick         " in my case.  I wanted to map axis 2 and 3 to axis 0 and 1. 
So I tried adding the following key:

"USB Joystick      USB Joystick    "="rX,rY,X,Y,Rz,Z"

To verify where the mapping worked, I ran the following command:
WINEDEBUG="+dinput" wine program.exe 2>&1 | grep "changing axis"

and it returned:
changing axis 0 => 0
changing axis 1 => 1
changing axis 2 => 2
changing axis 3 => 3
changing axis 4 => 4
changing axis 5 => 5

In the other word, axis mapping does not work.

-- 
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 mailing list