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

# GameInputSwitchKind

> GameInputSwitchKind

# GameInputSwitchKind

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

<a id="syntaxSection" />

## Sintaxe

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

<a id="constantsSection" />

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

<a id="remarksSection" />

## Comentários

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

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

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** GameInput.h

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

<a id="seealsoSection" />

## Confira também

[Visão geral do GameInput](/pt-BR/build/core-features/common/input/overviews/input-overview)\
[GameInput](/pt-BR/reference/input/gameinput/gameinput_members)

## Histórico de versões

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


## Related topics

- [GameInputSwitchKind](/reference/input/gameinput/enums/gameinputswitchkind.md)
- [GameInputControllerSwitchInfo](/reference/input/gameinput/structs/gameinputcontrollerswitchinfo.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
