• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.8k 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
    mitu Global Moderator @Rip
    last edited by 6 Apr 2019, 06:48

    @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 7 Apr 2019, 01:39 Reply Quote 0
    • R
      Rip @mitu
      last edited by 7 Apr 2019, 01:39

      @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!

      M 1 Reply Last reply 7 Apr 2019, 03:01 Reply Quote 0
      • M
        mitu Global Moderator @Rip
        last edited by 7 Apr 2019, 03:01

        @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 10 Apr 2019, 20:52 Reply Quote 0
        • R
          Rip @mitu
          last edited by 10 Apr 2019, 20:52

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

          M 1 Reply Last reply 10 Apr 2019, 21:06 Reply Quote 0
          • M
            mitu Global Moderator @Rip
            last edited by 10 Apr 2019, 21:06

            @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 10 Apr 2019, 21:41 Reply Quote 0
            • R
              Rip @mitu
              last edited by 10 Apr 2019, 21:41

              @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

              M 1 Reply Last reply 11 Apr 2019, 03:52 Reply Quote 0
              • M
                mitu Global Moderator @Rip
                last edited by 11 Apr 2019, 03:52

                @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 11 Apr 2019, 12:14 Reply Quote 0
                • R
                  Rip @mitu
                  last edited by 11 Apr 2019, 12:14

                  @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
                  • B
                    BuZz administrators
                    last edited by 11 Apr 2019, 16:31

                    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 11 Apr 2019, 18:18 Reply Quote 0
                    • R
                      Rip @BuZz
                      last edited by 11 Apr 2019, 18:18

                      @BuZz I did

                      1 Reply Last reply Reply Quote 0
                      15 out of 15
                      • First post
                        15/15
                        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.

                        This community forum collects and processes your personal information.
                        consent.not_received