logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_JoystickEventsEnabled - Query the state of joystick event processing.

Availability

       This function is available since SDL 3.2.0.

Description

       If joystick events are disabled, you must call

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

Header File

       Defined in SDL3/SDL_joystick.h

Name

       SDL_JoystickEventsEnabled - Query the state of joystick event processing.

Return Value

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

See Also

â€ĸ(3), SDL_SetJoystickEventsEnabled(3)

Simple Directmedia Layer                           SDL 3.2.10                       SDL_JoystickEventsEnabled(3)

Synopsis

#include"SDL3/SDL.h"boolSDL_JoystickEventsEnabled(void);

See Also