RetroArch/input/drivers_joypad
David Demelier e99049a8ff Use EVIOCGID's ioctl to get vendor/product id, #6325
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
2018-02-23 09:19:43 +01:00
..
android_joypad.c Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
ctr_joypad.c Change to 256bit macros 2017-12-05 12:07:35 +01:00
dinput_joypad.c Clean up trailing whitespace 2017-12-12 00:24:18 -08:00
dinput_joypad.h (MSVC) Buildfix 2017-12-06 04:33:54 +01:00
dos_joypad.c Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
gx_joypad.c Change to 256bit macros 2017-12-05 12:07:35 +01:00
hid_joypad.c Change to 256bit macros 2017-12-05 12:07:35 +01:00
linuxraw_joypad.c Change to 256bit macros 2017-12-05 12:07:35 +01:00
mfi_joypad.m Move defines to retro_miscellaneous.h 2017-12-05 10:42:37 +01:00
null_joypad.c Change to 256bit macros 2017-12-05 12:07:35 +01:00
parport_joypad.c Change to 256bit macros 2017-12-05 12:07:35 +01:00
ps3_joypad.c Change to 256bit macros 2017-12-05 12:07:35 +01:00
psp_joypad.c Change to 256bit macros 2017-12-05 12:07:35 +01:00
qnx_joypad.c Start using input_config_get_device_name 2017-04-25 16:04:28 +02:00
rwebpad_joypad.c add builtin autoconf script for emscripten gamepads with "standard" mapping 2018-01-14 04:24:37 -06:00
sdl_joypad.c Clean up trailing whitespace 2017-12-12 00:24:18 -08:00
switch_joypad.c allow joycons to work while attached 2018-01-07 12:10:28 +01:00
udev_joypad.c Use EVIOCGID's ioctl to get vendor/product id, #6325 2018-02-23 09:19:43 +01:00
wiiu_joypad.c Fix memory management bugs 2018-01-27 22:54:59 -08:00
xdk_joypad.c Revert "(xdk_joypad.c) Cleanups" 2018-01-21 01:48:28 +01:00
xinput_joypad.c Add initial VS2013 solution 2018-01-24 01:29:45 +01:00