Homepage Forums RetroPie Project Everything else related to the RetroPie Project Controller Configuration Problems Logitech Dual Action

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #14380
    regulus
    Participant

    Hello,

    I am attempting to configure a Logitech dual action game pad using the retroarch-joyconfig utility in a RetroPie v2.2 system. Everything appears to go smoothly in the configuration process. However, when I play a game nothing appears mapped correctly. The up and down buttons map to start and select. The 1 and 2 buttons map to D-Left and D-Right. Am I not writing to the correct retroarch.cfg file location? I believe the retroarch.cfg that came with the disk image is in the /opt/retropie/emulators/RetroArch/ directory.

    #14438
    Anonymous
    Inactive

    same probleme with ps3 controller i can’t play with …

    #14697
    imrhien
    Guest

    Hi all,

    I am experiencing the same thing.

    You can manually edit the config via ftp. It’s in /opt/ somewhere (am not at my system currently).

    I just can’t figure out the buttons :-S

    #14720
    Anonymous
    Inactive

    what is the file ?

    #15088
    Imrhien
    Guest

    The config file for ALL Retroarch emulators is here:
    /opt/retropie/configs/all/retroarch.cfg

    To run the controller config from the command line, input the following:

    sudo chown pi /opt/retropie/configs/all/retroarch.cfg
     cd /opt/retropie/emulators/RetroArch/installdir/bin
     sudo ./retroarch-joyconfig -j 1 >> /opt/retropie/configs/all/retroarch.cfg

    I will be testing this myself soon.

    #15114
    Imrhien
    Guest

    Yep, that worked for me. I had to make one change:

    
    sudo chown pi /opt/retropie/configs/all/retroarch.cfg
     cd /opt/retropie/emulators/RetroArch/installdir/bin
     sudo ./retroarch-joyconfig -j <strong>0</strong> >> /opt/retropie/configs/all/retroarch.cfg

    The number in bold is the id of the gamepad. 0 is the first gamepad attached. Not sure if the keyboard counts as a second gamepad.

    After doing this you’ll still want to edit the file over FTP because it doesn’t let you define buttons to exit the emulator!

    #15115
    Imrhien
    Guest

    Sorry, here’s that revised script again, outside CODE tags because it displays wrong.

    sudo chown pi /opt/retropie/configs/all/retroarch.cfg
    cd /opt/retropie/emulators/RetroArch/installdir/bin
    sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg

    #15133
    Imrhien
    Guest

    Don’t forget to add this to your config afterwards:

    input_enable_hotkey_btn = “6”
    input_exit_emulator_btn = “7”
    input_enable_hotkey_btn = “6”
    input_save_state_btn = “4”
    input_enable_hotkey_btn = “6”
    input_load_state_btn = “5”

    On my controller this adds the following inputs:
    Exit Emulator: Select + Start
    Save State: Select + L1
    Load State: Select + R1

    #16701
    regulus
    Participant

    This did not work for me. The script works, but when I play a game the buttons are still mapped incorrectly. I will see if I can manually edit the retroarch.cfg file instead.

    #16893
    flipbug
    Participant

    try:

    sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg

    and

    sudo ./retroarch-joyconfig -j 1 >> /opt/retropie/configs/all/retroarch.cfg

    #17020
    regulus
    Participant

    It turns out the retroarch.cfg file included two sets of button assignments and RetroArch was using the first. I manually deleted the first set of assignments and now everything works like it should.

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