[Bug 40658] New: Joystick POW hat switch rotated for JOYDEVDRIVER=(js) while JOYDEVDRIVER=(event) is Ok

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 19 13:18:43 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40658

            Bug ID: 40658
           Summary: Joystick POW hat switch rotated for JOYDEVDRIVER=(js)
                    while JOYDEVDRIVER=(event) is Ok
           Product: Wine
           Version: 1.9.9
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-dinput
          Assignee: wine-bugs at winehq.org
          Reporter: otty at gmx.net
      Distribution: ---

I have a Saitek AV8R-01 joystick with a POV hat switch.

When using the JOYDEVDRIVER=(event) device (dinput/joystick_linuxinput.c), the
orientation is Ok both in the Wine Control Panel (control.exe) Joystick test
POV area and in the games, i.e when moving the hat switch horizontally to the
right the indicator moves towards the right, when moving the hat switch
vertically up, the indicator moves up.

Hoever the JOYDEVDRIVER=(js) device (dinput/joystick_linux.c) has its
orientation mixed up:

* when moving the hat switch horizontally to the right the indicator moves
down.

* when moving the hat switch vertically up, the indicator moves left.

This happens on wine-1.9.9  on Ubuntu 14.04 (LTS) installed from
http://ppa.launchpad.net/wine/wine-builds/ubuntu trusty main, but is also
present in earlier versions, e.g. 1.6.1

Unfortunately I need to use the (js) device as I cannot get the game to
recognise the rudder and thrust axes with the (event) device.
(BTW, does the (event) device recognize the
[HKEY_CURRENT_USER\Software\Wine\DirectInput] registry key in the same way as
teh (js) device?)

BR,

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