@Lazzarous_84 You can't make the ps3 driver work for an Xbox compatible controller. How is the controller detected ? As a PS3 controller or as an XBox controller ?
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first