Fix dualshock 3 detection bug

This commit is contained in:
Pedro Ribeiro 2017-02-13 21:52:53 +00:00 committed by GitHub
parent 91ebcc0680
commit 6659c6af3a

View File

@ -124,8 +124,7 @@ static int input_autoconfigure_joypad_try_from_conf(config_file_t *conf,
score += 2;
else
{
if ( !string_is_empty(ident)
&& string_is_equal(params->name, ident))
if (strstr(params->name, ident))
score += 1;
}