Browse Source

Sync SDL3 wiki -> header

SDL Wiki Bot 1 year ago
parent
commit
6fb188eb35
2 changed files with 8 additions and 4 deletions
  1. 4 2
      include/SDL3/SDL_gamepad.h
  2. 4 2
      include/SDL3/SDL_joystick.h

+ 4 - 2
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

+ 4 - 2
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