http://bugs.winehq.org/show_bug.cgi?id=12220
Summary: Joystick POV (hatswitch) doesn't work Product: Wine Version: 0.9.58. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: bjdelta@infinito.it
This bug was already reported in the past and assumed solved with version 0.9.43 but it's still present. Joystick hatswitch is seen by wine as 2 axis and not as a POV, despite any modification in the registry of windows (as suggested here http://wiki.winehq.org/UsefulRegistryKeys ). The bug can be verified using a little windows utility "joytester" (available for download here http://www.softpedia.com/get/System/System-Miscellaneous/Joystick-Tester.sht... ) and therefore it's not related to a specific application. My joystick is Microsoft SideWinder Precision 2 connected via USB and the POV is correctly detected under linux (UBUNTU 7.10) and tested with "jscalibrator". This bug prevents from using any kind of game under wine that needs the use of an hatswitch, especially flight simulation programs.
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #1 from Lei Zhang thestig@google.com 2008-03-26 12:46:19 --- (In reply to comment #0)
This bug was already reported in the past and assumed solved with version 0.9.43 but it's still present.
Which bug report is that?
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #2 from BJDelta bjdelta@infinito.it 2008-03-26 14:00:01 --- My reference was to http://bugs.winehq.org/show_bug.cgi?id=4952 and http://bugs.winehq.org/show_bug.cgi?id=8293 .
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #3 from BJDelta bjdelta@infinito.it 2008-03-26 17:55:26 --- Created an attachment (id=11675) --> (http://bugs.winehq.org/attachment.cgi?id=11675) Log of dinput.test.exe.so
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #4 from BJDelta bjdelta@infinito.it 2008-03-26 17:56:59 --- Created an attachment (id=11676) --> (http://bugs.winehq.org/attachment.cgi?id=11676) trace of WINEDEBUG of joytester.exe
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #5 from BJDelta bjdelta@infinito.it 2008-03-26 17:57:46 --- Hoping it could be useful you can find as attach a log of a test with "dinput_test.exe.so" and the last 100 lines of the trace of the program joytester.exe with "WINEDEBUG=+relay".
Running "WINEDEBUG=+dinput wine joytester.exe" I get only that result
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
http://bugs.winehq.org/show_bug.cgi?id=12220
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor Status|UNCONFIRMED |NEW Component|-unknown |winmm&mci Ever Confirmed|0 |1
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-03 13:51:05 --- Registry doesn't work because this is old mmsys joystick driver. It really needs to be rewritten on top of dinput. Pretty much no games using this driver. Most modern programs using DirectInput instead.
http://bugs.winehq.org/show_bug.cgi?id=12220
Andreas Zitzelsberger winehq@az82.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@az82.de
--- Comment #7 from Andreas Zitzelsberger winehq@az82.de 2008-06-20 13:27:48 --- The problem also occurs with DirectInput. After some research I found that the problem is that the Linux kernel module joydev shows hat switches as axes (which apparently is the correct way) and not as buttons.
In Windows, hat switches are apparently used as Buttons, so a lot of applications do not support axes in place of buttons.
So it's definitely Wine's fault, it should map hat switch axes to buttons. Fixing this shouldn't be to hard.
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #8 from Austin English austinenglish@gmail.com 2008-12-19 16:01:42 --- Is this still an issue in current (1.1.10 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #9 from Andreas Zitzelsberger winehq@az82.de 2008-12-19 16:12:54 --- Yes, still an issue in 1.1.10.
http://bugs.winehq.org/show_bug.cgi?id=12220
John Haywards normandy@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |normandy@web.de
--- Comment #10 from John Haywards normandy@web.de 2009-01-22 12:32:34 --- Does latest GIT fix the problem for you? Vincent Pelletier commited some patches.
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #11 from John Haywards normandy@web.de 2009-02-28 05:17:25 --- "joytester.exe" works fine for me, POV moves and works. I have trouble with IL2 and Condor though. Both do not recognize the Coolie hat as one, but still as a "slider/axis". My Joystick is an Saitek X52.
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #12 from Austin English austinenglish@gmail.com 2009-09-03 12:17:45 --- Is this still an issue in current (1.1.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #13 from John Haywards normandy@web.de 2009-09-05 04:30:00 --- (In reply to comment #12)
Is this still an issue in current (1.1.29 or newer) wine?
Yes.
http://bugs.winehq.org/show_bug.cgi?id=12220
--- Comment #14 from John Haywards normandy@web.de 2010-01-09 10:55:54 --- I just tested IL-2 with wine .36 and some Saitek X-45 stick. The hatswitch worked for me in IL-2. I don't know about the other applications affected.
http://bugs.winehq.org/show_bug.cgi?id=12220
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #15 from Austin English austinenglish@gmail.com 2011-03-29 18:59:16 CDT --- (In reply to comment #14)
I just tested IL-2 with wine .36 and some Saitek X-45 stick. The hatswitch worked for me in IL-2. I don't know about the other applications affected.
Reported fixed, and no complaints since then.
http://bugs.winehq.org/show_bug.cgi?id=12220
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2011-04-01 12:40:02 CDT --- Closing bugs fixed in 1.3.17.