Fixed HIDAPI PS4 controller being picked up when running under Steam

Input with PS4 configuration enabled
This commit is contained in:
Sam Lantinga 2022-05-19 16:49:47 -07:00
parent 83ae1b4987
commit b1cf322971
2 changed files with 2 additions and 9 deletions

View file

@ -2562,8 +2562,7 @@ SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid)
return SDL_TRUE;
}
if (SDL_IsGameControllerNameAndGUID(name, guid) &&
SDL_ShouldIgnoreGameController(name, guid)) {
if (SDL_ShouldIgnoreGameController(name, guid)) {
return SDL_TRUE;
}