How to configure two similar gamepads, with same vendor and device IDs?

Hello all,

I looked for it in the forum before but didn’t find any related information, if the question was asked previously please let me know, thanks.

I installed Lakka on my Raspberry Pi 2. I configured the controllers manually on Lakka. First it was kind of difficult to configure the controllers without a keyboard, all through ssh with my phone, but I eventually managed to do it :wink: Now I have a problem: both gamepads have exactly the same vendor and device ID, I can verify that with lsusb (even if they are slightly different models but that doesn’t matter). How should I let the system know which one is controller 1 and which one is controller 2? Is there at least a way to do it? I understand the USB port on which they are connected are not relevant but if so I am not sure the software has any hardware way to tell which is which, and I’d like being able to play at two at the same time without having to disconnect either gamepad… Thanks!

Julien

When you look at the device index in your input settings, they should be numbered as whatever #1 and whatever #2 but that doesn’t tell you anything about which physical controller is which, and, if they’re always plugged in, there’s no guarantee that controller 1 will still be controller 2 next time you start up.

I know that doesn’t exactly answer your question but just FYI.

hunterk,

Thanks for your reply. The problem is that I could deal with it if controller 1 remained controller 1 and same for controller 2 until the next boot, but unfortunately they seem to switch within a single session… Somewhat unrelated: how do you quit a game when you don’t have a mouse or keyboard? that’s another problem I have since I have neither and it seems I can’t configure an “exit” in the gamepads themselves. Thanks.

Hmm, they certainly shouldn’t be jumping around in a single session :confused: Do you get OSD messages (the yellow blocky text) saying they’re connecting/disconnecting frequently?

To exit, go back into the menu and you can use ‘close content’ to close out of that core/content and go back to the main menu, or you can just navigate up to the main menu without closing content and choose ‘quit retroarch’ to exit completely.

It seems it does happen even when I don’t disconnect them, I’ll confirm on that later today if I can.

My problem is without keyboard I can’t go back into the menu… :wink:

You can bind ‘menu toggle’ to a gamepad button using the settings > input > hotkey binds. There’s also a ‘hotkey enable’ that you can map that will let you do some limited combos, like hotkey_enable+retropad-y=menu_toggle.

Thanks I didn’t have time to try that yesterday, I’ll try it today maybe.

So guys, no reply as to how to bind permanently a specific controller so that it’s always controller #1? Thanks