Function sdl2_sys::SDL_GetTouchFinger
source ยท pub unsafe extern "C" fn SDL_GetTouchFinger(
touchID: SDL_TouchID,
index: c_int,
) -> *mut SDL_Finger
Expand description
Get the finger object for specified touch device ID and finger index.
The returned resource is owned by SDL and should not be deallocated.
\param touchID the ID of the requested touch device \param index the index of the requested finger \returns a pointer to the SDL_Finger object or NULL if no object at the given ID and index could be found.
\since This function is available since SDL 2.0.0.
\sa SDL_RecordGesture