RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Retropie 4 retroarch controls changing

    Scheduled Pinned Locked Moved Help and Support
    retropie 4retroarch.cfgcontrols
    6 Posts 2 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ruxton_bruce
      last edited by

      After updating to Retropie 4 my controls in Mame-Libretro games go all screwy. If I replace the /opt/retropie/configs/mame-libretro/retroarch.cfg file with an older backup that I had with Retropie 3 the controls work fine once then launching the same game afterwards makes the controls go all screwy again.

      E.g

      When I launch Metal Slug 2 with the retroarch.cfg file from the old Retropie 3 backup all button on an ipac2 controller work fine.
      When i relaunch the games Button three changes to the normal button three plus the insert coin button.

      Any help much appreciated.

      Cheers

      1 Reply Last reply Reply Quote 0
      • FloobF
        Floob
        last edited by

        Please post the backup retroarch.cfg file you use on pastebin.

        Please read the Docs before asking a new question.
        RetroPie Help Guides: https://goo.gl/3gcNsT

        R 2 Replies Last reply Reply Quote 0
        • R
          ruxton_bruce @Floob
          last edited by

          @Floob Hey there Floob

          Thanks for the reply mate. I replaced the retroarch file that you supplied in this post:-

          https://retropie.org.uk/forum/topic/3695/retropie-4-mame-libretro-shaders-overlays/5

          and everything is back to normal.

          Thanks heaps for all your help mate.

          Cheers

          1 Reply Last reply Reply Quote 0
          • R
            ruxton_bruce @Floob
            last edited by

            @Floob Hey there Floob. I just noticed that I still have a problem with the controls in Mame-Libretro.

            When I launch a 2 player game such as The Simpsons, Player 2's button 1 also makes Player 1's button 2 trigger. I am using an IPAC2 controller and I have tested it with the keyboard with the same results. My /opt/retropie/configs/mame-libretro/retroarch.cfg file looks like this:-

            http://pastebin.com/raw/mkt0PtCD

            I have tested 2 Player games with mame4all and don't have any issues so the problem must be with retroarch.

            Any ideas why this might be happening mate?

            Sorry to be a pest - just can't wrap my head around Retroarch controls very well.

            Cheers @Floob

            R 1 Reply Last reply Reply Quote 0
            • R
              ruxton_bruce @ruxton_bruce
              last edited by Floob

              @Floob Please disregard my last message Floob. I found in /opt/retropie/configs/all/retroarch.cfg that I needed to adjust the Keyboard Input section in there. Mine was set to:-

              input_player1_a = "x"
              input_player1_b = "z"
              input_player1_y = "a"
              input_player1_x = "s"
              input_player1_start = "enter"
              input_player1_select = "rshift"
              input_player1_l = "q"
              input_player1_r = "w"
              input_player1_left = "left"
              input_player1_right = "right"
              input_player1_up = "up"
              input_player1_down = "down"
              

              I needed to change it to this to fix my problems:-

              input_player1_a = "lctrl"
              input_player1_b = "lalt"
              input_player1_y = "ralt"
              input_player1_x = "space"
              input_player1_start = "1"
              input_player1_select = "5"
              input_player1_l = "q"
              input_player1_r = "w"
              input_player1_left = "left"
              input_player1_right = "right"
              input_player1_up = "up"
              input_player1_down = "down"
              

              If you have any suggestions to a better mapping I'm all ears :)

              Cheers @Floob

              R 1 Reply Last reply Reply Quote 0
              • R
                ruxton_bruce @ruxton_bruce
                last edited by

                Quick note - I needed to change

                input_player1_l = "q"
                input_player1_r = "w"

                to

                input_player1_l = "("
                input_player1_r = ")"

                as q and w are used for games with more than 4 buttons such as Street Fighter Alpha 3.

                Will the quotation marks causes any problems for retroarch anywhere else @Floob

                Thanks again

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.