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

# GetFlightStickAxisMappingInfo

> IGameInputMapper::GetFlightStickAxisMappingInfo

## Syntax

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

### Parameters

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

The specific flight stick 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 [GameInputKindFlightStick](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

- [GameInputFlightStickAxes](https://docs.xbox.com/reference/input/gameinput/enums/gameinputflightstickaxes.md)
- [IGameInputMapper (Interface contents)](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/igameinputmapper.md)
- [GetFlightStickButtonMappingInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getflightstickbuttonmappinginfo.md)
- [GetGamepadAxisMappingInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadaxismappinginfo.md)
- [GetArcadeStickButtonMappingInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getarcadestickbuttonmappinginfo.md)
