Use proper index for dinput only flag

This commit is contained in:
Travis Nickles 2017-05-18 18:16:08 -07:00
parent 1e2c57a08a
commit f9de32e184

View File

@ -333,12 +333,12 @@ namespace DS4Windows
if (xinputResult)
{
LogDebug("X360 Controller # " + xinputIndex + " connected");
useDInputOnly[i] = false;
useDInputOnly[Index] = false;
}
else
{
LogDebug("X360 Controller # " + xinputIndex + " failed. Using DInput only mode");
useDInputOnly[i] = true;
useDInputOnly[Index] = true;
}
}