https://bugs.winehq.org/show_bug.cgi?id=35815
wine-bugs@theblob.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@theblob.org
--- Comment #12 from wine-bugs@theblob.org --- I needed to remap joystick/gamepad buttons today as I wanted to try using the DualShock 4 with FFXIV on Linux and several buttons were mapped wrongly. (And axes, though those are already remappable using the registry so that wasn't a problem.)
I can confirm that the patch on this bug applies to wine-3.15 (with Gallium Nine patches) with a little bit of fuzz, and works to remap the buttons on a DualShock 4, but I'm a little worried that the registry key appears on sight to be global between all devices. I think, ideally, it should be settable per-device.
[addendum: For those wondering, the correct ButtonMap value for a DualShock 4 using this patch is "3,0,1,2,4,5,6,7,8,9,11,12,10,13,14,15"]