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

    Buttons in Emulation Station, Raspi-Config and RetroArch-Menu

    Scheduled Pinned Locked Moved Help and Support
    controllerremapemulatiostation
    10 Posts 3 Posters 1.2k 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
      Maynard
      last edited by

      Hi,

      i have the problem that the buttons to select something and to jump back are completely different in emulation station (the normal gui), config dialogs like raspi-config and the retroarch-menu that i can start when a core is running.

      emulation station: A = select, B = back
      raspi-config: B = select, there is so "back" here
      retroarch: X is select, A is back

      There is no problem when running the cores, i have created separated mapping files for each core. but how can i remap these three things? i think the buttons i've set up after the first boot are used to control emulation station? how canm i remap teh buttons only for the config dialogs like raspi-config and for retroarch-menu (without changing the cores buttons)?

      maynard

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Normally what you choose for A and B in EmulationStation would also create the RetroArch config propery. raspi-config looks in the auto-configuration created for RetroArch for A and B to use them as 'select' and 'back'.
        I think what you changed in the RetroArch configuration (or remaps) is switching the buttons. You can check how RetroArch's configuration for the gamepad looks by opening the .cfg file for your controller in \\retropie\configs\all\retroarch-joypads.

        1 Reply Last reply Reply Quote 0
        • M
          Maynard
          last edited by

          I have a cfg file in all/retroarch-joypads from my controller. Here i made some changes. This has effect for all cores, right? only for game control or also for control retroarch menu? when i switch two buttons nothing happens. it looks like that file is only to map the gameplay not retroarch menu.

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            @Maynard said in Buttons in Emulation Station, Raspi-Config and RetroArch-Menu:

            only for game control or also for control retroarch menu?

            It is also for the RetroArch menu, because it maps the gamepad buttons to the RetroPad. Re-configure the input in EmulationStation again and the file would be re-generated - see if the mapping in the RetroArch's menu is changed.

            1 Reply Last reply Reply Quote 0
            • M
              Maynard
              last edited by

              I re-confirured all again, now the most cores are working.

              what are not working is the nes core and the gbc core. here X and B is switched. gameplay is ok. I thought that the control of retroarch depents on the same config file that control emulation station. but when i switch buttons for one of the two cores, the buttons in retroarch aare also switched.

              I have mapped volume change to the right analog stick. hotkey + analog-up/down is working - exept of these two cores. here volume change doesn't work. the function together with hotkey are working. i can find anything what's different.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Maynard
                last edited by

                @Maynard said in Buttons in Emulation Station, Raspi-Config and RetroArch-Menu:

                I thought that the control of retroarch depents on the same config file that control emulation station.

                No, they don't use the same configuration file. However, when you configure your gamepad in EmulationStation, a configuration file for RetroArch is generated, using the same input schema. If you re-configure your gamepad in RetroArch, the inputs for EmulationStation are not affected.

                but when i switch buttons for one of the two cores, the buttons in retroarch aare also switched.

                How are you switching the buttons ? You should be using the core input remapping and save a remap for the cores you wish, not saving the RetroArch configuration for all cores.

                1 Reply Last reply Reply Quote 0
                • M
                  Maynard
                  last edited by Maynard

                  I copied the configuration from /opt/retropie/configs/all/retroarch-joypads to /opt/retropie/configs/nes/retroarch-joypads and switched two buttons. then i added this "joypad_autoconfig_dir = /opt/retropie/configs/nes/retroarch-joypads/" to /opt/retropie/configs/nes/retroarch.cfg.

                  I think i know whats wrong. i was a little bit confused about the difference between "Hardcoded Configurations" and "Core Input Remapping". I looks little core input remapping can only be done by using the RGUI not via a simple text file?

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator @Maynard
                    last edited by

                    @Maynard you can do it via a text file. all retroarch settings are stored in text files. in the case of core input remapping, it's a .rmp file in the /opt/retropie/configs/all/retroarch folder somewhere, i believe. however, we don't support that method. please do it via RGUI as instructed in the docs

                    1 Reply Last reply Reply Quote 0
                    • M
                      Maynard
                      last edited by

                      OK, i think i have it.

                      To change the volume i could change the file in /opt/retropie/configs/all/retroarch-joypads and /opt/retropie/configs/all/retroarch/autoconfig and it worked both? What is the difference between these 2 files?

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @Maynard
                        last edited by mitu

                        @Maynard it's the same file, retroarch-joypads is a symlink to the autoconfig folder.

                        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.