Skip to main content

GameInputTouchState

Deprecated. This structure was removed in GameInput v1 and is not available in the current API.
Describes the state of a single touch contact point in an input reading.

Syntax

Members

touchId
Type: uint64_t
A unique identifier for this touch contact, tracked across readings. sensorIndex
Type: uint32_t
The index of the touch sensor that produced this contact. positionX, positionY
Type: float
The normalized position of the contact on the sensor surface, in the range [0.0, 1.0]. pressure
Type: float
The normalized pressure of the contact, in the range [0.0, 1.0]. proximity
Type: float
The normalized proximity of the contact, in the range [0.0, 1.0]. contactRectTop, contactRectLeft, contactRectRight, contactRectBottom
Type: float
The bounding rectangle of the contact area on the sensor surface, in normalized coordinates.

Remarks

This structure was read via the deprecated IGameInputReading::GetTouchState method. Both were removed in v1.

Version History

See also

Deprecated GameInput API members IGameInputReading::GetTouchState IGameInputReading::GetTouchCount GameInputTouchSensorInfo
Last modified on August 4, 2026