mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
e99049a8ff
The current code get the USB vendor/product controller, in case of bluetooth connection this means that you get the bluetooth dongle ids instead of gamepads. This is not fine as we match gamepads using their product and vendor ids. Credits go to SDL which helped me to figure out this issue. http://hg.libsdl.org/SDL/file/f7c6b974d5af/src/joystick/linux/SDL_sysjoystick.c#l208