Homepage Forums RetroPie Project Ideas for Further Enhancements Autodetect Controller for Assignments Reply To: Autodetect Controller for Assignments

#81445
nolageek
Participant

If we wanted to add a new controller after configuring it , can we just copy the button assignments from retroarch.cfg to a file in ‘/opt/retropie/emulators/RetroArch/configs’ and use the name that appears during bootup?

(or maybe a better way would be /retroarch-joyconfig -j 1 >> /opt/retropie/emulators/RetroArch/configs/filename-for-controller.cfg)

For example… I have this controller:

When I boot up I get a message like “controller found: “USB SNES Controller” or something like that.

Would I create a new file named gtron-snes-controller.cfg with the following in it:

input_device = "USB SNES Controller"
input_b_btn = "1"
[... the rest of the configuration...]