Scroll to navigation

SDL_GetJoystickCaps(3) SDL3 FUNCTIONS SDL_GetJoystickCaps(3)

NAME

SDL_GetJoystickCaps - Query joystick capabilities

SYNOPSIS

#include "SDL3/SDL.h"
Uint32 SDL_GetJoystickCaps(SDL_Joystick *joystick);

FUNCTION PARAMETERS

The joystick to query

RETURN VALUE

Returns a mask of SDL_JoystickCaps
values indicating the joystick capabilities.

AVAILABILITY

This function is available since SDL 3.0.0.

SDL 3.0.0 SDL