Pārlūkot izejas kodu

Added a note about SDL_HINT_AUTO_UPDATE_JOYSTICKS to the SDL_UpdateJoysticks() docs

Sam Lantinga 3 nedēļas atpakaļ
vecāks
revīzija
e134d6fd7e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/SDL3/SDL_joystick.h

+ 1 - 1
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.
  * Update the current state of the open joysticks.
  *
  *
  * This is called automatically by the event loop if any joystick events are
  * 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.
  * \threadsafety It is safe to call this function from any thread.
  *
  *