Scroll to navigation

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

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