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

# GetRacingWheelAxisMappingInfo

> IGameInputMapper::GetRacingWheelAxisMappingInfo

## Syntax

```cpp theme={null}
bool GetRacingWheelAxisMappingInfo(
    GameInputRacingWheelAxes axisElement,
    GameInputAxisMapping* mapping
);
```

### Parameters

*axisElement*   \_In\_\
Type: [GameInputRacingWheelAxes](https://docs.xbox.com/reference/input/gameinput/enums/gameinputracingwheelaxes.md)

The specific racing wheel axis whose mapping is being queried.

*mapping*   \_Out\_\
Type: [GameInputAxisMapping](https://docs.xbox.com/reference/input/gameinput/structs/gameinputaxismapping.md)

The mapping information of how the axis is mapped from the controller axes, buttons or switches.

### Return value

Type: bool

If the mapping was successfully retrieved. This value is false if the device does not support the [GameInputKindRacingWheel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputkind.md) input kind or if the specified axis element is not supported by the device.

## Requirements

**Header:** GameInput.h

**Library:** gameinput.lib

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

## See also

[Input API Overview](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\

[IGameInputMapper](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/igameinputmapper.md)

## Version History

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


## Related topics

- [GameInputRacingWheelAxes](https://docs.xbox.com/reference/input/gameinput/enums/gameinputracingwheelaxes.md)
- [IGameInputMapper (Interface contents)](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/igameinputmapper.md)
- [GetRacingWheelButtonMappingInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getracingwheelbuttonmappinginfo.md)
- [GetGamepadAxisMappingInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadaxismappinginfo.md)
- [GetFlightStickAxisMappingInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getflightstickaxismappinginfo.md)
