Is the joystick axis remapping currently working on Wine?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
alfredozorrilla
Newbie
Newbie
Posts: 2
Joined: Fri Jun 07, 2024 2:16 pm

Is the joystick axis remapping currently working on Wine?

Post by alfredozorrilla »

Hi everyone.

Is the joystick (joysticks, NOT gamepads) axis remapping working in Wine?

Like it is explained here: https://wiki.winehq.org/Useful_Registry_Keys
+-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)]
| |
Is it currently working for anyone (Linux, macOS, etc.)?

Thanks!


PS: Yes, it isn't working for me (macOS Big Sur) and I've tried every trick in the Internet to fix it, without success. I've even checked the latest Wine source code to try to find where it is supposed to be picking up the configuration from the "simulated" Windows Registry in Wine, and haven't found anything.

Is it perhaps a removed feature from older versions? I found that an ancient GitHub master had a very different joystick driver codebase than the current one.
Locked