diff --git a/include/SDL3/SDL_gamepad.h b/include/SDL3/SDL_gamepad.h index f88e640c3227e..0861a664f6a67 100644 --- a/include/SDL3/SDL_gamepad.h +++ b/include/SDL3/SDL_gamepad.h @@ -655,7 +655,7 @@ extern DECLSPEC SDL_Joystick *SDLCALL SDL_GetGamepadJoystick(SDL_Gamepad *gamepa * yourself and check the state of the gamepad when you want gamepad * information. * - * \param state whether to process gamepad events or not + * \param enabled whether to process gamepad events or not * * \since This function is available since SDL 3.0.0. * diff --git a/include/SDL3/SDL_joystick.h b/include/SDL3/SDL_joystick.h index b6de79227861d..c3ac436949bf3 100644 --- a/include/SDL3/SDL_joystick.h +++ b/include/SDL3/SDL_joystick.h @@ -726,7 +726,7 @@ extern DECLSPEC int SDLCALL SDL_GetNumJoystickButtons(SDL_Joystick *joystick); * yourself and check the state of the joystick when you want joystick * information. * - * \param state whether to process joystick events or not + * \param enabled whether to process joystick events or not * * \since This function is available since SDL 3.0.0. *