DRAFT |
SDL_GetTouch
Use this function to get the touch device object at a specified touch device ID.
Contents
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.
