mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
Merge pull request #6059 from fr500/staging
make the hack less specific
This commit is contained in:
commit
7b040a52b6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user