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/