Ver Fonte

Added a note about SDL_HINT_AUTO_UPDATE_JOYSTICKS to the SDL_UpdateJoysticks() docs

Sam Lantinga há 3 semanas atrás
pai
commit
e134d6fd7e
1 ficheiros alterados com 1 adições e 1 exclusões
  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.
  *