https://bugs.winehq.org/show_bug.cgi?id=52462
--- Comment #8 from Josesk Volpe joseskvolpe@gmail.com --- I forgot to mention
I had to set environment variable "SDL_GAMECONTROLLERCONFIG" to:
"0500000049190000020400001b010000,Ipega PG-9025,a:b0,b:b1,x:b3,y:b4,back:b10,start:b11,leftstick:b13,rightstick:b14,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a5,righttrigger:a4,platform:Linux,"