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

    Help with Joystick Config and Understanding Retropie Controllers

    Scheduled Pinned Locked Moved Help and Support
    hori fightstick
    28 Posts 5 Posters 12.3k 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.
    • M
      mealto @AndersHP
      last edited by

      Thanks for the info. @AndersHP

      I was wondering if there is a way to inject the Hori 4 buttons to a default so I don't have to map for every game. I assume I just edit the retroarch config file? Just wanted to be sure before I make any changes. Thanks in advance!

      meleuM AndersHPA 2 Replies Last reply Reply Quote 0
      • meleuM
        meleu @mealto
        last edited by

        @mealto Did you discover if you are using a RetroArch core for arcade games?

        If yes, the best way to configure joystick mappings specific to a core (and/or games) is using this method: https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • AndersHPA
          AndersHP @mealto
          last edited by AndersHP

          @mealto
          Yes, generally, the software looks these three places when a rom boots:

          1. retroarch.cfg file in the all folder
          2. retroarch.cfg file in the emulator's folder
          3. [game name].cfg in the roms folder

          So if you want the same controls for all retroarch based emulators, editing the first mentioned cfg file will influence all. If you then want specific emulators to have other options, you can edit the second mentioned with the options you want to override from the cfg file in the all folder, and lastly, if just one game should have other options, you can make a cfg file with the game's name, with these options in it, and then these will override the above mentioned.

          Again, I haven't tried the specific controller you mention, so I don't know if this advice is better than what meleu talks about, this just did the trick for me with my ipac buttons and joysticks.

          My "Bubble Bobble" Themed Bartop Arcade
          My Gameboy

          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @AndersHP
            last edited by

            @AndersHP said in Help with Joystick Config and Understanding Retropie Controllers:

            So if you want the same controls for all retroarch based emulators, editing the first mentioned cfg file will influence all.

            I'm afraid this isn't the best approach, since it would hardcode the configs for every single joystick model you plug on your system (and not only the one he wants to configure). You've forgot to mention the RetroArch autoconfig feature and the files in /opt/retropie/configs/all/retroarch-joypads/. Where you can configure mappings to a specific joystick model.

            A reading at the docs should solve the issue here since the first day. I'm still not sure if @mealto is using a RetroArch core, but if so, the doc to read is https://retropie.org.uk/docs/RetroArch-Configuration/

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • C
              chan
              last edited by

              @meleu im having a little hard work using FBA with your script. It works well with other, but with Fba i cannot choose the joysticks to play.
              Should i use lr-fba instead of Fba?
              I want only use joysticks here in fba cause mame roms.
              I use mame4all and i´ve already configured it with "tab" but i want to change to FBA cause there are more supported roms.
              Could you give me a clue?

              meleuM 1 Reply Last reply Reply Quote 0
              • meleuM
                meleu @chan
                last edited by meleu

                @chan the script works for libretro/retroarch emulators only. Then, yes, it works fine with lr-fba (and any of those that start with lr-).

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                C 1 Reply Last reply Reply Quote 0
                • C
                  chan @meleu
                  last edited by

                  @meleu so if i change all the roms from fba to lr-fba i can update with your script. Correct?

                  i cannot wait to try!

                  i suppose that fba roms are valid for lr-fba...

                  meleuM 1 Reply Last reply Reply Quote 0
                  • meleuM
                    meleu @chan
                    last edited by

                    @chan I'm not sure what "flavor" of fba you are talking when you say 'fba'. Do you mean pifba?

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    C 1 Reply Last reply Reply Quote 0
                    • C
                      chan @meleu
                      last edited by

                      @meleu i think the folder was fba. and the emu too...
                      When i pressed a button i was asked about using fba or lr-fba...i´m not usre right now, but, anyway, i need to change my roms to lr-fba and the use that emu instead of fba,pifba or whatever in order to use your script.

                      Did you include n64 too? just for testing in future!

                      meleuM 1 Reply Last reply Reply Quote 0
                      • meleuM
                        meleu @chan
                        last edited by

                        @chan

                        Did you include n64 too?

                        Any RetroArch emulator is covered, but I think most people uses the standalone (non-libretro) Mupen64plus due to performance reasons.

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        C 1 Reply Last reply Reply Quote 0
                        • C
                          chan @meleu
                          last edited by

                          @meleu not yet, but im thinking on it. Pitty to not have such great tool as yours to configure it.
                          Will dive on how to configure when i solve the FBa first. Step by step hehe

                          meleuM 1 Reply Last reply Reply Quote 0
                          • meleuM
                            meleu @chan
                            last edited by

                            @chan if you discover how to do it for Mupen64plus, please share with me. If it is as simple as editing a file, I can add it to my script.

                            Cheers.

                            • Useful topics
                            • joystick-selection tool
                            • rpie-art tool
                            • achievements I made
                            1 Reply Last reply Reply Quote 0
                            • C
                              chan
                              last edited by

                              @meleu i didn´t dive a lot but i discover that there is a lr-mupen64plus
                              https://github.com/retropie/retropie-setup/wiki/Nintendo-64
                              Could you add it easily?

                              i saw this too:
                              "lr-Mupen64plus and lr-GLupeN64 utilise RetroArch configurations
                              Add custom retroarch controls to the retroarch.cfg file in
                              /opt/retropie/configs/n64/retroarch.cfg"

                              For sure that i could be a kindergarden game for an expert like you :)

                              meleuM 1 Reply Last reply Reply Quote 0
                              • meleuM
                                meleu @chan
                                last edited by

                                @chan did you read this post of mine above? :-)

                                • Useful topics
                                • joystick-selection tool
                                • rpie-art tool
                                • achievements I made
                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  chan @meleu
                                  last edited by

                                  @meleu lol forgive me xD
                                  i will deep a little. hehe

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    chan
                                    last edited by

                                    @meleu nice job. it works with roms in arcade folder and using your script.
                                    The only thing is if u can say me how to econfigure buttons for all roms cause the buttons are really moved :p

                                    meleuM 1 Reply Last reply Reply Quote 0
                                    • meleuM
                                      meleu @chan
                                      last edited by

                                      @chan this is the easiest way:
                                      https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping

                                      • Useful topics
                                      • joystick-selection tool
                                      • rpie-art tool
                                      • achievements I made
                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        chan
                                        last edited by

                                        @meleu impo men.
                                        i´m into quick menu controls and i cannot change "user 1 burron A:" or anything
                                        im only able to change controls in other menu. Under settings - INPUT - Input User 1 Binds

                                        do u know why i am not able to do it?

                                        meleuM 1 Reply Last reply Reply Quote 0
                                        • meleuM
                                          meleu @chan
                                          last edited by

                                          @chan what exactly do you mean with "I cannot change"?

                                          You press left/right on the d-pad when the "user 1 button a" is active and nothing happens?

                                          • Useful topics
                                          • joystick-selection tool
                                          • rpie-art tool
                                          • achievements I made
                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            chan
                                            last edited by chan

                                            nope, it seems freeze.
                                            And up in that menu, it appears the USB controller d PAd, but not the THT xxx (who is the joystick) so when i try to find it, im only able to see the Nintendo Retropad and the super nintendo buffalo retropad, but not the THT when i navigate with left and right (and none appears too).

                                            Im able to see the THT in the menu of input that i referred in the other post
                                            Under settings - INPUT - Input User 1 Binds

                                            Is there a "manual" map in order to change it with a keyboard? where it supose to be that config file? only for fba

                                            C 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.