THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
Get the number of active fingers for a given touch device.
Defined in SDL_touch.h, but apps should use #include <SDL3/SDL.h>
int SDL_GetNumTouchFingers(SDL_TouchID touchID);
touchID | the ID of a touch device |
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.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction, CategoryEvents, CategoryDraft