Is it possible to set two buttons to the same function in es_input.cfg?
-
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?
-
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 linesudo 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 ?
-
@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.
-
@fdr4prez i can still whip up some 9 pin nes and snes controllers if you want.
-
@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 :)
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.