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

# GameInputGamepadAxes

> GameInputGamepadAxes

# GameInputGamepadAxes

Enumerates gamepad axes. These values represent axes commonly found on gamepad peripherals. Unlike buttons, which can also represent state, these only represent an axis element on the gamepad.

## Syntax

```cpp theme={null}
enum GameInputGamepadAxes
{
    GameInputGamepadAxesNone         = 0x00000000,
    GameInputGamepadLeftTrigger      = 0x00000001,
    GameInputGamepadRightTrigger     = 0x00000002,
    GameInputGamepadLeftThumbstickX  = 0x00000004,
    GameInputGamepadLeftThumbstickY  = 0x00000008,
    GameInputGamepadRightThumbstickX = 0x00000010,
    GameInputGamepadRightThumbstickY = 0x00000020,
};
```

## Constants

| Constant                         | Description                                  |
| -------------------------------- | -------------------------------------------- |
| GameInputGamepadAxesNone         | Indicates the absence of an axis             |
| GameInputGamepadLeftTrigger      | Indicates the analog left trigger axis       |
| GameInputGamepadRightTrigger     | Indicates the analog right trigger axis      |
| GameInputGamepadLeftThumbstickX  | Indicates the X axis of the left thumbstick  |
| GameInputGamepadLeftThumbstickY  | Indicates the Y axis of the left thumbstick  |
| GameInputGamepadRightThumbstickX | Indicates the X axis of the right thumbstick |
| GameInputGamepadRightThumbstickY | Indicates the Y axis of the right thumbstick |

## Requirements

**Header:** GameInput.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## Remarks

This enumeration is used with the [IGameInputMapper::GetGamepadAxisMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadaxismappinginfo) method to retrieve mapping information for a specific gamepad axis.

## See also

[Input API Overview](/build/core-features/common/input/overviews/input-overview)<br />
[GameInput](/reference/input/gameinput/gameinput_members)

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v3**  | Introduced. |


## Related topics

- [IGameInputMapper::GetGamepadAxisMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadaxismappinginfo.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputGamepadInfo](/reference/input/gameinput/structs/gameinputgamepadinfo.md)
- [IGameInputMapper::GetGamepadButtonMapping](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadbuttonmappinginfo.md)
- [GameInputGamepadButtons](/reference/input/gameinput/enums/gameinputgamepadbuttons.md)
