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

    New controller issue - do not work in game

    Scheduled Pinned Locked Moved Help and Support
    controllerretroarchusb controller
    17 Posts 3 Posters 6.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.
    • U
      ufa
      last edited by

      Hi,
      I have the latest retropie installed on a Pi3, everything works wonderfully.
      I have 2 snes cheap usb gamepad clones and a xbox360 wired and all work good.

      But I have found a ps2 usb gamepad and I want to use it too. But it only works on ES. Retroarch does not seem to recognize it.
      I have read some info on wiki and on Internet, but I am confused which way to go.

      Is there some script that copy the ES controller config to retroarch? How can I force a reconfiguration of all controllers?

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

        @ufa after configuring a joystick in emulationstation, it automatically creates a retroarch config file for this joystick and place this file at /opt/retropie/configs/all/retroarch-joypads/YOUR_JOYSTICK_NAME.cfg. Try to check it.

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

          @meleu said in New controller issue - do not work in game:

          opt/retropie/configs/all/retroarch-joypads/YOUR_JOYSTICK_NAME.cfg

          Hi,
          thank you for your reply.

          I have only 2 files in this directory:
          XboxGamepad(userspacedriver).cfg and usbgamepad.cfg

          But I have 4 controllers (2 snes clones, xbox wired and this ps2 usb)
          Maybe it is using the same file for all usb controllers.

          1 Reply Last reply Reply Quote 0
          • U
            ufa
            last edited by

            I have just notice tha retroarch says "gamepad not configured"

            Is there a way to force ES to copy the gamepad configuration to retroarch

            1 Reply Last reply Reply Quote 0
            • U
              ufa
              last edited by

              I made it work putting this file :
              https://github.com/libretro/retroarch-joypad-autoconfig/blob/master/udev/GreenAsia_Inc.USB_Joystick_.cfg
              on
              /opt/retropie/configs/all/retroarch-joypads

              But shouldn't retropie create the file automagically? I did not create the others

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

                @ufa said in New controller issue - do not work in game:

                shouldn't retropie create the file automagically?

                Only if you configure the respctive in ES.

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

                  @meleu I did, and it works in ES

                  1 Reply Last reply Reply Quote 0
                  • U
                    ufa
                    last edited by ufa

                    Just an update.
                    NO controller is auto-detected anymore.
                    Is there a way I can reset all controller configurations? It seems that ES is not able to pass the controller configuration to retroarch anymore :(

                    To test it, I have deleted all the files in /opt/retropie/configs/all/retroarch-joypads
                    it does not get populated anymore, no matter how many times I configure it on ES.

                    Is there a way to populate it by hand?

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

                      @ufa there's also a possibility that your global retroarch.cfg is not taking the joypad configs. The option is joypad_autoconfig_dir = "/opt/retropie/configs/all/retroarch-joypads/"

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

                        @meleu said in New controller issue - do not work in game:

                        retroarch

                        from /opt/retropie/configs/all/retroarch.cfg :

                        joypad_autoconfig_dir = "/opt/retropie/configs/all/retroarch-joypads/"

                        It is empty, because I deleted the config files, so it should be recreated, but it is not :(

                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @ufa
                          last edited by

                          @ufa it won't be recreated unless you reinstall retroarch.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          U 1 Reply Last reply Reply Quote 0
                          • U
                            ufa @BuZz
                            last edited by

                            @BuZz How can it be done? Erasing all /opt/retropie/ ?

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

                              @ufa check if you have a retroarch.cfg.rp-dist and rename it to retroarch.cfg.

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

                                @meleu already did that. I did not touch that file btw.

                                joypad config dir is still empty. My problem is: how can I populate it?
                                Already reinstalled retroarch through setup script, still let me with an empty directory and non working joypads.

                                Every rom I start, it says with yellow subtitles: "gamepad lalala not configured"

                                U 1 Reply Last reply Reply Quote 0
                                • U
                                  ufa @ufa
                                  last edited by

                                  Well, I think that will be a huge debugging work, so I think it is easier to just erase the /opt/retropie folder and reinstall everything and reconfiguring my shaders

                                  Thank you all for the help on this matter

                                  BuZzB 1 Reply Last reply Reply Quote 0
                                  • BuZzB
                                    BuZz administrators @ufa
                                    last edited by BuZz

                                    @ufa if joypad folder is empty it's because you didn't configure the controller in emulationstation or you removed the es.input.cfg at some point, which would lose an important default config that is needed. You can reset es input config from retropie-setup

                                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                    U 1 Reply Last reply Reply Quote 1
                                    • U
                                      ufa @BuZz
                                      last edited by

                                      @BuZz 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.