Scroll to navigation

SDL_GetTouchDeviceType(3) SDL3 FUNCTIONS SDL_GetTouchDeviceType(3)

NAME

SDL_GetTouchDeviceType - Get the type of the given touch device.

HEADER FILE

Defined in SDL3/SDL_touch.h

SYNOPSIS

#include "SDL3/SDL.h"
SDL_TouchDeviceType SDL_GetTouchDeviceType(SDL_TouchID touchID);

FUNCTION PARAMETERS

the ID of a touch device.

RETURN VALUE

( SDL_TouchDeviceType ) Returns touch device type.

AVAILABILITY

This function is available since SDL 3.1.3.

SDL 3.1.6 Simple Directmedia Layer