Преглед изворни кода

Added a note about SDL_HINT_AUTO_UPDATE_JOYSTICKS to the SDL_UpdateJoysticks() docs

Sam Lantinga пре 4 месеци
родитељ
комит
e134d6fd7e
1 измењених фајлова са 1 додато и 1 уклоњено
  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.
  *
  * 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.
  *