SDL_SetJoystickEventsEnabled - Man Page
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)
Referenced By
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS