Return whether a joystick is currently connected.
Defined in <SDL3/SDL_joystick.h>
void); SDL_bool SDL_HasJoystick(
Returns SDL_TRUE if a joystick is connected, SDL_FALSE otherwise.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction