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

SDL_GetTouchFinger

Get the finger object for specified touch device ID and finger index.

Syntax

SDL_Finger * SDL_GetTouchFinger(SDL_TouchID touchID, int index);

Function Parameters

touchID

the ID of the requested touch device

index

the index of the requested finger

Return Value

Returns a pointer to the SDL_Finger object or NULL if no object at the given ID and index could be found.

Remarks

The returned resource is owned by SDL and should not be deallocated.

Version

This function is available since SDL 2.0.0.

SDL_RecordGesture

CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.