> ## 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.

# GameInputTouchSensorInfo

> GameInputTouchSensorInfo

# GameInputTouchSensorInfo

<Warning>**Preterido.** Esta estrutura foi removida no GameInput v1 e não está disponível na API atual.</Warning>

Descreve as propriedades físicas e os recursos de um sensor de toque em um dispositivo de entrada.

## Sintaxe

```cpp theme={null}
typedef struct GameInputTouchSensorInfo {
    GameInputLocation location;
    uint32_t locationId;
    GameInputUsage usage;
    GameInputTouchShape shape;
    float aspectRatio;
    float orientation;
    float physicalWidth;
    float physicalHeight;
    float maxPressure;
    float maxProximity;
    uint32_t maxTouchPoints;
} GameInputTouchSensorInfo;
```

## Membros

**location**\
Tipo: [GameInputLocation](/pt-BR/reference/input/gameinput/deprecated/enums/gameinputlocation)

A localização física do sensor de toque no dispositivo.

**locationId**\
Tipo: uint32\_t

Um identificador que distingue sensores de toque na mesma localização.

**usage**\
Tipo: GameInputUsage

O uso HID que identifica este sensor de toque.

**shape**\
Tipo: [GameInputTouchShape](/pt-BR/reference/input/gameinput/deprecated/enums/gameinputtouchshape)

O formato da superfície do sensor de toque.

**aspectRatio**\
Tipo: float

A proporção entre largura e altura da superfície de toque.

**orientation**\
Tipo: float

A orientação da superfície de toque em graus.

**physicalWidth**\
Tipo: float

A largura física da superfície de toque em metros.

**physicalHeight**\
Tipo: float

A altura física da superfície de toque em metros.

**maxPressure**\
Tipo: float

O valor máximo de pressão que o sensor pode relatar.

**maxProximity**\
Tipo: float

A distância máxima de proximidade que o sensor pode detectar.

**maxTouchPoints**\
Tipo: uint32\_t

O número máximo de contatos de toque simultâneos.

## Histórico de versões

| Versão | Alterações |
| - | - |
| **v1** | Removida. |
| **v0** | Introduzida. |

## Confira também

[Membros preteridos da API GameInput](/pt-BR/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputTouchState](/pt-BR/reference/input/gameinput/deprecated/structs/gameinputtouchstate)
[GameInputTouchShape](/pt-BR/reference/input/gameinput/deprecated/enums/gameinputtouchshape)


## Related topics

- [GameInputTouchShape](/pt-BR/reference/input/gameinput/deprecated/enums/gameinputtouchshape.md)
- [GameInputTouchState](/pt-BR/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md)
- [Práticas recomendadas para resolução personalizada no game streaming](/pt-BR/build/core-features/common/game-streaming/game-streaming-custom-resolution-best-practices.md)
- [GameInput](/pt-BR/reference/input/gameinput/gameinput_members.md)
- [Membros preteridos da API GameInput](/pt-BR/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
