Homepage Forums RetroPie Project Everything else related to the RetroPie Project configure nes and mastersystem buttons

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8603
    octubrq
    Participant

    sorry for my english .I have configured retropie with several emulators, but I would like to change the buttons on nes and master system and megadrive. Is it possible to do each one separately? . that the other emulators and have properly configured

    #8628
    Anonymous
    Inactive

    Thats a good question.

    I haven’t tried it, but it is possible.

    NES, MasterSystem and MegaDrive are all configured with RetroArch with one configuration file, this means that the button config is the same.

    The input file is here > /home/pi/RetroPie/configs/all/retroarchinput.cfg

    You can then make separate changes to each individual emulator by editing the configuration files.

    For NES the file is located here> /home/pi/RetroPie/configs/nes/retroarch.cfg

    For MasterSystem > /home/pi/RetroPie/configs/mastersystem/retroarch.cfg

    For MegaDrive > /home/pi/RetroPie/configs/megadrive/retroarch.cfg

    In each file you will need to type out the buttons you want to change, and then bind this to a button on your controller.

    #8630
    Anonymous
    Inactive

    Here are the commands just for the buttons.

    So button B is mapped to button 0 on my joystick.
    So I could change button b to 0,1,2,3,4,5….

    input_player1_b_btn = 0
    input_player1_a_btn = 1
    input_player1_y_btn = 2
    input_player1_x_btn = 3
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player1_l2_btn = "6"
    input_player1_r2_btn = "7"
    input_player1_l3_btn = "11"
    input_player1_r3_btn = "12"

    Now your probably asking “WHICH BUTTON IS 0?” or “is Start button 6 or 7 on my controller”

    Theres an easy way to find out.

    Exit emulation station and go to the raspberry pi terminal
    type this command

    jstest /dev/input/js0
    Now this will load a joystick test, press a button and you will find out which number it corresponds to.

    To exit jstest press ctrl+c

    Good luck!

    #8688
    octubrq
    Participant

    Perfect!!!!!! 5 stars for you

    #8904
    Anonymous
    Inactive

    Glad its working!

    Go play some games

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.