struct

TouchPoint

Single finger contact. Coordinates are in window pixels (already multiplied by window size) so game code doesn't have to know about SDL's normalised 0..1 finger coordinates. Delta is the per-frame movement vector (also in pixels).

Module
Input
Header
#include "Input/TouchInput.h"
Namespace
Mowo

Properties

TypeNameDescription
uint64_tfingerIdSDL finger ID (stable per touch) Default 0.
floatxDefault 0.0f.
floatyDefault 0.0f.
floatdxmovement since previous frame Default 0.0f.
floatdyDefault 0.0f.
floatpressure0..1 if hardware reports it, else 1 Default 0.0f.
TouchPhasephaseDefault TouchPhase::None.
Generated from Input/TouchInput.h via input.json · Nov 2, 2026Version 1.0.0