Controller Configuration Problems Logitech Dual Action

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

This topic contains 10 replies, has 3 voices, and was last updated by Profile photo of regulus regulus 2 years, 11 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #14380
    Profile photo of regulus
    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
    Profile photo of aornn
    aornn
    Participant

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

    #14697
    Profile photo of flipbug
    imrhien

    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
    Profile photo of aornn
    aornn
    Participant

    what is the file ?

    #15088
    Profile photo of flipbug
    Imrhien

    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
    Profile photo of flipbug
    Imrhien

    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
    Profile photo of flipbug
    Imrhien

    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
    Profile photo of flipbug
    Imrhien

    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
    Profile photo of regulus
    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
    Profile photo of flipbug
    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
    Profile photo of regulus
    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)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar