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_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