Scroll to navigation

SDL_GetTouchDeviceType(3) SDL3 FUNCTIONS SDL_GetTouchDeviceType(3)

NAME

SDL_GetTouchDeviceType - Get the type of the given touch device.

SYNOPSIS

#include <SDL3/SDL_touch.h>
SDL_TouchDeviceType SDL_GetTouchDeviceType(SDL_TouchID touchID);

FUNCTION PARAMETERS

the ID of a touch device.

RETURN VALUE

Returns touch device type.

AVAILABILITY

This function is available since SDL 3.2.0.

SDL 3.2.14 Simple Directmedia Layer