https://bugs.winehq.org/show_bug.cgi?id=50154
--- Comment #4 from braiamp@gmail.com --- Sorry about that, the message is showing. Some shenanigans about apt package installation. But still doesn't do what I expect: I reversed the A and B and created a string that wine correctly read it:
0026:trace:plugplay:deviceloop_thread Setting environment mapping "030000004c050000cc09000011810000,PS4ControllerMod,platform:Linux,a:b1,b:b0,x:b3,y:b2,back:b8,guide:b10,start:b9,leftstick:b11,rightstick:b12,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,"
But on the control panel, using JS or event controllers it still shows B as 0 and A as 1. I'm not sure if that is expected (joypad.cpl is broken?).