Description
Hi
I have a 4 controller device (usb converted arcade cabinet).. where all the controllers are "behind" the same VID/PID:
[LOG] Searching gamepads...
[LOG] Found 4 gamepad(s):
[LOG] "HID 16c0:05df", 00000000c0160000df05000001010000 (mapping available)
[LOG] "HID 16c0:05df", 00000000c0160000df05000001010000 (mapping available)
[LOG] "HID 16c0:05df", 00000000c0160000df05000001010000 (mapping available)
[LOG] "HID 16c0:05df", 00000000c0160000df05000001010000 (mapping available)
(Output from gamepad-tool)
On Windows and using the old standard (/dev/input/js*) the joysticks are always presented in the same order.. but using SDL programs they are randomly changed around, between program restarts and machine reboots..
I have tried playing around with SDL_JOYSTICK_DEVICE, SDL_LINUX_JOYSTICK_CLASSIC and SDL_JOYSTICK_DISABLE_UDEV... but I can't seem to find a way to consistently get the same order...
Any ideas??