Homepage Forums RetroPie Project Everything else related to the RetroPie Project How do custom button config for NES

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #89263
    Anonymous
    Inactive

    I’m using a PS3 controller and it is working just fine. However, I would like to switch 2 buttons only when running the NES emulator.

    What is the best way to get this done?

    Thanks

    #89265
    brainfrz
    Participant

    You should be able to add the gamepad button mapping to /opt/retropie/configs/nes/retroarch.cfg

    That should override the configs made in the /opt/retropie/configs/all/retroarch.cfg but i’m experimenting with that myself, so your mileage may vary.

    #89423
    Anonymous
    Inactive

    I added the following lines to the retroarch.cfg file in /nes

    input_b_btn = “15”
    input_a_btn = “14”

    That didn’t get it.

    #89424
    brainfrz
    Participant

    I couldn’t check it, but i believe it should be:
    input_player1_b_btn = “15”
    input_player1_a_btn = “14”

    Also you could try
    input_player1_b_btn = 15
    input_player1_a_btn = 14

    I’ve seen it used both with and without quotes.

    #89425
    Anonymous
    Inactive

    That was it. Thanks

    I copied the lines from the controller config, and forgot to add the player1 stuff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.