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

# GameInputSwitchKind

> GameInputSwitchKind

# GameInputSwitchKind

Enumera os tipos de chaves compatíveis com um dispositivo de entrada.

## Sintaxe

```cpp theme={null}
enum GameInputSwitchKind
{
    GameInputUnknownSwitchKind = -1,
    GameInput2WaySwitch        =  0,
    GameInput4WaySwitch        =  1,
    GameInput8WaySwitch        =  2
};
```

## Constantes

| Constante | Descrição |
| - | - |
| GameInputUnknownSwitchKind | Tipo de chave não identificado. |
| GameInput2WaySwitch | Chave com duas posições. |
| GameInput4WaySwitch | Chave com quatro posições. |
| GameInput8WaySwitch | Chave com oito posições. |

## Comentários

Essa enumeração é usada na estrutura [GameInputControllerSwitchInfo](https://docs.xbox.com/pt-BR/reference/input/gameinput/structs/gameinputcontrollerswitchinfo.md).

Para casos de uso intermediários e avançados da API GameInput, confira os tópicos de [GameInput avançado](https://docs.xbox.com/pt-BR/build/core-features/common/input/advanced/input-advanced-topics.md).

## Requisitos

**Cabeçalho:** GameInput.h

**Plataformas compatíveis:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

[Visão geral do GameInput](https://docs.xbox.com/pt-BR/build/core-features/common/input/overviews/input-overview.md)\
[GameInput](https://docs.xbox.com/pt-BR/reference/input/gameinput/gameinput_members.md)

## Histórico de versões

| Versão | Alterações |
| - | - |
| **v0** | Introduzido. |


## Related topics

- [GameInputControllerSwitchInfo](https://docs.xbox.com/pt-BR/reference/input/gameinput/structs/gameinputcontrollerswitchinfo.md)
- [Membros da API do GameInput](https://docs.xbox.com/pt-BR/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](https://docs.xbox.com/pt-BR/reference/input/gameinput/enums/gameinputkind.md)
- [GameInputElementKind](https://docs.xbox.com/pt-BR/reference/input/gameinput/enums/gameinputelementkind.md)
- [GameInputRawDeviceItemCollectionKind (Preterido)](https://docs.xbox.com/pt-BR/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
