table of contents
other versions
- testing 3.2.4+ds-2
- unstable 3.2.4+ds-2
- experimental 3.2.4+git20250228+ds-1
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¶
- 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.
SDL 3.2.5 | Simple Directmedia Layer |