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
| Type | Name | Description |
|---|---|---|
uint64_t | fingerId | SDL finger ID (stable per touch) Default 0. |
float | x | Default 0.0f. |
float | y | Default 0.0f. |
float | dx | movement since previous frame Default 0.0f. |
float | dy | Default 0.0f. |
float | pressure | 0..1 if hardware reports it, else 1 Default 0.0f. |
TouchPhase | phase | Default TouchPhase::None. |
Generated from Input/TouchInput.h via input.json · Nov 2, 2026Version 1.0.0