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

    Controller config not saving + core overrides help

    Scheduled Pinned Locked Moved Help and Support
    controller helpcore settingsretroarch menu
    10 Posts 4 Posters 10.4k 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.
    • T
      TheStretchedElf
      last edited by TheStretchedElf

      Hi, having a bit of an issue with analog sticks. When launching a rom only the d-pad works, so I launch retroarch from the game, then go into quick menu, then controls, and from there I activate the analog stick. Analog works great until I quit the game. If I launch it again I can't use analog without setting it again in retroarch.

      This leads me on to my second problem. I was trying a couple of options in retroarch, like saving a controller map. That had no effect so I saved core overrides. This has led to my per-game configs being ignored so I've lost shaders and custom viewports.

      So, how can I undo the core overrides save, and how can I get my controller settings to stick?

      Pi 3
      Power Supply used: unknown
      RetroPie Version 4.2
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: none
      Controller used: xbox 360
      Error messages received: none
      Emulator: lr-mame2003, lr-mame2010, lr-fbalpha

      T meleuM 2 Replies Last reply Reply Quote 0
      • T
        TheStretchedElf @TheStretchedElf
        last edited by

        Anyone?

        I've done a fresh install of the latest official image just to be sure I hadn't changed something, but the controller issue is still there. Is there any way to stop it resetting every time I leave a game?

        mediamogulM 1 Reply Last reply Reply Quote 0
        • mediamogulM
          mediamogul Global Moderator @TheStretchedElf
          last edited by

          @TheStretchedElf

          It'll help to draw in opinions and possibilities if you fill out the requested information found at https://retropie.org.uk/forum/topic/3/read-this-first

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

            @mediamogul it seems that he edited the OP with the needed info.

            @TheStretchedElf a reading at this doc will help you:
            https://retropie.org.uk/docs/RetroArch-Configuration/

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

              @meleu thanks. I had previously read the docs on controller configuration as well as watching Easy Hax's video on the xbox 360 controller. They tell me what is supposed to happen but unfortunately don't give me any info on why it's not happening for me. The retroarch joypad config is makes it look (to me) that the analog sticks have registered correctly when I configured the controller through EmulationStation.

              input_device = "Generic X-Box pad"
              input_driver = "udev"
              input_r_y_plus_axis = "+3"
              input_l3_btn = "11"
              input_r_x_minus_axis = "-2"
              input_l_btn = "4"
              input_load_state_btn = "4"
              input_start_btn = "9"
              input_exit_emulator_btn = "9"
              input_l_y_minus_axis = "-1"
              input_up_btn = "h0up"
              input_r_y_minus_axis = "-3"
              input_a_btn = "0"
              input_b_btn = "1"
              input_reset_btn = "1"
              input_down_btn = "h0down"
              input_l_x_plus_axis = "+0"
              input_l_y_plus_axis = "+1"
              input_r_btn = "5"
              input_save_state_btn = "5"
              input_r2_btn = "7"
              input_r3_btn = "12"
              input_right_btn = "h0right"
              input_state_slot_increase_btn = "h0right"
              input_x_btn = "2"
              input_menu_toggle_btn = "2"
              input_select_btn = "8"
              input_enable_hotkey_btn = "8"
              input_l_x_minus_axis = "-0"
              input_y_btn = "3"
              input_left_btn = "h0left"
              input_state_slot_decrease_btn = "h0left"
              input_r_x_plus_axis = "+2"
              input_l2_btn = "6"

              Yet when I play a game they are dead. If I bring up the RGUI with select + X and go to quick menu > controls all of the analog entries are set to "none". If I press right it changes to "left analog" but resets as soon as I leave the game. I don't even think I have the controls menu for lr-mame2010 (it's there for 2003 and fba) so I can't even temporarily play using analog. Either I've completely missed something or there's an override somewhere that is forcing my control settings to switch analog off. I'm new to retropie and retroarch so my understanding is pretty limited at present.

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

                @TheStretchedElf said in Controller config not saving + core overrides help:

                then go into quick menu, then controls, and from there I activate the analog stick.

                what exactly you do when "activate the analog stick"?

                If it's "change User 1 Device Type to RetroPad w/ Analog, then I suggest you to add this line on the file you mentioned above:

                input_libretro_device_p1 = 5

                Actually I didn't test it myself, but I'm recommending this based on the comments in the retroarch.cfg skeleton:

                # Sets which libretro device is used for a user.
                # Devices are indentified with a number.
                # This is normally saved by the menu.
                # Device IDs are found in libretro.h.
                # These settings are overridden by explicit command-line arguments which refer to input devices.
                # None: 0
                # Joypad (RetroPad): 1
                # Mouse: 2
                # Keyboard: 3
                # Generic Lightgun: 4
                # Joypad w/ Analog (RetroPad + Analog sticks): 5
                # Multitap (SNES specific): 257
                # Super Scope (SNES specific): 260
                # Justifier (SNES specific): 516
                # Justifiers (SNES specific): 772
                
                # input_libretro_device_p1 =
                # input_libretro_device_p2 =
                # input_libretro_device_p3 =
                # input_libretro_device_p4 =
                
                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                T 1 Reply Last reply Reply Quote 0
                • T
                  TheStretchedElf @meleu
                  last edited by TheStretchedElf

                  @meleu said in Controller config not saving + core overrides help:

                  @TheStretchedElf said in Controller config not saving + core overrides help:

                  then go into quick menu, then controls, and from there I activate the analog stick.

                  what exactly you do when "activate the analog stick"?

                  If it's "change User 1 Device Type to RetroPad w/ Analog, then I suggest you to add this line on the file you mentioned above:

                  Actually changing user 1 device type to "retropad w/ analog" does nothing. I have to change the option below that "analog to digital" to "left analog". Not sure what I'd have to change in that case.

                  1 Reply Last reply Reply Quote 0
                  • T
                    TheStretchedElf
                    last edited by

                    Sorry to keep bumping this but I really need help. I'm just fumbling around in the dark looking through config files hoping to find something. Does anyone know what I can do to keep my analog stick working?

                    This morning I copied the config from here https://github.com/RetroPie/RetroPie-Setup/wiki/Xbox-360-Controller into my gamepad config because I noticed a lot of the values were different, but that switched a lot of things around (select became left trigger, start became right trigger, I lost my d-pad control altogether) so I've changed it back.

                    To reiterate, I can get the left analog stick working temporarily while a rom is launched by going to into RGUI (select+x), then "quick menu" > "controls" and changing the 2nd option down (user 1 analog to digital) from "none" to "left analog". If I exit the game and re-launch it this setting has been reset. Should I be saving this in some way to make it stick? And if so how can I do the same for lr-mame2010 which doesn't have the controls menu?

                    Please help!

                    herb_fargusH 1 Reply Last reply Reply Quote 0
                    • herb_fargusH
                      herb_fargus administrators @TheStretchedElf
                      last edited by

                      @TheStretchedElf

                      https://retropie.org.uk/docs/Configuration-Editor/

                      If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                      Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                      T 1 Reply Last reply Reply Quote 2
                      • T
                        TheStretchedElf @herb_fargus
                        last edited by

                        @herb_fargus THANK YOU!

                        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.