logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GetTouchDeviceType - Get the type of the given touch device.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                          SDL_GetTouchDeviceType(3)

Function Parameters

touchID
              the ID of a touch device.

Name

       SDL_GetTouchDeviceType - Get the type of the given touch device.

Return Value

       Returns touch device type.

Synopsis

#include<SDL3/SDL_touch.h>SDL_TouchDeviceTypeSDL_GetTouchDeviceType(SDL_TouchIDtouchID);

See Also