no need to name the device like the Shield controller, this will reduce OSD spam when hitting back
This commit is contained in:
parent
00b60be3a7
commit
6dc06885fb
|
@ -643,7 +643,7 @@ static void handle_hotplug(android_input_t *android,
|
||||||
{
|
{
|
||||||
/* If built-in shield controller is detected bind the virtual and gpio devices to the same port*/
|
/* If built-in shield controller is detected bind the virtual and gpio devices to the same port*/
|
||||||
*port = 0;
|
*port = 0;
|
||||||
strlcpy(name_buf, "NVIDIA Corporation NVIDIA Controller v01.01", sizeof(name_buf));
|
strlcpy(name_buf, "Generic GPIO Device", sizeof(name_buf));
|
||||||
}
|
}
|
||||||
else if (
|
else if (
|
||||||
strstr(device_name, "PLAYSTATION(R)3") ||
|
strstr(device_name, "PLAYSTATION(R)3") ||
|
||||||
|
|
Loading…
Reference in New Issue