https://bugs.winehq.org/show_bug.cgi?id=52462
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #6 from Rémi Bernon rbernon@codeweavers.com --- Hi, you can probably do that but the windows driver may do some mapping when we usually don't.
A helpful first step would be to attach Wine output when running with WINEDEBUG=+hid,+dinput,+xinput environment variable.
From the evtest output I see that the device uses Z/RZ, probably for the right
stick, and these are usually mapped indeed to LT/RT.
If you are using the default Wine configuration, we use SDL as a game controller backend, and SDL should already allow you to remap controllers and joysticks axes easily through some environment variables or configuration file (Wine also supports additional SDL mappings from a registry key, but the two other methods are probably easier).
You can find more details about the SDL mapping support there: https://github.com/gabomdq/SDL_GameControllerDB, as well as some links with tools which can help you configure your gamepad easily.