Get the finger object for specified touch device ID and finger index.
Defined in SDL_touch.h
int index); SDL_Finger * SDL_GetTouchFinger(SDL_TouchID touchID,
SDL_TouchID | touchID | the ID of the requested touch device. |
int | index | the index of the requested finger. |
(SDL_Finger *) Returns a pointer to the SDL_Finger object or NULL if no object at the given ID and index could be found.
The returned resource is owned by SDL and should not be deallocated.
This function is available since SDL 2.0.0.