Configure multiple buttons to the same action
-
Hi, I'm new here, so if this isn't the right place to post this question, please let me know where I should post this.
I just got RetroPie set up for NES. My controllers have a lot more buttons than the original NES controller did. For ergonomic reasons, I would like to use some of these extra buttons.
For example, I would like the left trigger button and the B button to both be mapped to the "NES B button" action. Similarly, my controller has a D-pad, a left analog stick, and a right analog stick. I would like all three of these to act as movement controllers when in the NES emulator.
Looking at the config file, I don't see any way of specifying that one action should be triggered via more than one button.
Any help would be greatly appreciated.
Thanks,
Lane -
my controller has a D-pad, a left analog stick, and a right analog stick. I would like all three of these to act as movement controllers when in the NES emulator.
You can mirror the DPad the the left or right joystick for the NES specifically by adding:
input_player1_analog_dpad_mode = "1"
for the left stick, or:
input_player1_analog_dpad_mode = "2"
for the right stick to
/opt/retropie/configs/nes/retroarch.cfg
. To mirror the DPad to both sticks at the same time, as well as your other requests, you'd need to employ an external mapping solution such as Linux Joystick Mapper or xboxdrv.
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.