Scroll to navigation

SDL_GetNumGamepadTouchpads(3) SDL3 FUNCTIONS SDL_GetNumGamepadTouchpads(3)

NAME

SDL_GetNumGamepadTouchpads - Get the number of touchpads on a gamepad.

HEADER FILE

Defined in SDL3/SDL_gamepad.h

SYNOPSIS

#include "SDL3/SDL.h"
int SDL_GetNumGamepadTouchpads(SDL_Gamepad *gamepad);

FUNCTION PARAMETERS

a gamepad.

RETURN VALUE

Returns number of touchpads.

AVAILABILITY

This function is available since SDL 3.1.3.

SEE ALSO

(3), SDL_GetNumGamepadTouchpadFingers(3)

SDL 3.1.8 Simple Directmedia Layer