I I forgot to ask if you followed the tutorial ! đ
If someone with the same problem passes here here here is the link:
https://recalbox.gitbook.io/documentation/getting-started/manual-recalbox-6.0-dragonblaze/controller-configuration#ps3-controllers