table of contents
other versions
SDL_GetTouchFinger(3) | SDL3 FUNCTIONS | SDL_GetTouchFinger(3) |
NAME¶
SDL_GetTouchFinger - Get the finger object for specified touch device ID and finger index.
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_Finger * SDL_GetTouchFinger(SDL_TouchID touchID, int index);
DESCRIPTION¶
The returned resource is owned by SDL and should not be deallocated.
FUNCTION PARAMETERS¶
RETURN VALUE¶
Returns a pointer to the SDL_Finger
object or NULL if no object at the given ID and index could be found.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL_GetNumTouchFingers(3)
SDL 3.1.0 | SDL |