https://bugs.winehq.org/show_bug.cgi?id=55653
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
I don't know if there is a reliable way for Wine to auto-detect the same axes mapping as jstest (I think Wine only gets numbers and assign custom names itself, those names are unrelated to the names from jstest), but I know there is a registry key that you can setup to map the axes manually.
--- Excerpt from https://wiki.winehq.org/Useful_Registry_Keys --- HKEY_CURRENT_USER | +-Software | +-Wine | +-DirectInput | | | +->*<joystick name> = <axes mapping> | | [This maps axes of joystick "joystick name". The "axes mapping" is | | comma-separated list of "axis type"s - one for each joystick axis (hat-pov uses 2 axes). | | "axis type" is one of: X, Y, Z, Rx, Ry, Rz, Slider1, Slider2, POV1, POV2, POV3, POV4. | | To find the joystick name run | | 'WINEDEBUG=+dinput wine game.exe 2>&1 | grep joydev_enum_device' | | Example output: trace:dinput:joydev_enum_deviceW Enumerating the linux Joystick device: /dev/input/js0 (Logitech Logitech Dual Action) | | Example registry entry: "Logitech Logitech Dual Action"="X,Y,Rz,Slider1,POV1". (two "Logitech"s not a typo)] --- end of excerpt ---
Regards.