fix
This commit is contained in:
parent
bae6dd7c79
commit
c8671139e8
|
@ -656,7 +656,7 @@ static void handle_hotplug(android_input_t *android,
|
||||||
{
|
{
|
||||||
/* hack for remote control type devices, set them always to port 0 */
|
/* hack for remote control type devices, set them always to port 0 */
|
||||||
*port = 0;
|
*port = 0;
|
||||||
if (strstr(device_name, "Virtual") || (strstr(device_name, "gpio"))
|
if (strstr(device_name, "Virtual") || (strstr(device_name, "gpio")))
|
||||||
strlcpy(name_buf, "Generic I/O Device", sizeof(name_buf));
|
strlcpy(name_buf, "Generic I/O Device", sizeof(name_buf));
|
||||||
else
|
else
|
||||||
strlcpy(name_buf, device_name, sizeof(name_buf));
|
strlcpy(name_buf, device_name, sizeof(name_buf));
|
||||||
|
|
Loading…
Reference in New Issue