RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Is it possible to set two buttons to the same function in es_input.cfg?

    Scheduled Pinned Locked Moved Help and Support
    esinput
    5 Posts 3 Posters 547 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fdr4prez
      last edited by fdr4prez

      I am using RetroPie 4.4 and a RPi3.

      I have two different USB gamepads that seemingly uses the same driver.

      After mapping both gamepads, within es_config.cfg I only have one entry for "USB Gamepad" shown in there.

      When I map one of them in ES, the Start and Select are mapped to buttons 6 and 7 on the gamepad, and everything works good when using this gamepad.

      When I connect the other gamepad, the Start and Select buttons do not work. When I map this particular gamepad in ES, the Start and Select buttons are mapped to buttons 17 and 19.

      So now these buttons on the first gamepad don't work.

      Is it possible to manually edit es_config file to have both entries, so both gamepads are functional at the same time?

          <input name="start" type="button" id="7" value="1"/>
          <input name="select" type="button" id="6" value="1"/>
          <input name="start" type="button" id="19" value="1"/>
          <input name="select" type="button" id="17" value="1"/>
      

      Or will ES simply use the first or last instance in the file?

      I discovered this issue last night, and now I am at work thinking about a solution, so I've not actually attempted this.

      Is it time to dump one of these gamepads?

      edmaul69E 2 Replies Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        I don't think that the es_config supports the configuration you're attempting. Are both controllers identical ? Connect both and run from a command line

        sudo lsusb
        

        then post the output. If both have the same VendorID and ModelID, I doubt you could use both at the same time. What controllers are these ?

        1 Reply Last reply Reply Quote 0
        • edmaul69E
          edmaul69 @fdr4prez
          last edited by

          @fdr4prez hey frank, the problem is that controllers with generic names that other controllers share! They use the same configs and causes a mess. Yes in each system you can setup the controls individually to a specific controller, but that keeps you from being able to use other controllers in those systems. Also i just responded to the aa pm you sent me.

          1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @fdr4prez
            last edited by

            @fdr4prez i can still whip up some 9 pin nes and snes controllers if you want.

            1 Reply Last reply Reply Quote 0
            • F
              fdr4prez
              last edited by

              @mitu - Sorry for the delayed response...RL gets me busy :(

              I think this weekend I will give it a try just to see how ES reacts, but overall no worries, I'll just get a matching pair :)

              I am just trying to be cheap and use old and odd things I've got laying around

              @edmaul69 - As you know I am always on the hunt for bargains :)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.