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.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.0.0.

SDL 3.1.0 SDL