@martin87 The fact that Dual Shock 2 is recognized as Dual Shock 3 probably happens due to the adapter used, and it is probably because of this same adapter that the buttons are not recognized correctly.
You can test your joystick:
https://recalbox.gitbook.io/documentation/v/francais/tutoriels/controleurs/configuration-test/testez-votre-joystick-avec-sdl2-jstest
And manually edit the file:
\share\system\.emulationstation\es_input.cfg