Autodetect Controller for Assignments

Welcome Page Forums RetroPie Project Ideas for Further Enhancements Autodetect Controller for Assignments

This topic contains 3 replies, has 4 voices, and was last updated by Profile photo of nolageek nolageek 2 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26795
    Profile photo of roquen
    roquen
    Participant

    How difficult would it be to have the configuration files be preset to be like

    If USB = Mad Catz Wired Xbox 360 Controller then this button assignment
    If USB = NES Controller then this button assignment
    etc
    etc

    unless this is already possible and I just have to setup the config myself, I just dont know how to do that 😛

    #27597
    Profile photo of gizmo98
    gizmo98
    Participant

    It is already there for retroarch cores.

    You can find a list of all supported controllers here:
    https://github.com/retropie/RetroPie-Setup/tree/master/supplementary/RetroArchConfigs

    You can create a auto config file under “ESCONFIG/basic input configuration”. The config file will be stored under “/opt/retropie/emulators/RetroArch/configs”.

    #78367
    Profile photo of pfunk237
    pfunk237
    Participant

    I’ve been working with PiPlay for a few months, and Shea had created a really nice controller GUI. you basically have to pick what emulator, and it shows a vector image of the correct controller and hit Button A when it states. It really worked well.

    #81445
    Profile photo of nolageek
    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:

    http://www.amazon.com/Classic-USB-Super-Nintendo-Controller-PC/dp/B002JAU20W/

    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...]
Viewing 4 posts - 1 through 4 (of 4 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar