From 75d4a91aaa479957e5403a6362834c7435606181 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 17 Jul 2023 13:54:55 -0700 Subject: [PATCH] Use SDL_GAMEPAD_TYPE_UNKNOWN, not SDL_GAMEPAD_TYPE_INVALID --- include/SDL3/SDL_gamepad.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SDL3/SDL_gamepad.h b/include/SDL3/SDL_gamepad.h index 5e92b36ee6..1594517378 100644 --- a/include/SDL3/SDL_gamepad.h +++ b/include/SDL3/SDL_gamepad.h @@ -525,7 +525,7 @@ extern DECLSPEC const char *SDLCALL SDL_GetGamepadPath(SDL_Gamepad *gamepad); * Get the type of an opened gamepad. * * \param gamepad the gamepad object to query. - * \returns the gamepad type, or SDL_GAMEPAD_TYPE_INVALID if it's not + * \returns the gamepad type, or SDL_GAMEPAD_TYPE_UNKNOWN if it's not * available. * * \since This function is available since SDL 3.0.0. @@ -538,7 +538,7 @@ extern DECLSPEC SDL_GamepadType SDLCALL SDL_GetGamepadType(SDL_Gamepad *gamepad) * Get the type of an opened gamepad, ignoring any mapping override. * * \param gamepad the gamepad object to query. - * \returns the gamepad type, or SDL_GAMEPAD_TYPE_INVALID if it's not + * \returns the gamepad type, or SDL_GAMEPAD_TYPE_UNKNOWN if it's not * available. * * \since This function is available since SDL 3.0.0. @@ -728,7 +728,7 @@ extern DECLSPEC void SDLCALL SDL_UpdateGamepads(void); * * \param str string representing a SDL_GamepadType type * \returns the SDL_GamepadType enum corresponding to the input string, or - * `SDL_GAMEPAD_TYPE_INVALID` if no match was found. + * `SDL_GAMEPAD_TYPE_UNKNOWN` if no match was found. * * \since This function is available since SDL 3.0.0. *