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

# GameInputLocation (Deprecated)

> GameInputLocation

> [!WARNING]
>
> **Deprecated.** This enumeration was removed in GameInput v1 and is not available in the current API.

Defines constants identifying the physical location of a control on an input device.

## Syntax

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

## Constants

| Constant | Value | Description |
| - | - | - |
| GameInputLocationUnknown | -1 | Location is unknown. |
| GameInputLocationChassis | 0 | Located on the device chassis. |
| GameInputLocationDisplay | 1 | Located on or near the display. |
| GameInputLocationLeftHand | 2 | Located on the left-hand grip. |
| GameInputLocationRightHand | 3 | Located on the right-hand grip. |
| GameInputLocationLeftJoystick | 4 | Located on the left thumbstick. |
| GameInputLocationRightJoystick | 5 | Located on the right thumbstick. |
| GameInputLocationFrontFace | 6 | Located on the front face of the device. |
| GameInputLocationBackFace | 7 | Located on the back face of the device. |

## Version History

| Version | Changes |
| - | - |
| **v1** | Removed. |
| **v0** | Introduced. |

## See also

[Deprecated GameInput API members](https://docs.xbox.com/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputControllerAxisInfo](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputcontrolleraxisinfo.md)
[GameInputControllerButtonInfo](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputcontrollerbuttoninfo.md)


## Related topics

- [GameInputControllerButtonInfo (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputcontrollerbuttoninfo.md)
- [GameInputHapticFeedbackMotorInfo (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [GameInputTouchSensorInfo (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputtouchsensorinfo.md)
- [GameInputControllerAxisInfo (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputcontrolleraxisinfo.md)
- [Deprecated GameInput API members](https://docs.xbox.com/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
