RetroArch is swapping players?

Home Forums RetroPie Project Everything else related to the RetroPie Project RetroArch is swapping players?

RetroPie has a new website and forum. Please visit for the new site. The new forum is located at This forum is left here as a read-only archive.

This topic contains 4 replies, has 4 voices, and was last updated by Profile photo of fodderman fodderman 3 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #5676
    Profile photo of fodderman

    Hello, I’ve followed the “supernintendopi” and “dhoium3009” guides and patched my sixad installation as was posted in the forums. As a result, I now have a mostly functional RetroPie installation with two bluetooth PS3 controllers. I say mostly because I two unusual issues (or at least I haven’t been able to find anyone else with the same problem).

    1) When I load the SNES RetroArch emulator, the controllers are swapped (player one is player two and visa versa). This wouldn’t be a big deal, but when I’m playing single player I still have to pair both controllers.

    2) I can only get the input_exit_emulator_btn to work on one controller (the player two controller)

    Here’s my startup procedure:
    1) Boot Pi
    2) Wait for EmulationStation to load
    3) Start the first controller and wait for it to pair. (Shows as JS0)
    4) Start the second controller and wait for it to pair (Shows as JS1)

    I’ve attached my retroarch.cfg file, but I assume there’s a toggle somewhere else that I’m missing. Any help is appreciated!

    input_player1_joypad_index = "0"
    input_player1_b_btn = "14"
    input_player1_y_btn = "15"
    input_player1_select_btn = "0"
    input_player1_start_btn = "3"
    input_player1_up_btn = "4"
    input_player1_down_btn = "6"
    input_player1_left_btn = "7"
    input_player1_right_btn = "5"
    input_player1_a_btn = "13"
    input_player1_x_btn = "12"
    input_player1_l_btn = "8"
    input_player1_r_btn = "9"
    input_player1_l2_btn = "10"
    input_player1_r2_btn = "11"
    input_player1_l3_btn = "1"
    input_player1_r3_btn = "2"
    input_player1_l_x_plus_axis = "+0"
    input_player1_l_x_minus_axis = "-0"
    input_player1_l_y_plus_axis = "+1"
    input_player1_l_y_minus_axis = "-1"
    input_player1_r_x_plus_axis = "+2"
    input_player1_r_x_minus_axis = "-2"
    input_player1_r_y_plus_axis = "+3"
    input_player1_r_y_minus_axis = "-3"
    input_player2_joypad_index = "1"
    input_player2_b_btn = "14"
    input_player2_y_btn = "15"
    input_player2_select_btn = "0"
    input_player2_start_btn = "3"
    input_player2_up_btn = "4"
    input_player2_down_btn = "6"
    input_player2_left_btn = "7"
    input_player2_right_btn = "5"
    input_player2_a_btn = "13"
    input_player2_x_btn = "12"
    input_player2_l_btn = "8"
    input_player2_r_btn = "9"
    input_player2_l2_btn = "10"
    input_player2_r2_btn = "11"
    input_player2_l3_btn = "1"
    input_player2_r3_btn = "2"
    input_player2_l_x_plus_axis = "+0"
    input_player2_l_x_minus_axis = "-0"
    input_player2_l_y_plus_axis = "+1"
    input_player2_l_y_minus_axis = "-1"
    input_player2_r_x_plus_axis = "+2"
    input_player2_r_x_minus_axis = "-2"
    input_player2_r_y_plus_axis = "+3"
    input_player2_r_y_minus_axis = "-3"
    input_exit_emulator_btn = "16"

    Profile photo of peanut

    I remember I used to execute a different configfile within a config file back in the days of Half-Life. Maybe you can bind a key to execute a config file “exactly the same but with player 1 and 2 reversed.

    Bind “key(s)” “exec playerswap.cfg”

    Something on the lines of that

    Ofcourse bind another key combination to return to the previous config file so you can switch between the two.

    Config a execute go to config b
    Config b execute go to config a

    Profile photo of karloss

    I don’t suppose your trying to play Mario all stars? That is known to switch controls, don’t have problems with any others..

    Sent from my Nexus 5 using Tapatalk

    Profile photo of kilroyrock

    So in that same vein, I think i’ve figured out actually WHAT my own issue/problem is: It’s that my keyboard/mouse combo is being seen as JS0 and my gamepad (xbox 360 afterglow), is coming in as JS1… I can’t get it to be player 1, and the keyboard becomes player 1. where would I make keyboard player 2? I’ve tried the input joypad player 1 toggle in retroarch.cfg but it doesn’t do anything.. I mean, at least it’s working for player2?

    When I start an snes game, it’s showing “(Joystick #1 Xbox Gamepad (userspacedriver)” — i only have the ipazzport keyboard and the xbox controller..

    Profile photo of fodderman

    Karloss, right in one. 🙂 All Stars was my test rom…the only one I had installed. Never occurred to me that the issue might be rom-related. A google search with All Stars shows this is a common issue, just as you said. DOH!

    Thanks for the help, even though I’m somewhat chagrined that I didn’t figure it out myself. 😉

    Is there a way to map the input_exit_emulator_btn to more than one controller?

Viewing 5 posts - 1 through 5 (of 5 total)

Forums are currently read only - please visit the new RetroPie forums at

Skip to toolbar