Wiki Page Content

Revision 2 as of 2013-08-11 11:52:34

Clear message

DRAFT

SDL_GetTouch

Use this function to get the touch device object at a specified touch device ID.

Syntax

SDL_Touch* SDL_GetTouch(SDL_TouchID id)

Function Parameters

id

the ID of the requested touch device

Return Value

Returns a pointer to the SDL_Touch object or NULL if no object at the given ID 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

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