Man page - sdl_joystickconnected(3)

Packages contas this manual

Manual

SDL_JoystickConnected(3) SDL3 FUNCTIONS SDL_JoystickConnected(3)

SDL_JoystickConnected - Get the status of a specified joystick.

Defined in SDL3/SDL_joystick.h

#include "SDL3/SDL.h"
bool SDL_JoystickConnected(SDL_Joystick *joystick);

the joystick to query.

Returns true if the joystick has been opened, false if it has not; call SDL_GetError () for more information.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer