From 7cd8f6c18879b5d5f5c759171d8ebf1b9cff752d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 30 Nov 2013 17:23:18 +0100 Subject: [PATCH] (Android) Change case sensitivity for detecting JXD S7800b controls --- android/native/jni/input_autodetect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/native/jni/input_autodetect.c b/android/native/jni/input_autodetect.c index cc80d33642..af88338930 100644 --- a/android/native/jni/input_autodetect.c +++ b/android/native/jni/input_autodetect.c @@ -209,7 +209,7 @@ void input_autodetect_setup(void *data, char *msg, size_t sizeof_msg, unsigned p device = DEVICE_BROADCOM_BLUETOOTH_HID; else if (strstr(name_buf, "USB Gamepad")) device = DEVICE_THRUST_PREDATOR; - else if (strstr(name_buf, "ADC Joystick")) + else if (strstr(name_buf, "ADC joystick")) device = DEVICE_JXD_S7800B; else if (strstr(name_buf, "DragonRise")) device = DEVICE_DRAGONRISE;