> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputTouchState

> GameInputTouchState

# GameInputTouchState

<Warning>**Deprecated.** This structure was removed in GameInput v1 and is not available in the current API.</Warning>

Describes the state of a single touch contact point in an input reading.

## Syntax

```cpp theme={null}
typedef struct GameInputTouchState {
    uint64_t touchId;
    uint32_t sensorIndex;
    float positionX;
    float positionY;
    float pressure;
    float proximity;
    float contactRectTop;
    float contactRectLeft;
    float contactRectRight;
    float contactRectBottom;
} GameInputTouchState;
```

## 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](/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate) method. Both were removed in v1.

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v1**  | Removed.    |
| **v0**  | Introduced. |

## See also

[Deprecated GameInput API members](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[IGameInputReading::GetTouchState](/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate)
[IGameInputReading::GetTouchCount](/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchcount)
[GameInputTouchSensorInfo](/reference/input/gameinput/deprecated/structs/gameinputtouchsensorinfo)


## Related topics

- [IGameInputReading::GetTouchState](/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
- [GameInputTouchSensorInfo](/reference/input/gameinput/deprecated/structs/gameinputtouchsensorinfo.md)
- [IGameInputReading::GetTouchCount](/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchcount.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [Best Practices for Game Streaming Custom Resolution](/build/core-features/common/game-streaming/game-streaming-custom-resolution-best-practices.md)
