Scroll to navigation

SDL_GamepadHasCapSense(3) SDL3 FUNCTIONS SDL_GamepadHasCapSense(3)

NAME

SDL_GamepadHasCapSense - Return whether a gamepad has a particular capsense.

SYNOPSIS

#include <SDL3/SDL_gamepad.h>
bool SDL_GamepadHasCapSense(SDL_Gamepad *gamepad, SDL_GamepadCapSenseType type);

FUNCTION PARAMETERS

the gamepad to query.
the type of capsense to query.

RETURN VALUE

Returns true if the capsense exists, false otherwise.

THREAD SAFETY

It is safe to call this function from any thread.

AVAILABILITY

This function is available since SDL 3.6.0.

SEE ALSO

SDL_GetGamepadCapSense(3)

SDL 3.5.0 Simple Directmedia Layer