From 6fb188eb35f84eeb0b77c351f83730478072eb99 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Tue, 23 Jan 2024 03:24:26 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_gamepad.h | 6 ++++-- include/SDL3/SDL_joystick.h | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/SDL3/SDL_gamepad.h b/include/SDL3/SDL_gamepad.h index 22137e10c..2707feec3 100644 --- a/include/SDL3/SDL_gamepad.h +++ b/include/SDL3/SDL_gamepad.h @@ -1182,7 +1182,8 @@ extern DECLSPEC int SDLCALL SDL_GetGamepadSensorData(SDL_Gamepad *gamepad, SDL_S * Query gamepad capabilities * * \param gamepad The gamepad to query - * \returns a mask of SDL_GamepadCaps values indicating the gamepad capabilities. + * \returns a mask of SDL_GamepadCaps values indicating the gamepad + * capabilities. * * \since This function is available since SDL 3.0.0. */ @@ -1239,7 +1240,8 @@ extern DECLSPEC int SDLCALL SDL_RumbleGamepadTriggers(SDL_Gamepad *gamepad, Uint * An example of a joystick LED is the light on the back of a PlayStation 4's * DualShock 4 controller. * - * For gamepads with a single color LED, the maximum of the RGB values will be used as the LED brightness. + * For gamepads with a single color LED, the maximum of the RGB values will be + * used as the LED brightness. * * \param gamepad The gamepad to update * \param red The intensity of the red LED diff --git a/include/SDL3/SDL_joystick.h b/include/SDL3/SDL_joystick.h index 0d26ac726..c55bc5087 100644 --- a/include/SDL3/SDL_joystick.h +++ b/include/SDL3/SDL_joystick.h @@ -893,7 +893,8 @@ extern DECLSPEC Uint8 SDLCALL SDL_GetJoystickButton(SDL_Joystick *joystick, * Query joystick capabilities * * \param joystick The joystick to query - * \returns a mask of SDL_JoystickCaps values indicating the joystick capabilities. + * \returns a mask of SDL_JoystickCaps values indicating the joystick + * capabilities. * * \since This function is available since SDL 3.0.0. */ @@ -951,7 +952,8 @@ extern DECLSPEC int SDLCALL SDL_RumbleJoystickTriggers(SDL_Joystick *joystick, U * An example of a joystick LED is the light on the back of a PlayStation 4's * DualShock 4 controller. * - * For joysticks with a single color LED, the maximum of the RGB values will be used as the LED brightness. + * For joysticks with a single color LED, the maximum of the RGB values will + * be used as the LED brightness. * * \param joystick The joystick to update * \param red The intensity of the red LED