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

    "Ghost" inputs with usb encoder?

    Scheduled Pinned Locked Moved Help and Support
    ghost inputsusb encoderevtestdragonrise
    5 Posts 2 Posters 615 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.
    • WeirdHW
      WeirdH
      last edited by WeirdH

      I have a 2-player arcade cab with sticks and buttons going into two generic dragonrise usb encoders. The encoders connect up to my Pi3B+. Everything works as expected, but for one minor niggle: sometimes the Emulationstation screensaver (slideshow) stops on its own.

      After some googling around, I ran evtest, because I had read something about ghost inputs. Note that controlling games or navigating gamelists in ES always works fine, so calling it ghost inputs might even be incorrect.

      evtest correctly detects two dragonrise encoders and one Logitech keyboard (I have no bluetooth connections, although the keyboard has its own usb dongle). The keyboard expectedly only registers inputs when I strike a key, but both usb encoders show a constantly scrolling list, as if they are always giving input.

      Is this expected behaviour or is there something wrong with my sticks/encoders? And if so, is there a fix?

      EDIT: jstest does not report constant inputs btw. Which one can I trust?

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

        @WeirdH said in "Ghost" inputs with usb encoder?:

        The keyboard expectedly only registers inputs when I strike a key, but both usb encoders show a constantly scrolling list, as if they are always giving input.

        What kind of events ? Some controllers (like the PS 4 Dualshock) have an accelerometer/mouse included which generates constantly events, since the OS is polling it for changes all the time. They' don't show with jstest because no change is detected, but they're shown by evtest.

        WeirdHW 1 Reply Last reply Reply Quote 1
        • WeirdHW
          WeirdH @mitu
          last edited by WeirdH

          @mitu It says over and over, after a timestamp

          type 3 (EV_ABS), code 2 (ABS_Z), value 130
          -------------- SYN-REPORT--------------
          

          And during scrolling, the value seems to alternate between everything from 130 to 137.

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

            @WeirdH That looks ok, doesn't indicate any 'ghost' inputs.

            WeirdHW 1 Reply Last reply Reply Quote 1
            • WeirdHW
              WeirdH @mitu
              last edited by WeirdH

              @mitu Cool, thanks! That puts my mind at ease.

              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.