====== Fixing the iBuffalo SNES Controller Problem ====== The iBuffalo controllers are built really well. Problem is, they have phantom button presses on them. There are fixes for this that have been found to fix the ghost button presses. Normally it wouldn't matter that much but you'll be playing a game or watching a movie on KODI and it will take you out of the game or movie. It appears that many people have reported the problem. Also more than one has said, if the controller is plugged into a powered USB hub that it doesn't seem to have the problem. So there's a power issue overall. Unstable power (relatively) will cause phantom presses perhaps. * https://www.reddit.com/r/emulation/comments/7g2d0n/howto_fix_phantomghost_input_on_ibuffalobuffalo/?st=jk90yrva&sh=843034bf * https://forums.libretro.com/t/howto-fix-phantom-ghost-input-on-ibuffalo-buffalo-snes-controllers/13501 * https://retropie.org.uk/forum/topic/479/ibuffalo-usb-snes-style-gamepad-issue/14 * https://github.com/Aloshi/EmulationStation/issues/470 Below will be a discussion about a soldered hardware fix. But a couple others might be worth doing ahead of time. ------ **@gaavoid** I was getting this issue with the iBuffalo controllers but I somehow seem to have fixed it. I went into the emulationstation config (/opt/retropie/configs/all/emulationstation/es_input.cfg) and removed the controller config for the controller entirely. I went back to onto my actual Pi after rebooting and set it up as a new contoller. Now it doesn't skip though the menus at all. The only difference made to the config file really, is that the iBuffalo input config is now at the very bottom of the input list instead of being the first on the list. I don't know or understand why this has made a difference but I'm not getting any ghost inputs at all. I've currently left it for over 2 hours and there's been no movement. ------ **@Archonis** @gaavoid You are the man! This fixed controller input ghosting for me as well. This is the 4th RetroPie I have setup, and the first time this issue has appeared, so I was afraid that the iBuffalo controller was bad, but this fixed the issue. Thanks! ------ **@ponny** I tried removing the es_input.cfg and re-setting them. The controller still went up from time to time in menus so I mashed up then clear, clear then up, hold up then clear, hold clear then up a few times (I don't actually know how the clear function works). All good now :-) ------ ==== Text from the Reddit Post ==== I recently bought a couple of Buffalo SNES controllers (same as iBuffalo), since they were said to be the best. I knew that some complained about phantom/ghost presses on the d-pad (i.e. the d-pad is sending button presses even though it's not being pressed) but I thought I'd take my chances. Of course, I ended up getting one seemingly fully working controller and one with frequent ghost inputs. I also got hold of another pair from a friend. Turns out one of those controllers seems to work fine as well, while the other also has ghost inputs. Still a small sample size, but these controllers may have a pretty high failure rate... I discovered that the bad controllers had ghost inputs whether being used on RetroPie on a Pi3 or connected to my Dell laptop running Windows 10 and RetroArch. One interesting finding was when I opened Windows' Game Controllers dialog and noticed that both of the defective controllers had tiny spontaneous d-pad movements occuring at all times. The little cross in the x/y box would simply "vibrate" around the center even though the controller was just laying on the desk. These tests convinced me that this is a hardware issue, probably related to insufficient power supply filtering. I now believe I've come up with a fix that works on the two controllers I've tried it on. I just finished testing the last controller, where I've let RetroPie sit in the ES menu since yesterday (16 hours) and the menu selection is still where I left it. It's of course possible that it has moved away and then back to the starting position between checks, but I have checked the screen pretty frequently during these 16 hours and haven't seen any changes. Please note: YMMV. This phantom input issue probably varies in severity between controllers and I can't guarantee that the fix will remove the issue on all controllers. The fix consists of replacing the two 4.7µF through-hole mounted electrolytic capacitors that are visible from the PCB back side with 22µF ones. I've also added an extra 10µF electrolytic capacitor close to the microcontroller input. I've used the following caps: [[https://www.mouser.se/Search/ProductDetail.aspx?R=UMA1C220MDD1TPvirtualkey64700000virtualkey647-UMA1C220MDD1TP|Nichicon UMA1C220MDD1TP (22µF, 16V)]] [[https://www.mouser.se/Search/ProductDetail.aspx?R=UMA1C100MDD1TPvirtualkey64700000virtualkey647-UMA1C100MDD1TP|Nichicon UMA1C100MDD1TP (10µF, 16V)]] The photos below show the three caps installed on the PCB: [[https://i.imgur.com/Jx6MNz3.jpg|PCB back side]] [[https://i.imgur.com/B9NgvAc.jpg|PCB front side]] Please note: It's possible that other cap values or setups (for example omitting the extra cap that was added and beefing up the other one) would work. I didn't have time to go crazy with the details/testing. This is what worked for me and probably will for you as well, but feel free to experiment. It would be great to hear back from anyone else who tries this. If the procedure looks daunting, I'd just start with adding a 22µF cap in parallel with the left one in the first photo above (the one marked C13). That way, you don't have to remove the old cap and it's possible that this is enough to fix the issue on your particular controller.