Man page - sdl_joystickeventsenabled(3)

Packages contas this manual

Manual

SDL_JoystickEventsEnabled(3) SDL3 FUNCTIONS SDL_JoystickEventsEnabled(3)

SDL_JoystickEventsEnabled - Query the state of joystick event processing.

Defined in SDL3/SDL_joystick.h

#include "SDL3/SDL.h"
bool SDL_JoystickEventsEnabled(void);

If joystick events are disabled, you must call

SDL_UpdateJoysticks () yourself and check the state of the joystick when you want joystick information.

Returns true if joystick events are being processed, false otherwise.

This function is available since SDL 3.2.0.

(3), SDL_SetJoystickEventsEnabled(3)

SDL 3.2.10 Simple Directmedia Layer