(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_GetTouchName

Get the touch device name as reported from the driver or NULL if the index is invalid.

Header File

Defined in SDL_touch.h

Syntax

const char* SDL_GetTouchName(int index);

Version

This function is available since SDL 2.0.22.


CategoryAPI, CategoryAPIFunction, CategoryTouch