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

# GameInputKind

> GameInputKind

# GameInputKind

Enumeración de los tipos de dispositivo de GameInput válidos.

## Sintaxis

```cpp theme={null}
enum GameInputKind
{
    GameInputKindUnknown          = 0x00000000,
    GameInputKindControllerAxis   = 0x00000002,
    GameInputKindControllerButton = 0x00000004,
    GameInputKindControllerSwitch = 0x00000008,
    GameInputKindController       = 0x0000000E,
    GameInputKindKeyboard         = 0x00000010,
    GameInputKindMouse            = 0x00000020,
    GameInputKindSensors          = 0x00000040,
    GameInputKindArcadeStick      = 0x00010000,
    GameInputKindFlightStick      = 0x00020000,
    GameInputKindGamepad          = 0x00040000,
    GameInputKindRacingWheel      = 0x00080000,
};
```

## Constantes

| Constante                     | Descripción                                                    |
| ----------------------------- | -------------------------------------------------------------- |
| GameInputKindUnknown          | Indica un tipo de entrada desconocido.                         |
| GameInputKindControllerAxis   | Indica entrada del controlador desde los sticks.               |
| GameInputKindControllerButton | Indica entrada del controlador desde los botones.              |
| GameInputKindControllerSwitch | Indica entrada del controlador desde los conmutadores.         |
| GameInputKindController       | Indica una combinación de entradas de eje, botón y conmutador. |
| GameInputKindKeyboard         | Indica entrada de teclado.                                     |
| GameInputKindMouse            | Indica entrada de mouse.                                       |
| GameInputKindSensors          | Indica entrada de sensores.                                    |
| GameInputKindArcadeStick      | Indica entrada de stick arcade.                                |
| GameInputKindFlightStick      | Indica entrada de joystick de vuelo.                           |
| GameInputKindGamepad          | Indica entrada de mando.                                       |
| GameInputKindRacingWheel      | Indica entrada de volante de carreras.                         |

## Comentarios

Los valores de GameInputKind son valores de marca y se pueden combinar para filtrar por varios dispositivos.
Parámetro de [IGameInput\_GetCurrentReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading).
Lo devuelve [IGameInputReading\_GetInputKind](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getinputkind).
Miembro de [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo).

## Requisitos

**Encabezado:** GameInput.h

[Información general de la API de entrada](/build/core-features/common/input/overviews/input-overview)\
[GameInput](/reference/input/gameinput/gameinput_members)\
[IGameInput\_GetCurrentReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading)\
[IGameInputReading\_GetInputKind](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getinputkind)\
[GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo)

## Historial de versiones

| Versión | Cambios                                                                                                                              |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **v3**  | **Se quitaron** `GameInputKindUiNavigation` (0x01000000) y `GameInputKindRawDeviceReport` (0x00000001).                              |
| **v2**  | **Se agregó** `GameInputKindSensors` (0x00000040).                                                                                   |
| **v1**  | **Se quitaron** `GameInputKindRawDeviceReport` (0x00000001), `GameInputKindTouch` (0x00000100) y `GameInputKindMotion` (0x00001000). |
| **v0**  | Se introdujo.                                                                                                                        |

## Apéndice: versiones anteriores

### v0

```cpp theme={null}
enum GameInputKind
{
    GameInputKindUnknown          = 0x00000000,
    GameInputKindRawDeviceReport  = 0x00000001,
    GameInputKindControllerAxis   = 0x00000002,
    GameInputKindControllerButton = 0x00000004,
    GameInputKindControllerSwitch = 0x00000008,
    GameInputKindController       = 0x0000000E,
    GameInputKindKeyboard         = 0x00000010,
    GameInputKindMouse            = 0x00000020,
    GameInputKindTouch            = 0x00000100,
    GameInputKindMotion           = 0x00001000,
    GameInputKindArcadeStick      = 0x00010000,
    GameInputKindFlightStick      = 0x00020000,
    GameInputKindGamepad          = 0x00040000,
    GameInputKindRacingWheel      = 0x00080000,
    GameInputKindUiNavigation     = 0x01000000,
};
```

### v1

```cpp theme={null}
enum GameInputKind
{
    GameInputKindUnknown          = 0x00000000,
    GameInputKindControllerAxis   = 0x00000002,
    GameInputKindControllerButton = 0x00000004,
    GameInputKindControllerSwitch = 0x00000008,
    GameInputKindController       = 0x0000000E,
    GameInputKindKeyboard         = 0x00000010,
    GameInputKindMouse            = 0x00000020,
    GameInputKindArcadeStick      = 0x00010000,
    GameInputKindFlightStick      = 0x00020000,
    GameInputKindGamepad          = 0x00040000,
    GameInputKindRacingWheel      = 0x00080000,
    GameInputKindUiNavigation     = 0x01000000,
};
```

### v2

```cpp theme={null}
enum GameInputKind
{
    GameInputKindUnknown          = 0x00000000,
    GameInputKindControllerAxis   = 0x00000002,
    GameInputKindControllerButton = 0x00000004,
    GameInputKindControllerSwitch = 0x00000008,
    GameInputKindController       = 0x0000000E,
    GameInputKindKeyboard         = 0x00000010,
    GameInputKindMouse            = 0x00000020,
    GameInputKindSensors          = 0x00000040,
    GameInputKindArcadeStick      = 0x00010000,
    GameInputKindFlightStick      = 0x00020000,
    GameInputKindGamepad          = 0x00040000,
    GameInputKindRacingWheel      = 0x00080000,
    GameInputKindUiNavigation     = 0x01000000,
};
```


## Related topics

- [IGameInputReading::GetInputKind](/es/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getinputkind.md)
- [IGameInputReading::GetSequenceNumber](/es/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getsequencenumber.md)
- [IGameInput::CreateAggregateDevice](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_createaggregatedevice.md)
- [IGameInput::GetNextReading](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading.md)
- [IGameInput::GetPreviousReading](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading.md)
