SDL_JoystickConnected3
Get the status of a specified joystick.
Usage
#include "SDL3/SDL.h"
bool SDL_JoystickConnected(SDL_Joystick *joystick);
Header file
Defined in SDL3/SDL_joystick.h
Function parameters
- joystick
-
the joystick to query.
Return value
Returns true if the joystick has been opened, false if it has not; call SDL_GetError () for more information.