From 774a3a0ab1b8d0717b412bb2aadc0168d930e87d Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 27 Aug 2026 11:06:05 -0400
Subject: [PATCH] joystick: Fixed `\since` version for new sensor APIs.
---
include/SDL3/SDL_joystick.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/SDL3/SDL_joystick.h b/include/SDL3/SDL_joystick.h
index be9a8817346da..75e166ff42f6f 100644
--- a/include/SDL3/SDL_joystick.h
+++ b/include/SDL3/SDL_joystick.h
@@ -1262,7 +1262,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetJoystickButton(SDL_Joystick *joystick, i
*
* \threadsafety It is safe to call this function from any thread.
*
- * \since This function is available since SDL 3.2.0.
+ * \since This function is available since SDL 3.6.0.
*
* \sa SDL_GetJoystickSensorData
* \sa SDL_GetJoystickSensorDataRate
@@ -1283,7 +1283,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_JoystickHasSensor(SDL_Joystick *joystick, S
*
* \threadsafety It is safe to call this function from any thread.
*
- * \since This function is available since SDL 3.2.0.
+ * \since This function is available since SDL 3.6.0.
*
* \sa SDL_JoystickHasSensor
* \sa SDL_JoystickSensorEnabled
@@ -1299,7 +1299,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetJoystickSensorEnabled(SDL_Joystick *joys
*
* \threadsafety It is safe to call this function from any thread.
*
- * \since This function is available since SDL 3.2.0.
+ * \since This function is available since SDL 3.6.0.
*
* \sa SDL_SetJoystickSensorEnabled
*/
@@ -1314,7 +1314,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_JoystickSensorEnabled(SDL_Joystick *joystic
*
* \threadsafety It is safe to call this function from any thread.
*
- * \since This function is available since SDL 3.2.0.
+ * \since This function is available since SDL 3.6.0.
*/
extern SDL_DECLSPEC float SDLCALL SDL_GetJoystickSensorDataRate(SDL_Joystick *joystick, SDL_SensorType type);
@@ -1333,7 +1333,7 @@ extern SDL_DECLSPEC float SDLCALL SDL_GetJoystickSensorDataRate(SDL_Joystick *jo
*
* \threadsafety It is safe to call this function from any thread.
*
- * \since This function is available since SDL 3.2.0.
+ * \since This function is available since SDL 3.6.0.
*/
extern SDL_DECLSPEC bool SDLCALL SDL_GetJoystickSensorData(SDL_Joystick *joystick, SDL_SensorType type, float *data, int num_values);