Hi guys, I have the same problem with Batocera 5.24 on Tinker board and a "Twin USB Gamepad".
After booting, I have for example two controllers in configuration panel :
#0 TWIN USB GAMEPAD
#1 TWIN USB GAMEPAD
Each time I start a game, controllers are not usable and controllers IDs are rising. So I have then in configuration panel :
#2 TWIN USB GAMEPAD
#3 TWIN USB GAMEPAD
I want to mention that I had to specify the /boot/extlinux/extlinux.conf boot line to have my two controllers well detected (as two independants controllers) :
APPEND initrd=/boot/initrd.gz label=BATOCERA usbhid.quirks=0x810:0xe001:0x040 rootwait quiet loglevel=0 console=ttyS2
My controller is this one :
Thanks for your help !