diff --git a/include/SDL3/SDL_gamepad.h b/include/SDL3/SDL_gamepad.h index 9d11b8efc5..f0bf60e160 100644 --- a/include/SDL3/SDL_gamepad.h +++ b/include/SDL3/SDL_gamepad.h @@ -977,7 +977,7 @@ extern DECLSPEC Sint16 SDLCALL SDL_GetGamepadAxis(SDL_Gamepad *gamepad, SDL_Game * * \param str string representing a SDL_Gamepad axis * \returns the SDL_GamepadButton enum corresponding to the input string, or - * `SDL_GAMEPAD_AXIS_INVALID` if no match was found. + * `SDL_GAMEPAD_BUTTON_INVALID` if no match was found. * * \since This function is available since SDL 3.0.0. */