Use the Valve code name for the Steam Deck controller

This commit is contained in:
Sam Lantinga 2023-12-28 15:41:02 -08:00
parent 43c40d30a2
commit ffb8515c21
3 changed files with 3 additions and 3 deletions

View file

@ -3002,7 +3002,7 @@ SDL_bool SDL_IsJoystickSteamController(Uint16 vendor_id, Uint16 product_id)
SDL_bool SDL_IsJoystickSteamDeck(Uint16 vendor_id, Uint16 product_id)
{
EControllerType eType = GuessControllerType(vendor_id, product_id);
return eType == k_eControllerType_SteamDeck;
return eType == k_eControllerType_SteamControllerNeptune;
}
SDL_bool SDL_IsJoystickXInput(SDL_JoystickGUID guid)