From 8c3239dee50f06a959b7e772570c716a757315ca Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 29 Dec 2022 22:10:35 -0800 Subject: [PATCH] Fixed documentation warning --- include/SDL3/SDL_gamepad.h | 2 +- include/SDL3/SDL_joystick.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_gamepad.h b/include/SDL3/SDL_gamepad.h index f88e640c3..0861a664f 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 b6de79227..c3ac43694 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. *