Provided by: libsdl3-doc_3.2.8+ds-1_all 

NAME
SDL_SetJoystickEventsEnabled - Set the state of joystick event processing.
HEADER FILE
Defined in SDL3/SDL_joystick.h
SYNOPSIS
#include "SDL3/SDL.h"
void SDL_SetJoystickEventsEnabled(bool enabled);
DESCRIPTION
If joystick events are disabled, you must call
SDL_UpdateJoysticks () yourself and check the state of the joystick when you want joystick information.
FUNCTION PARAMETERS
enabled
whether to process joystick events or not.
AVAILABILITY
This function is available since SDL 3.2.0.
SEE ALSO
•(3), SDL_JoystickEventsEnabled(3), •(3), SDL_UpdateJoysticks(3)
Simple Directmedia Layer SDL 3.2.8 SDL_SetJoystickEventsEnabled(3)