Get the touch ID with the given index.
Defined in SDL_touch.h
int index); SDL_TouchID SDL_GetTouchDevice(
int | index | the touch device index. |
(SDL_TouchID) Returns the touch ID with the given index on success or 0 if the index is invalid; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.