DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetTouchDeviceType.3.en
SDL_GetTouchDeviceType(3) SDL3 FUNCTIONS SDL_GetTouchDeviceType(3)

SDL_GetTouchDeviceType - Get the type of the given touch device.

Defined in SDL3/SDL_touch.h

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

the ID of a touch device.

( SDL_TouchDeviceType ) Returns touch device type.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer