don't try to autoconfigure GPIO devices
This commit is contained in:
parent
19fb5240c6
commit
828734e007
|
@ -700,7 +700,10 @@ static void handle_hotplug(android_input_t *android,
|
|||
settings->input.vid[*port] = params.vid;
|
||||
|
||||
strlcpy(params.driver, android_joypad.ident, sizeof(params.driver));
|
||||
autoconfigured = input_config_autoconfigure_joypad(¶ms);
|
||||
|
||||
// Don't try to autoconfigure GPIO devices
|
||||
if (!strstr(android->pad_states[0].name,"Generic I/O Device"))
|
||||
autoconfigured = input_config_autoconfigure_joypad(¶ms);
|
||||
|
||||
if (autoconfigured)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue