Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_TouchDeviceType - An enum that describes the type of a touch device.

Availability

       This enum is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                         SDL_TouchDeviceType(3type)

Name

       SDL_TouchDeviceType - An enum that describes the type of a touch device.

Synopsis

#include<SDL3/SDL_touch.h>typedefenumSDL_TouchDeviceType{SDL_TOUCH_DEVICE_INVALID=-1,SDL_TOUCH_DEVICE_DIRECT,/**<touchscreenwithwindow-relativecoordinates*/SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE,/**<trackpadwithabsolutedevicecoordinates*/SDL_TOUCH_DEVICE_INDIRECT_RELATIVE/**<trackpadwithscreencursor-relativecoordinates*/}SDL_TouchDeviceType;

See Also