Sorry for reviving an old topic, but installing these drivers https://github.com/atar-axis/xpadneo worked for me. One thing to keep of note is when configuring the controller to make sure it matches what it says here for a Logitech Controller https://retropie.org.uk/docs/Logitech-Controller/#l2r2-top-triggers that L2 and R2 need to be +. After that select, and every other button, worked fine for me.