From 68c61ff3a8f6ba312823f17b2bf3c1d58f11b3b0 Mon Sep 17 00:00:00 2001
From: SDL Wiki Bot <[EMAIL REDACTED]>
Date: Mon, 9 Sep 2024 21:01:45 +0000
Subject: [PATCH] Sync SDL3 wiki -> header
---
include/SDL3/SDL_gamepad.h | 11 ++++++-----
include/SDL3/SDL_joystick.h | 4 ++--
include/SDL3/SDL_keyboard.h | 6 +++---
3 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/include/SDL3/SDL_gamepad.h b/include/SDL3/SDL_gamepad.h
index c1015a46dbb21..450261b081e65 100644
--- a/include/SDL3/SDL_gamepad.h
+++ b/include/SDL3/SDL_gamepad.h
@@ -1252,11 +1252,12 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad *ga
* \param gamepad a gamepad.
* \param touchpad a touchpad.
* \param finger a finger.
- * \param down a pointer filled with SDL_TRUE if the finger is down, SDL_FALSE otherwise, may be NULL.
- * \param x a pointer filled with the x position, normalized 0 to 1, with the origin in the
- * upper left, may be NULL.
- * \param y a pointer filled with the y position, normalized 0 to 1, with the origin in the
- * upper left, may be NULL.
+ * \param down a pointer filled with SDL_TRUE if the finger is down, SDL_FALSE
+ * otherwise, may be NULL.
+ * \param x a pointer filled with the x position, normalized 0 to 1, with the
+ * origin in the upper left, may be NULL.
+ * \param y a pointer filled with the y position, normalized 0 to 1, with the
+ * origin in the upper left, may be NULL.
* \param pressure a pointer filled with pressure value, may be NULL.
* \returns SDL_TRUE on success or SDL_FALSE on failure; call SDL_GetError()
* for more information.
diff --git a/include/SDL3/SDL_joystick.h b/include/SDL3/SDL_joystick.h
index 1b1b734a07d1d..1d6351ffe2f86 100644
--- a/include/SDL3/SDL_joystick.h
+++ b/include/SDL3/SDL_joystick.h
@@ -598,8 +598,8 @@ extern SDL_DECLSPEC SDL_bool SDLCALL SDL_SetJoystickVirtualHat(SDL_Joystick *joy
* \param touchpad the index of the touchpad on the virtual joystick to
* update.
* \param finger the index of the finger on the touchpad to set.
- * \param down SDL_TRUE if the finger is pressed, SDL_FALSE if the
- * finger is released.
+ * \param down SDL_TRUE if the finger is pressed, SDL_FALSE if the finger is
+ * released.
* \param x the x coordinate of the finger on the touchpad, normalized 0 to 1,
* with the origin in the upper left.
* \param y the y coordinate of the finger on the touchpad, normalized 0 to 1,
diff --git a/include/SDL3/SDL_keyboard.h b/include/SDL3/SDL_keyboard.h
index a7d65d6cab163..0cd3d8e1fce5f 100644
--- a/include/SDL3/SDL_keyboard.h
+++ b/include/SDL3/SDL_keyboard.h
@@ -119,9 +119,9 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetKeyboardFocus(void);
* valid for the whole lifetime of the application and should not be freed by
* the caller.
*
- * A array element with a value of SDL_TRUE means that the key is pressed and a value
- * of SDL_FALSE means that it is not. Indexes into this array are obtained by using
- * SDL_Scancode values.
+ * A array element with a value of SDL_TRUE means that the key is pressed and
+ * a value of SDL_FALSE means that it is not. Indexes into this array are
+ * obtained by using SDL_Scancode values.
*
* Use SDL_PumpEvents() to update the state array.
*