I have a somewhat strange problem, didn't find any information on that on the net so far.
I have connected 2 NES controllers via the RetroPi GPIO adapter and used the recent RetroPi Project SD card image (1.4.1) with gamepad driver 2.1.0. I have configured the driver to use 2 NES pads. emulationstation loads up fine and shows my roms. In the menu, if I don't touch anything, sometimes the cursor moves automatically and selects a rom which then starts up. If I press the button on the GPIO adapter 3 times, the emulator stops and I'm back in the menu as expected. Then randomly after a few seconds or even minutes, another rom is selected automatically (as if I'm pressing buttons, but I'm not!).
Now I would expect that there is a short circuit or something, but if that was the case I would expect the same behaviour in-game too, random key-presses during game-play. But that is not the case! As soon as a rom is loaded I don't experience that "unwanted keypresses" anymore.
Is there any way to circumvent this or maybe configure the driver to only except key presses that are longer as for example 10ms?
Any help is appreciated.
I think I MAY have found the solution myself to the problem. I checked js0 with jstest and wasn't able to notice any of these 'unwanted keypresses'. Then I checked js1 and it was flickering like hell. No pad was connected to the 2nd port btw. And it seems that exactly that was the problem. Now that I have connected the 2nd pad to the 2nd port, the emulationstation menu is stable. At least for the past few minutes.