Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › How to configure a controller on RetroPie? › Reply To: How to configure a controller on RetroPie?
You can use the retroarch.cfg in /opt/retropie/configs/{systename}/
This sets the controls per console. You can find the button codes with the autoconfig