Skip to main content

IGameInputReading::GetTouchState

Deprecated. This method was removed in GameInput v1 and is not available in the current API. This method was never implemented on PC.
Gets the touch input state for all active contacts in the reading.

Syntax

Parameters

stateArrayCount   _In_
Type: uint32_t
The number of elements in the stateArray. stateArray   _Out_writes_(stateArrayCount)_
Type: GameInputTouchState*
An array of GameInputTouchState structures to fill with touch contact data.

Return value

Type: uint32_t The number of GameInputTouchState entries written to stateArray.

Remarks

This method was removed in v1. Call GetTouchCount first to determine the required array size, then call GetTouchState with an appropriately sized array.

Version History

See also

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