Get the status of a specified joystick.
Defined in <SDL3/SDL_joystick.h>
bool SDL_JoystickConnected(SDL_Joystick *joystick);
SDL_Joystick * | joystick | the joystick to query. |
(bool) 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.1.3.