(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_GameControllerGetNumTouchpadFingers

Get the number of supported simultaneous fingers on a touchpad on a game controller.

Header File

Defined in SDL_gamecontroller.h

Syntax

int SDL_GameControllerGetNumTouchpadFingers(SDL_GameController *gamecontroller, int touchpad);

Version

This function is available since SDL 2.0.14.


CategoryAPI, CategoryAPIFunction, CategoryGameController