Input configuration script fails, bindings are off

Welcome Page Forums RetroPie Project Everything else related to the RetroPie Project Input configuration script fails, bindings are off

This topic contains 1 reply, has 2 voices, and was last updated by  trimmtrabb 3 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #4452


    when I try to select Input configuration it goes through the process of key binding smoothly but gives me script failed error when I save and then controllers don’t seem to work at all until I remove ES configuration file. Few questions then:
    1) Is there any way to rebind those buttons for all emulators?
    2) Is there any way to set key bindings for each emulator? someone told me to press F1 while in emulator but this doesn’t seem to work for me.
    3) How do I know which buttons correspond to which number, is there any software to test that if I wanted to config .cfg files manually?
    3) is there any ways at all to manipulate emulators? Like I used to emulate PSX game Castlevania – Symphony of the Night flawless and now sound is cracking and you can feel some slowdowns. Any idea how to fix that?

    Any help appreciated.



    Don’t bother with the input config menu, the script does not seem to work at the moment. Here is my retroarch.cfg, located in /home/pi/RetroPie/configs/all/ This file contains the configurations for all Retroarch cores and the default gamepad/joystick controls for all cores. If you wish to specify different controls for certain cores you need to place a retroarch.cfg in the config folder for that core, for example for the psx emulator you place it in /home/pi/RetroPie/configs/psx This will override the default ‘all’ controls.

    Edit via SSH:

    nano /home/pi/RetroPie/configs/all/retroarch.cfg

    input_player1_joypad_index = "0"
    input_player1_b_btn = "1"
    input_player1_y_btn = "3"
    input_player1_select_btn = "8"
    input_player1_start_btn = "9"
    input_player1_up_axis = "-5"
    input_player1_down_axis = "+5"
    input_player1_left_axis = "-4"
    input_player1_right_axis = "+4"
    input_player1_a_btn = "0"
    input_player1_x_btn = "2"
    input_player1_l_btn = "4"
    input_player1_r_btn = "5"
    input_player1_l2_btn = "6"
    input_player1_r2_btn = "7"
    input_player1_l3_btn = "11"
    input_player1_r3_btn = "12"
    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_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"
    input_enable_hotkey_btn = "8"
    input_save_state_btn = "5"
    input_enable_hotkey_btn = "8"
    input_load_state_btn = "4"
    input_enable_hotkey_btn = "8"
    input_state_slot_increase_btn = "7"
    input_enable_hotkey_btn = "8"
    input_state_slot_decrease_btn ="6"
    input_enable_hotkey_btn = "8" 
    input_menu_toggle_btn = "3"

    The inputs listed above are for an Xbox 360 controller but you can use the template for your own controls. To determine which buttons are what on your controller you can install the jtest utility:

    sudo apt-get install joystick

    and then run:

    jstest /dev/input/js0

    (assuming you only have one gamepad plugged in)
    This will tell you which buttons are being pressed so you can edit the retroarch.cfg accordingly.

    Regarding your last question, yes you can change settings like frame skip etc in the Retroarch cores by accessing the Retroarch GUI. You’ll see in my retroarch.cfg above I have to setup to access the GUI with:

    input_enable_hotkey_btn = "8" 
    input_menu_toggle_btn = "3"

    So when you press your specified hotkey (back button on my Xbox pad) and the menu button you can access the GUI and change settings whilst running the emulator.

    Here is the default Retroarch.cfg file for reference, have a look at the various options you can configure:

    If you have found the solution to your problem please mark the topic as resolved.

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

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

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss