From e134d6fd7e579f8eac5249b170b869b2a7d44f6c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 11 Feb 2026 09:01:57 -0800 Subject: [PATCH] Added a note about SDL_HINT_AUTO_UPDATE_JOYSTICKS to the SDL_UpdateJoysticks() docs --- include/SDL3/SDL_joystick.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_joystick.h b/include/SDL3/SDL_joystick.h index 2039b7ff03..f0ecc0428f 100644 --- a/include/SDL3/SDL_joystick.h +++ b/include/SDL3/SDL_joystick.h @@ -1132,7 +1132,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_JoystickEventsEnabled(void); * Update the current state of the open joysticks. * * This is called automatically by the event loop if any joystick events are - * enabled. + * enabled and SDL_HINT_AUTO_UPDATE_JOYSTICKS hasn't been set to "0". * * \threadsafety It is safe to call this function from any thread. *