SDL_JoystickEventsEnabled - Man Page

Query the state of joystick event processing.

Header File

Defined in SDL3/SDL_joystick.h

Synopsis

#include "SDL3/SDL.h"

bool SDL_JoystickEventsEnabled(void);

Description

If joystick events are disabled, you must call

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

Return Value

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

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_SetJoystickEventsEnabled(3)

Referenced By

SDL_SetJoystickEventsEnabled(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS