sdl2_frt/src/joystick/android
Sam Lantinga 2a945b44cb Fixed bug 2361 - [Android] Joysticks do not have unique IDs
David Brady

When I attempted to make a mapping file for Android gamepads, I quickly discovered that most of the ones that I have here show up as the same device (Broadcom Bluetooth HID), meaning that it was impossible to make mappings on Android, since every device looked the same.

This patch will check for the existence of the getDescriptor function added in Jelly Bean, and use it if it's there.  The Android Dashboard says that the majority of Android phones should support this function, and doing it this way will not force us to bump up our API version.
2017-08-28 10:03:39 -07:00
..
SDL_sysjoystick_c.h Fixed bug 2361 - [Android] Joysticks do not have unique IDs 2017-08-28 10:03:39 -07:00
SDL_sysjoystick.c Fixed bug 2361 - [Android] Joysticks do not have unique IDs 2017-08-28 10:03:39 -07:00