table of contents
other versions
- experimental 3~git20231011~321fc18+ds-1
SDL_GetTouchDevice(3) | SDL3 FUNCTIONS | SDL_GetTouchDevice(3) |
NAME¶
SDL_GetTouchDevice - Get the touch ID with the given index.
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_TouchID SDL_GetTouchDevice(int index);
FUNCTION PARAMETERS¶
- index
- the touch device index
RETURN VALUE¶
Returns the touch ID with the given index on success or 0 if the index is invalid; call SDL_GetError () for more information.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL 3.0.0 | SDL |