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

    Retropie only detecting SOME joystick inputs

    Scheduled Pinned Locked Moved Help and Support
    joysticktech supportinputcontroller
    15 Posts 3 Posters 1.9k 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.
    • mituM
      mitu Global Moderator @Rip
      last edited by

      @Rip When did you last update your RetroPie installation ? There was a recent change that caused unwanted controller problems and it was recently reverted (a couple of days ago). If you last update was before that, then I'd say it's worth running and update again now and re-test if the gamepad is detected by Emulationstation.

      1 Reply Last reply Reply Quote 0
      • R
        Rip
        last edited by

        OK, I just updated it. It now reads 4.4.11. Went to configure input, no change.

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

          @Rip OK, so the gamepad works fine, but SDL doesn't recognise it as a joystick. One solution is to tag the device as a joystick when it's detected, through an udev rule.
          Try this, from the command line (after exiting Emulationstation)

          1. Identify the gamepad's vendor/model numbers
          udevadm info -q all -n /dev/input/js0 | egrep 'VENDOR_ID|MODEL_ID'
          

          This should show you the MODEL_ID and MODEL_ID for the gamepad, as detected by the OS

          1. Add a rule to force detection. Run the editor to create a new file:
          sudo nano /etc/udev/rules.d/99-my-gamepad.rules
          

          this will start an editor, where you enter one line containing

          SUBSYSTEM=="input", ATTRS{idVendor}=="<vendor_id_from_previous_command>",  ATTRS{idProduct}=="<model_id_from_previous_command>", ENV{ID_INPUT_JOYSTICK}="1"
          

          replacing <id_from_previous_command> with the corresponding IDs shown by the previous command.
          Save the file by pressing Ctrl + X and confirming the save operation.

          1. Reboot your PI (sudo reboot from the command line) and try again to see if the gamepad is detected by Emulationstation.
          R 1 Reply Last reply Reply Quote 0
          • R
            Rip @mitu
            last edited by

            @mitu

            Thanks for your reply! I did exactly as you said, model and vendor were just 4 numbers. Anyways, ES detects the joystick just like before, now in configuration is detects UP AND down AND left..... but not right! Buttons are still detected as well. I'm so close yet so far!

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

              @Rip Do an update from source for the Emulationstation package and see if the button is detected now, there was a recent change w.r.t. joystick buttons that impacted the detection of joystick movements. If that still doesn't work, then we can maybe fix the configuration file.

              R 1 Reply Last reply Reply Quote 0
              • R
                Rip @mitu
                last edited by

                @mitu

                I updated from source, it went through the entire procedure, then at the end gives me the "Could not successfully install Emulationstation...." message followed by "Please see log at...." message. Took a look at the log, couldn't make heads or tails of it. I'm guessing this is an unrelated problem, but I can't figure it out.

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

                  @Rip You can also install from binary and see if it updates correctly, but if you want to track down the source installation error, you'll find the whole process log file in ~/RetroPie-Setup/logs - there should be a time-stamped zipped log file there. Unpack it and post the contents to pastebin.com.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Rip @mitu
                    last edited by

                    @mitu

                    I updated from binary, it was a quick process compared to source, rebooted. Still same problem. Here is the pastebin of my log:

                    https://pastebin.com/dvnYi8aq

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

                      @Rip You're running on Raspbian Jessie (albeit with a recent Retropie Script version), I advise you to install the 4.4 image from retropie.org.uk/download. How did you install the images - is this a 3rd party image or the one from retropie.org.uk/download ?

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        Rip @mitu
                        last edited by

                        @mitu
                        Inherited this Pi from a friend who I believe bought it pre-loaded, so I don't know.

                        I'm very new to these devices (just had it a month or so) so I'm learning as I go, so I'll need a little while to figure out how to load a new image and make sure I don't lose any of my stuff.

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

                          Did you not get a msg pop up that Jessie was no longer supported when launching 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

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            Rip @BuZz
                            last edited by

                            @BuZz I did

                            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.