table of contents
other versions
- experimental 3.1.0+ds-1
SDL_GetTouchDeviceName(3) | SDL3 FUNCTIONS | SDL_GetTouchDeviceName(3) |
NAME¶
SDL_GetTouchDeviceName - Get the touch device name as reported from the driver.
SYNOPSIS¶
#include "SDL3/SDL.h"
const char* SDL_GetTouchDeviceName(SDL_TouchID touchID);
DESCRIPTION¶
You do not own the returned string, do not modify or free it.
FUNCTION PARAMETERS¶
- touchID
- the touch device instance ID.
RETURN VALUE¶
Returns touch device name, or NULL on error; call
SDL_GetError () for more details.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SDL 3.1.0 | SDL |