http://bugs.winehq.org/show_bug.cgi?id=27430
Summary: 1.3.20 breaks X52 Joystick under X3/Terran Conflict Product: Wine Version: 1.3.20 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: gilboad@gmail.com
Created an attachment (id=35078) --> (http://bugs.winehq.org/attachment.cgi?id=35078) +dinput log.
Hello,
I've been using wine to play X3:TC under Fedora 14/x86_64 without any major issues (beyond a number of known issues). I've upgraded my workstation to Fedora 15 and initially all worked just fine. However, since yesterday, I can no longer use my joystick under X3:TC. 1. Somehow the axis/POV mapping is all wrong, the viewport is locked to the bottom right position and I cannot use the POV or keyboard to re-center it. 2. All the other joystick axis (yaw/pitch) seem to be broken as well. 3. The throttle axis seems to be working just fine. (It's a joystick / throttle combo). 4. The keyboard seems to be generating multiple keyboard events per keypress. 5. The joystick has a "profile" selection knob - which triggers an always "pressed" joystick button 11, (profile 1), button 12 (profile 2), button 13 (profile 3). Switching profiles changes the direction in which the POV is locked. 6. If I disconnect the joystick, the POV re-centers, and the keyboard returns to normal operation. 7. I checked the native version of X3 Reunion (Official LGP release) and everything seems to be working just fine. (So no kernel / hardware problem). 8. +dinput log attached.
P.S. When playing the Linux version of X3:R I developed a library [1] that uses pre-loading and _open/_read/_close symbol replacement to modify certain aspects of my X52 joystick (E.g. mask/disable certain axis/buttons, capture axis/buttons and turn them into X11 keypress/release events, etc). Among other things, I used this library to mask out the problematic profile buttons and turn the POV axis (which behave much more like buttons) into X11 key events. Can I somehow use the same pre-loading / symbol replacement under wine? It will help my locate the source of the problem?
- Gilboa [1] http://libjoyevent.sourceforge.net/
http://bugs.winehq.org/show_bug.cgi?id=27430
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2011-06-09 06:54:01 CDT --- http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=27430
--- Comment #2 from Gilboa Davara gilboad@gmail.com 2011-06-09 08:30:41 CDT --- (In reply to comment #1)
Hello Jeff,
As I'm not sure it's a regression (Read: I don't know if there's a "good" wine version), can I somehow debug this issue before I start looking into a possible regression? I checked the wine dinput documents and it wasn't clear if I can order wine to disable / ignore certain buttons / axis in the joystick. Can you point me to the right direction?
- Gilboa
http://bugs.winehq.org/show_bug.cgi?id=27430
--- Comment #3 from Gilboa Davara gilboad@gmail.com 2011-06-12 16:21:40 CDT --- OK. I've fixed libjoyevent (The library that I use to intercept and modify joystick events) and got to work under wine. The library is now configured to mask-out the "profile selection" buttons. X3:TC no works without issues.
In short, it looks like its indeed the always-on profile selection button that causes the X3:TC to go nuts.
- Gilboa
http://bugs.winehq.org/show_bug.cgi?id=27430
--- Comment #4 from Jeff Zaroyko jeffz@jeffz.name 2011-06-12 21:05:29 CDT --- I'm under the impression that the version you used prior to 1.3.20 is the "good" version as you seem to imply that it worked ok at some point in time.
http://bugs.winehq.org/show_bug.cgi?id=27430
--- Comment #5 from Gilboa Davara gilboad@gmail.com 2011-06-13 04:07:09 CDT --- (In reply to comment #4)
I'm under the impression that the version you used prior to 1.3.20 is the "good" version as you seem to imply that it worked ok at some point in time.
Hello Jeff,
Actually 1.3.20 is the broken version. I'll build and test X3:TC under 1.3.22 and report back.
- Gilboa
http://bugs.winehq.org/show_bug.cgi?id=27430
--- Comment #6 from Gilboa Davara gilboad@gmail.com 2012-10-18 11:11:20 CDT --- Bug can be closed. Everything working just fine under 1.5 series. Please close.
- Gilboa
http://bugs.winehq.org/show_bug.cgi?id=27430
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |00cpxxx@gmail.com Resolution| |FIXED
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com 2012-10-18 11:32:59 CDT --- (In reply to comment #6)
Bug can be closed. Everything working just fine under 1.5 series. Please close.
Resolving fixed, thanks.
http://bugs.winehq.org/show_bug.cgi?id=27430
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2012-10-26 13:30:09 CDT --- Closing bugs fixed in 1.5.16.