SDL_TouchDeviceType

An enum that describes the type of a touch device.

Values

ValueMeaning
SDL_TOUCH_DEVICE_INVALID-1

Invalid

SDL_TOUCH_DEVICE_DIRECT

Touch screen with window-relative coordinates

SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE

Trackpad with absolute device coordinates

SDL_TOUCH_DEVICE_INDIRECT_RELATIVE

Trackpad with screen cursor-relative coordinates

Meta