From 3ee75e86c5bf043bc986e753c428099ec212872f Mon Sep 17 00:00:00 2001 From: radius Date: Sat, 6 Jan 2018 13:47:54 -0500 Subject: [PATCH] ake the hack less specific --- input/drivers/android_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input/drivers/android_input.c b/input/drivers/android_input.c index a4b12ec11f..6af0a9dc48 100644 --- a/input/drivers/android_input.c +++ b/input/drivers/android_input.c @@ -910,7 +910,7 @@ static void handle_hotplug(android_input_t *android, */ if(strstr(device_model, "SHIELD Android TV") && ( strstr(device_name, "Virtual") || - strstr(device_name, "NVIDIA Corporation NVIDIA Controller v01.03"))) + strstr(device_name, "NVIDIA Corporation NVIDIA Controller v01.0"))) { /* only use the hack if the device is one of the built-in devices */ RARCH_LOG("Special Device Detected: %s\n", device_model); @@ -940,7 +940,7 @@ static void handle_hotplug(android_input_t *android, /* apply the hack only for the first controller * store the id for later use */ - if (strstr(device_name, "NVIDIA Corporation NVIDIA Controller v01.03") + if (strstr(device_name, "NVIDIA Corporation NVIDIA Controller v01.0") && android->pads_connected==0) pad_id1 = id; else if (strstr(device_name, "Virtual") && pad_id1 != -1)