mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 00:47:39 +00:00
Use the Valve code name for the Steam Deck controller
This commit is contained in:
parent
43c40d30a2
commit
ffb8515c21
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue