SDL_SetJoystickEventsEnabled3
Set the state of joystick event processing.
Usage
#include "SDL3/SDL.h"
void SDL_SetJoystickEventsEnabled(bool enabled);
Header file
Defined in SDL3/SDL_joystick.h
Overview
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.