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

# IGameInputReading::GetControllerAxisCount

> IGameInputReading::GetControllerAxisCount

# IGameInputReading::GetControllerAxisCount

Retrieves the number of axes on a game controller.

## Syntax

```cpp theme={null}
uint32_t GetControllerAxisCount();
```

### Return value

Type: uint32\_t

Returns the number of axes on the game controller.

[Advanced GameInput topics](/build/core-features/common/input/advanced/input-advanced-topics)\
[Overview of GameInput](/build/core-features/common/input/overviews/input-overview)\
[IGameInputReading](/reference/input/gameinput/interfaces/igameinputreading/igameinputreading)

## Version History

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