Double buttonpress from controller 2

Hello Everyone!

I just started to using Lakka on Rpi3! After some experimenting and googling I managed to configure my 2 identical, cheap Chinese SNES controllers too to use them in Mario Kart 64. Ofc, I needed to assign L Analog to the D-pad, so You can control the carts too, not only the menu :slight_smile: .

But I still have 1 issue:

When I have both controllers plugged in, one of them works like I double pressed the (any) button on it. I mean, for example, it goes 2 places to the left/right/up/down on the race selection. Even it registers the B (and any and all of them) button as double press. The other controller works just fine, it moves the bracket 1 time.

When the users can control the game separately (ie. the player selection screen/actual race), they works as they should, both users can normally control the UI. The ports/joypads are good, as any of them works perfectly alone. Even checked with jtest mid-game, didn’t noticed any strange behavior.

It seems to me, that the only thing what “decides” which controller/port will be the bad or the good one, is the plug-in sequence (tested mid-game). The BAD-double-pressing-controller will be always the controller, that I plug-in FIRST. The SECONDly attached controller is always the GOOD one.

I had no issues with the exact same setup in retropie.

BTW I using autoconfig (+ the D-Pad as the L Analog), and no key-binding. Without autoconfig, Lakka wasn’t able to distinguish the 2 controllers, I had ONLY “usb gamepad (#0)” in the User 1/2 Device index in the Input User Binds, so only one of them worked.

I hope someone can shed some light on whats going on here? Maybe some advices/good config files? If You find this can be a bug, I can report it on github too, with logfiles if needed.

Thank You in advance!