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

    Retroarch and Joypad problems (solved)

    Scheduled Pinned Locked Moved Help and Support
    retroarchjoypad
    37 Posts 3 Posters 6.6k 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.
    • C
      CapNinja
      last edited by CapNinja

      Pi Model or other hardware: 3B+
      Power Supply used: the original one
      RetroPie Version: 4.5.1
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected:
      Controller used: 1 PlayStation 4 v2, 1 8bitdo sn30, 1 8bitdo zero

      I don't know if this is correlated but my problems started after trying to remap joystick to MSX Core (tried to play Metal Gear configuring Joystick + Controller in one place).
      Next morning, all joysticks and keyboard was working properly in Emulationstation, but in Retroarch and cores not so much, just the directionals.
      In top of that, Retroarch started to alternate his Retropie version with PC version (that beautiful glowing blue) and crashing constantly.
      After a day dedicated to research, found this idea:
      Fortunately, you can "restore the factory settings" with the file /opt/retropie/configs/SYSTEM/retroarch.cfg.rp-dist. Just rename it to retroarch.cfg.
      It did work for me, but only for that day. (yesterday)
      Today I am at the ame spot with same problems. Any ideas?
      Anyone know if Retropie Team is changing the Retroarch visulization?

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

        @CapNinja You've enabled 'Save configuration on Exit' in RA or used 'Reset Settings' in RetroArch, hence the XMB menu interface and probably some other shenanigans you're experiencing. There's no change in the default menu driver (RGUI).

        C 2 Replies Last reply Reply Quote 0
        • C
          CapNinja @mitu
          last edited by

          @mitu do I need to format (that's the 3rd time this year) or can I undo my mistakes in some way?

          1 Reply Last reply Reply Quote 0
          • C
            CapNinja @mitu
            last edited by

            @mitu said in Retroarch and Joypad problems:

            default

            You're right. I've used "reset settings" today like some last resource

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

              No, there's no need to format. You can just reset the defaults for RA - for both the system and the main config file (/opt/retropie/configs/all/retroarch.cfg).
              This should bring back the default menu driver (RGUI).

              Just use the core input remapping if you want to change the controller's buttons - https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping.

              C 1 Reply Last reply Reply Quote 0
              • C
                CapNinja @mitu
                last edited by

                @mitu Hooray. Thank you very much! Almost everything is okay now, except for hotkey. Now when I press the buton there is no need for combination, the RGUI simply appears instantly.

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

                  @CapNinja said in Retroarch and Joypad problems:

                  Now when I press the buton there is no need for combination, the RGUI simply appears instantly.

                  Hm, that doesn't seem right. Check your controller configuration in /opt/retropie/configs/all/retroarch/autoconfig and see if you have the hotkey enabled and set to some value.

                  C 2 Replies Last reply Reply Quote 0
                  • C
                    CapNinja @mitu
                    last edited by CapNinja

                    @mitu said in Retroarch and Joypad problems:

                    see if you have the hotkey enabled and set to some value.

                    I have

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

                    This was on my DS4, on my 8bitdo sn30, my hotkey does't even work

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

                      @CapNinja said in Retroarch and Joypad problems:

                      input_enable_hotkey_btn = "10"

                      I see only this one present, but there's no button tied up to it. Did you skip the mapping for the Select button or you chose a different button as a Hotkey ?

                      1 Reply Last reply Reply Quote 0
                      • C
                        CapNinja @mitu
                        last edited by CapNinja

                        @mitu said in Retroarch and Joypad problems:

                        Did you skip the mapping for the Select button or you chose a different button as a Hotkey ?

                        No, my hotkey is the ps button on ds4 and select on 8bitdo sn30
                        My curiosity now is, the online updater on retroarch can be used on my situation? I'm thinking about the "update joypads".
                        Other one, It's possible to delete only the retroarch core on Retropie Setup and install it again?

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

                          @CapNinja said in Retroarch and Joypad problems:

                          No, my hotkey is the ps button on ds4 and select on 8bitdo sn30

                          I see.

                          My curiosity now is, the online updater on retroarch can be used on my situation? I'm thinking about the "update joypads".

                          I don't think so. You'd still need to set the hotkey.

                          Other one, It's possible to delete only the retroarch core on Retropie Setup and install it again?

                          This would get you the same configuration file as the .dist one. Check your system's configuration file and make sure it's also reset to the defaults.

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            CapNinja @mitu
                            last edited by

                            @mitu said in Retroarch and Joypad problems:

                            This would get you the same configuration file as the .dist one. Check your system's configuration file and make sure it's also reset to the defaults.

                            er, how can I do that?

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

                              Fortunately, you can "restore the factory settings" with the file /opt/retropie/configs/SYSTEM/retroarch.cfg.rp-dist. Just rename it to retroarch.cfg.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                CapNinja @mitu
                                last edited by

                                @mitu My factory settings have the same problem :(

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

                                  Can you upload the retroarch.cfg files for the system you're trying on and the general one in /opt/retropie/config/allto pastebin.com ?
                                  Also, when launching the emulator, use the Runcommand launch menu and select "Launch with verbose logging" and also upload the /dev/shm/runcommand.log file.

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    CapNinja @mitu
                                    last edited by CapNinja

                                    @mitu said in Retroarch and Joypad problems:

                                    Can you upload the retroarch.cfg files for the system you're trying on and the general one in /opt/retropie/config/all to pastebin.com ?

                                    The general one in /opt/retropie/config/all: https://pastebin.com/A71RhzX4
                                    and the runcommand.log: https://pastebin.com/Bqj24NGD
                                    The snes retroarch.cfg (sorry): https://pastebin.com/YiYKEWHF

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

                                      Remove /opt/retropie/config/all/retroarch.cfg and then reinstall RetroArch from the RetroPie-Setup script, the problem is that the joystick auto-configuration folder is not set and the default (which you have updated with the online updater) has the default Libretro joypad profiles, which probably don't have a hotkey set.

                                      ...
                                      [INFO] [udev]: Plugged pad: Wireless Controller (1356:2508) on port #0.
                                      [INFO] [udev]: Pad #0 (/dev/input/event5) supports force feedback.
                                      [INFO] [udev]: Pad #0 (/dev/input/event5) supports 16 force feedback effects.
                                      [INFO] [Autoconf]: 302 profiles found.
                                      ...
                                      [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/udev/Sony-PlayStation4-DualShock4v2-Controller.cfg
                                      
                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        CapNinja @mitu
                                        last edited by

                                        @mitu Nothing. Still the same

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

                                          Check the runcommand log file and see if your joypad configuration is loaded (Wireless Controller.cfg) and not the one from /home/pi/.config/retroarch/autoconfig/udev/.

                                          C 1 Reply Last reply Reply Quote 0
                                          • C
                                            CapNinja @mitu
                                            last edited by

                                            @mitu It's the wrong one

                                            [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/udev/Sony-PlayStation4-DualShock4v2-Controller.cfg
                                            
                                            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.