SDL_GetTouchDeviceType - Man Page

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

touchID

the ID of a touch device.

Return Value

( SDL_TouchDeviceType ) Returns touch device type.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS