> ## 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>**Deprecated.** This enumeration was removed in GameInput v1 and is not available in the current API.</Warning>

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](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputControllerAxisInfo](/reference/input/gameinput/deprecated/structs/gameinputcontrolleraxisinfo)
[GameInputControllerButtonInfo](/reference/input/gameinput/deprecated/structs/gameinputcontrollerbuttoninfo)


## Related topics

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