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

# GameInputLocation

> GameInputLocation

# GameInputLocation

<Warning>**En desuso.** Esta enumeración se quitó en GameInput v1 y no está disponible en la API actual.</Warning>

Define constantes que identifican la ubicación física de un control en un dispositivo de entrada.

## Sintaxis

```cpp theme={null}
enum GameInputLocation
{
    GameInputLocationUnknown        = -1,
    GameInputLocationChassis        = 0,
    GameInputLocationDisplay        = 1,
    GameInputLocationLeftHand       = 2,
    GameInputLocationRightHand      = 3,
    GameInputLocationLeftJoystick   = 4,
    GameInputLocationRightJoystick  = 5,
    GameInputLocationFrontFace      = 6,
    GameInputLocationBackFace       = 7,
};
```

## Constantes

| Constante                      | Valor | Descripción                                   |
| ------------------------------ | ----- | --------------------------------------------- |
| GameInputLocationUnknown       | -1    | La ubicación es desconocida.                  |
| GameInputLocationChassis       | 0     | Ubicado en el chasis del dispositivo.         |
| GameInputLocationDisplay       | 1     | Ubicado en la pantalla o cerca de ella.       |
| GameInputLocationLeftHand      | 2     | Ubicado en la empuñadura izquierda.           |
| GameInputLocationRightHand     | 3     | Ubicado en la empuñadura derecha.             |
| GameInputLocationLeftJoystick  | 4     | Ubicado en el stick izquierdo.                |
| GameInputLocationRightJoystick | 5     | Ubicado en el stick derecho.                  |
| GameInputLocationFrontFace     | 6     | Ubicado en la cara frontal del dispositivo.   |
| GameInputLocationBackFace      | 7     | Ubicado en la cara posterior del dispositivo. |

## Historial de versiones

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

## Consulte también

[Miembros de la API de GameInput en desuso](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputControllerAxisInfo](/reference/input/gameinput/deprecated/structs/gameinputcontrolleraxisinfo)
[GameInputControllerButtonInfo](/reference/input/gameinput/deprecated/structs/gameinputcontrollerbuttoninfo)


## Related topics

- [GameInputControllerButtonInfo](/es/reference/input/gameinput/deprecated/structs/gameinputcontrollerbuttoninfo.md)
- [GameInputHapticFeedbackMotorInfo](/es/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [GameInputTouchSensorInfo](/es/reference/input/gameinput/deprecated/structs/gameinputtouchsensorinfo.md)
- [GameInputControllerAxisInfo](/es/reference/input/gameinput/deprecated/structs/gameinputcontrolleraxisinfo.md)
- [GameInput](/es/reference/input/gameinput/gameinput_members.md)
