It won't detect it, i tried copying the windows setting on gamecontrollerdb.txt and replacing the platform but it still would not work.
I can provide more info if needed!
Brave hundreds of hand-crafted challenges as you help Madeline survive her journey to the top of Celeste Mountain! · By
I made it work!
I did some more digging and if someone has the same problem as i do maybe adding this line to the gamecontrollerdb.txt at the linux group it'll work.
030000000d0f0000ee00000011010000,HORIPAD mini4,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b13,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a5,start:b9,x:b0,y:b3,platform:Linux,
The difference with the windows one is that i needed to change the identifier that i got from https://github.com/Grumbel/sdl-jstest and the platform to Linux.
I'm pasting this here since maybe it'll be helpful for someone!