http://bugs.winehq.org/show_bug.cgi?id=12052
Summary: Flatout 2, dinput_test: crashes if joystick axis mapping is enabled, different joystick sensitivity Product: Wine Version: 0.9.56. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: ErV2005@rambler.ru
because Wine currently maps joystick hat as axes (which makes playing IL2 really difficult), I've been trying to use axis mapping. However, some applications crash on startup if axis mapping is enabled, AND "POV" is mentioned somewhere.
I'm using Thrustmaster USB (2960623) joystick. for jstest device information see jstest_info.txt.
Under wine device feels different: joystick seems to have different sensitivity and small unexpected deadzone (which doesn't exist on windows).
Without axis mapping joystick seems to work mostly fine, but joystick hat is being mapped as axes, not as Point-of-view control. dinput_test works normally and reports 2 failrues (see dinput_test_normal.txt for log).
When I try to use following axis mapping (to make hat work in IL2): "X,Y,Z,POV1,Rz", dinput_test crashes on second test and hangs while printing backtrace. see dinput_test_crash.txt. For dinput and trace debug data see dinput_test_trace.txt (Aquired using "WINEDEBUG+=trace,dinput wine dinput_test.exe.so joystick")
With this mapping Flatout 2 crashes after intro movies. see flatout_2_crash.txt
With this mapping IL2 works fine, but doesn't recognize hat controls anyway.
With another mapping: "X,Y,Z,POV1" dinput_test crashes in the same way. see dinput_test_crash2.txt for details. It looks like crashes occur only when POV1 is included in axis mapping.