Get the touch ID with the given index.
Defined in SDL_touch.h, but apps should only #include "SDL.h"
!
int index); SDL_TouchID SDL_GetTouchDevice(
index | the touch device index |
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.
CategoryAPI, CategoryAPIFunction