> ## 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 los tipos de conmutadores compatibles con un dispositivo de entrada.

<a id="syntaxSection" />

## Sintaxis

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

<a id="constantsSection" />

## Constantes

| Constante                  | Descripción                         |
| -------------------------- | ----------------------------------- |
| GameInputUnknownSwitchKind | Tipo de conmutador no identificado. |
| GameInput2WaySwitch        | Conmutador con dos posiciones.      |
| GameInput4WaySwitch        | Conmutador con cuatro posiciones.   |
| GameInput8WaySwitch        | Conmutador con ocho posiciones.     |

<a id="remarksSection" />

## Comentarios

Esta enumeración se usa en la estructura [GameInputControllerSwitchInfo](/reference/input/gameinput/structs/gameinputcontrollerswitchinfo).

Para casos de uso intermedios y avanzados de la API de GameInput, consulte los temas de [GameInput avanzado](/build/core-features/common/input/advanced/input-advanced-topics).

<a id="requirementsSection" />

## Requisitos

**Encabezado:** GameInput.h

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

<a id="seealsoSection" />

## Consulte también

[Información general de GameInput](/build/core-features/common/input/overviews/input-overview)\
[GameInput](/reference/input/gameinput/gameinput_members)

## Historial de versiones

| Versión | Cambios       |
| ------- | ------------- |
| **v0**  | Se introdujo. |


## Related topics

- [GameInput](/es/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](/es/reference/input/gameinput/enums/gameinputkind.md)
- [GameInputRawDeviceItemCollectionKind](/es/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
- [GameInputKeyboardKind](/es/reference/input/gameinput/enums/gameinputkeyboardkind.md)
- [GameInputEnumerationKind](/es/reference/input/gameinput/enums/gameinputenumerationkind.md)
