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

    Gamepads making involuntary movements in Emulation Station

    Scheduled Pinned Locked Moved Help and Support
    gamepadcontroller
    109 Posts 42 Posters 47.5k 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.
    • cardulaC
      cardula @megafacehead
      last edited by

      @megafacehead - Thank you so much! I've been fighting with phantom inputs with my pi3 since the day I got it 2 months ago. The Mayflash adapter works very well. For the first time, I now have my Wii U Pro Controller along with my PS3 controller (using the custom Bluetooth driver) working in seamless wireless harmony.

      Originally, I was using the on-baord Bluetooth adapter for the Wii U Pro Controller, and was getting phantom inputs randomly, about once every 30-120 minutes. Things got worse once I added a second controller. I was using the on-board Bluetooth adapter for the Wii U controller, and wiring the PS3 controller to a self powered USB hub (plugging it directly into the pi resulted in random under-voltage alarms with the lightning bolt symbol, I assume that charging the controller while using it drew too much juice). However, having both the Wii U Pro Controller along with the ps3 controller simultaneously connected caused the phantom input issue to increase 100 fold.

      p.s. Agreed, the retropie project is indeed the 8th wonder of the world. FWIW, I'm very grateful for your suggestions.

      1 Reply Last reply Reply Quote 0
      • Daniel64D
        Daniel64
        last edited by

        I, too, have sever problems with my Wii U Pro Controller. I wouldn't mind the occasional button press, but it randomly ghost presses Select + Start every couple of minutes, which makes everything literally unplayable.

        I don't want to invest another 20 bucks for the Mayflash and I also don't want any cables and stuff attached to my RetroPie 3.

        Can someone tell me why the ghost presses happen? Is this a problem with the Bluetooth chip on the RetroPie, a kernel or something else? Can this be fixed by the RetroPie programmers?

        edmaul69E 1 Reply Last reply Reply Quote 0
        • edmaul69E
          edmaul69 @Daniel64
          last edited by

          @Daniel64 just curious, what kind of power supply are you using? What is the volts and amps output on it? Is it a phone charger? And what pi are you using? Im guessing the 3 but not sure.

          Daniel64D 1 Reply Last reply Reply Quote 0
          • Daniel64D
            Daniel64
            last edited by Daniel64

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Daniel64D
              Daniel64 @edmaul69
              last edited by

              @edmaul69 I'm using the official one which outputs 5.1V at 2.5A.

              1 Reply Last reply Reply Quote 0
              • W
                W1thM4sk
                last edited by

                Hello everyone greetings from Belgium.
                My problem is this , as the screen for my gamepad configuration appears
                The screen says That there is no gamepad inserted ,
                Even though I have put my Xbox 360 controller in the usb port.
                What would be the problem?

                1 Reply Last reply Reply Quote 0
                • B
                  blargsnarf
                  last edited by blargsnarf

                  I just wanted to bump this to say this is still an issue - using two iBuffalo SNES pads, getting bad ghosting every couple minutes in ES menu.

                  Using this powersupply: https://www.amazon.com/EasyAcc-Charger-Portable-Samsung-External/dp/B00A9PO5AM/?tag=n2qyzdk5zdm-20

                  And this powered hub: https://www.amazon.com/gp/product/B00DQFGJR4/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1

                  The hub made no difference. I was excited as it seemed to work for a couple of days, but then the ghosting started again.

                  Edit: Another fyi, I had two of these (and a 2-to-1 usb adapter) laying around: https://www.amazon.com/Controllers-Bundle-Nintendo-Packaging-Generic/dp/B01J4JTZ0S/ - so I tried those. Plugged into the adapter, adapter plugged into my hub, hub plugged into the Pi. No problems so far, left it running in the ES menu for a couple hours and it didn't move.

                  So, that's good. Will be returning the Buffalo pads. The Buffalos feel 1000x better, but these ones don't ghost, so... :/

                  1 Reply Last reply Reply Quote 1
                  • T
                    tropez
                    last edited by

                    Running into this issue as well, using the onboard bluetooth and Wii U Pro (knockoff) controllers as well as PS4 controllers and I get random ghost inputs, games start on their own, menus change, etc simply when the controller is powered on and sitting on my desk. I'm going to order a usb bluetooth dongle and bypass the onboard bluetooth to see if that helps and I will report back.

                    1 Reply Last reply Reply Quote 0
                    • A
                      adawalli
                      last edited by

                      This is not a wireless vs wired problem. The buffalo (and many other wired controllers if you search the interwebs) suffer from this. I am thinking it's an emulation station issue.

                      I am really surprised that I haven't found any evidence of anyone getting a trace of the USB events during these phantom presses. When I get back to my RPI3, I can investigate, but a couple of ideas..

                      • use USB_MON and dump all events
                      • use FUNCTION_TRACE to check the EVENT rings
                      • Use a USB analyzer to see if any phantom events are sent (I have a couple of expensive analyzers at work I could use to do this)

                      Also, some folks have speculated that

                      • Only people with Video thumbnails are affected? This seems unlikely, but worth a shot...I know I have video previews and I also have this issue
                      • Deleting the controller config appears to help some folks and rebuilding from scratch
                      • Using a powered USB hub kinda sorta fixes it...but this can only be true if we are getting true USB packets from these 'PHANTOM' inputs
                      dankcushionsD 1 Reply Last reply Reply Quote 0
                      • T
                        tropez
                        last edited by

                        Yesterday I disabled the onboard Bluetooth and installed a USB Bluetooth dongle in my unit. I haven't had a single ghost input since then. I will report back if things change. I went with this dongle for $14.

                        https://www.amazon.com/gp/product/B009ZIILLI/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1

                        1 Reply Last reply Reply Quote 0
                        • dankcushionsD
                          dankcushions Global Moderator @adawalli
                          last edited by

                          @adawalli said in Gamepads making involuntary movements in Emulation Station:

                          This is not a wireless vs wired problem. The buffalo (and many other wired controllers if you search the interwebs) suffer from this. I am thinking it's an emulation station issue.

                          I am really surprised that I haven't found any evidence of anyone getting a trace of the USB events during these phantom presses. When I get back to my RPI3, I can investigate, but a couple of ideas..

                          • use USB_MON and dump all events
                          • use FUNCTION_TRACE to check the EVENT rings
                          • Use a USB analyzer to see if any phantom events are sent (I have a couple of expensive analyzers at work I could use to do this)

                          people have used jstest to see the ghosts happening. and similar tests in window. it's a hardware issue. most games/interfaces probably ignore single input frames, which ES probably should be changed to do.

                          Also, some folks have speculated that

                          • Only people with Video thumbnails are affected? This seems unlikely, but worth a shot...I know I have video previews and I also have this issue
                          • Deleting the controller config appears to help some folks and rebuilding from scratch
                          • Using a powered USB hub kinda sorta fixes it...but this can only be true if we are getting true USB packets from these 'PHANTOM' inputs

                          only the last is potentially viable (it worked for me), and my working theory is that it reduces/stops whatever electrical interference is happening when directly connected, at least in my setup.

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

                            Jeez... I also just got myself a Pi and a Buffalo gamepad and am having this same issue. As others have said, would it be feasible to change the software to not accept button presses that measure in very small input times? Is anyone able to measure exactly how long these phantom button presses are? We gotta figure out how to fix this!

                            1 Reply Last reply Reply Quote 0
                            • P
                              Pussyfoot
                              last edited by

                              Well, this explains my Kodi issue. I've never had an issue while playing games.

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jenslyn87
                                last edited by

                                Well, I have this issue big time. Bought 2 Buffalo controllers. Didn't know of this problem when I bought them, or obviously I wouldn't have. Both ghost heavily in EmuStation, but I rarely see ghosting in game. Damnit. What makes it extra frustrating is that I bought one of them as a present for a friend.

                                If anyone has figured out a fix, please let me know. I don't suppose disabling Blutooth does anything?

                                I've been pressing the 'clear' button together with the ghosty buttons like no tomorrow, but to no avail. I've also tried deleting the controller config file, thereby resetting the inputs. Also doesn't work. Tried different USB ports--nope.

                                Some people say it's a hardware issue, but I think it's not so simple. These controllers don't malfunction in other setups. My guess would be that these controllers are exceptionally prone to these sorts of problems, and that, at the same time, Retropie/EmuStation is promoting of them as well.

                                My PS3 controller (Bluetooth) and two crappy PiHut controllers have no ghosting issues whatsoever. Ofc the Buffalos, which I think are amazing, have the issue :/

                                1 Reply Last reply Reply Quote 0
                                • AddisonA
                                  Addison @dankcushions
                                  last edited by

                                  @dankcushions said in Gamepads making involuntary movements in Emulation Station:

                                  with my ibuffalo pads i "fixed" this issue by connecting them via a powered usb hub. i think for them specifically the issue is caused by electrical inteference or something like that.

                                  I just now caught this response.

                                  Could you kindly post a link on where to purchase these powered usb hub thingies?

                                  dankcushionsD 1 Reply Last reply Reply Quote 0
                                  • BobHarrisB
                                    BobHarris
                                    last edited by BobHarris

                                    I also have issues with my Dual shock 4 controller. When I scroll through a games list , the controller keeps scrolling on it's own every time the system lags for a little bit. I remedied this for the most part by reducing the size of some of my custom boxart images. Before I did this, I could hardly choose a game because of all the automatic scrolling.
                                    I have similar issues in the N64 emulator. When I use select + L1 to load a save state, I keep strafing to the left, because the emulator still thinks I am holding the L1 button.

                                    Pi 3B , 64 GB Sandisk ultra flashdrive, 19 systems, 872 hand picked classic gaming gems :-) Dual shock 4v2

                                    1 Reply Last reply Reply Quote 1
                                    • dankcushionsD
                                      dankcushions Global Moderator @Addison
                                      last edited by

                                      @addison said in Gamepads making involuntary movements in Emulation Station:

                                      @dankcushions said in Gamepads making involuntary movements in Emulation Station:

                                      with my ibuffalo pads i "fixed" this issue by connecting them via a powered usb hub. i think for them specifically the issue is caused by electrical inteference or something like that.

                                      I just now caught this response.

                                      Could you kindly post a link on where to purchase these powered usb hub thingies?

                                      this is the one i have: https://www.amazon.co.uk/Belkin-Ultra-Powered-Power-Supply/dp/B0061RSACG

                                      i can't g'tee it will solve the issue for everyone, though. if my theory is correct, there will be many factors at play. that said, it is good to have a powered hub with a raspberry pi anyway - more ports and doesn't sap power away from the board.

                                      1 Reply Last reply Reply Quote 1
                                      • rogeriolR
                                        rogeriol
                                        last edited by

                                        just to report I'm also having this with a WiiU Pro Controller. Another 8bitdo NES30 is fine, no ghosts.
                                        The WiiU one has lots of them, several per minute. Odd.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          Brunnis
                                          last edited by Brunnis

                                          I just got two Buffalo SNES controllers. I quickly noticed that one appears to have ghost/phantom inputs and the other doesn't. I've tested both controllers on RetroPie (RPi 3) and my Dell laptop running Windows + RetroArch. Same issue.

                                          I noticed that my controller didn't appear to "press" any other buttons than the directional ones. So, I opened up Windows' Game Controllers dialog to check if I could spot any issues. Lo and behold, on the controller with the phantom input issue, the little marker in the X/Y axis box sort of vibrates, with miniscule X/Y inputs occuring all the time.

                                          When I did the same test with the controller that appears to be fine, no such small phantom inputs could be seen. The little marker stays put in the middle of the X/Y axis box.

                                          I now tried different USB ports on my laptop. Turns out there's noticeably less movement occuring on one of the other ports. I also tried connecting the controller to my monitor's built-in USB hub. No more phantom inputs!

                                          So, it seems there is a hardware issue with these controllers. Like @dankcushions, I'd guess that this is caused by insufficient power supply filtering. That's why changing ports can affect this, since different ports can pick up different amounts of interference/noise which is then passed on to the controller.

                                          It's also interesting that the D-pad on the Buffalo controller actually appears to present itself as an analog stick. If this was a purely on/off digital button like the others, we probably wouldn't have this issue.

                                          Now we need to figure out how to fix it. Unfortunately, there's no point in doing a software fix. This needs to be fixed with a soldering iron. My guess is that the little microcontroller in the gamepad gets fed 5V on the X/Y axis inputs when no button is pressed and those 5V get pulled down to ground when the D-pad is pressed. So, the first thing I'd do is to use an oscilloscope to check for ripple on this 5V supply. One potential fix would be to cut the 5V cable just before it goes into the PCB and put a small ferrite bead there, but that's just speculation at this point.

                                          Unfortunately, I don't have much time for this kind of stuff these days, so I'm not sure when I'll be able to look at it. I also don't have an oscilloscope readily available (but I can get hold of one with some effort). So, feel free to help out with this if you can!

                                          dankcushionsD 1 Reply Last reply Reply Quote 1
                                          • dankcushionsD
                                            dankcushions Global Moderator @Brunnis
                                            last edited by

                                            @brunnis thanks!

                                            IMO this could still potentially be fixed by the software. games themselves are probably immune to this kind of interference - if you tap a direction for a less than a frame it's probably not going to have a gameplay effect. i half suspect that consoles games/BIOS would ignore these kind of inhuman inputs anyway, rather than rely on zero electrical interference.

                                            i think it would be feasible to make emulationstation ignore these kind of inputs and that would 'solve' the problem, but like you - i have no time :)

                                            1 Reply Last reply Reply Quote 1
                                            • 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.