Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2013-10-30 21:51:16
Size: 1168
Comment: Changed formatting of function syntax, see SGFunctions page.
Revision 5 as of 2014-01-06 23:40:37
Size: 1172
Comment: Added link to SDL_Finger.
Deletions are marked like this. Additions are marked like this.
Line 33: Line 33:
Returns a pointer to the SDL_Finger object or NULL if no object at the given ID and index could be found. Returns a pointer to the [[SDL_Finger]] object or NULL if no object at the given ID and index could be found.

DRAFT

SDL_GetTouchFinger

Use this function to 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.

Code Examples

You can add your code example here

Remarks

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


CategoryAPI, CategoryEvents

None: SDL_GetTouchFinger (last edited 2014-01-06 23:40:37 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit