https://bugs.winehq.org/show_bug.cgi?id=52177
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #4 from Rémi Bernon rbernon@codeweavers.com --- Hi, could you provide a trace with WINEDEBUG=+hid,+rawinput,+dinput,+xinput,+input while running the game with your gamepad, and pressing some of the incorrectly mapped buttons?
I think this is maybe something with dpad-like buttons, which are mapped to hatswitch control and could be recognized by games as directions?
Wine now uses SDL as its main controller backend, which has its own button mapping mechanism (see maybe https://github.com/gabomdq/SDL_GameControllerDB and the tools listed there to create custom mappings), maybe it can help.
Other than that we also have lower-level backends, with direct evdev access, or hidraw, but these don't support any remapping (at least currently).
Fwiw you can also run `wine control joy.cpl` to open the joystick control panel and try a few more configuration options and get some visual feedback of how the controller is seen from the Windows application perspective.