Man page - sdl_setjoystickeventsenabled(3)

Packages contas this manual

Manual

SDL_SetJoystickEventsEnabled(3) SDL3 FUNCTIONS SDL_SetJoystickEventsEnabled(3)

SDL_SetJoystickEventsEnabled - Set the state of joystick event processing.

Defined in SDL3/SDL_joystick.h

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

If joystick events are disabled, you must call

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

whether to process joystick events or not.

This function is available since SDL 3.2.0.

(3), SDL_JoystickEventsEnabled(3), (3), SDL_UpdateJoysticks(3)

SDL 3.2.10 Simple Directmedia Layer