| SDL_HasJoystick(3) | SDL3 FUNCTIONS | SDL_HasJoystick(3) |
SDL_HasJoystick - Return whether a joystick is currently connected.
Defined in SDL3/SDL_joystick.h
#include "SDL3/SDL.h"
bool SDL_HasJoystick(void);
Returns true if a joystick is connected, false otherwise.
This function is available since SDL 3.2.0.
•(3), SDL_GetJoysticks(3)
| SDL 3.2.10 | Simple Directmedia Layer |