table of contents
other versions
SDL_GetNumTouchFingers(3) | SDL3 FUNCTIONS | SDL_GetNumTouchFingers(3) |
NAME¶
SDL_GetNumTouchFingers - Get the number of active fingers for a given touch device.
SYNOPSIS¶
#include "SDL3/SDL.h"
int SDL_GetNumTouchFingers(SDL_TouchID touchID);
FUNCTION PARAMETERS¶
- touchID
- the ID of a touch device
RETURN VALUE¶
Returns the number of active fingers for a given touch device on success or a negative error code on failure; call SDL_GetError () for more information.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL_GetTouchFinger(3)
SDL 3.1.0 | SDL |