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

# IGameInputMapper::GetFlightStickAxisMappingInfo

> IGameInputMapper::GetFlightStickAxisMappingInfo

# IGameInputMapper::GetFlightStickAxisMappingInfo

## Syntax

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

### Parameters

*axisElement*   \_In\_\
Type: [GameInputFlightStickAxes](/reference/input/gameinput/enums/gameinputflightstickaxes)

The specific flight stick axis whose mapping is being queried.

*mapping*   \_Out\_\
type: [GameInputAxisMapping](/reference/input/gameinput/structs/gameinputaxismapping)

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](/reference/input/gameinput/enums/gameinputkind) 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](/build/core-features/common/input/overviews/input-overview)<br />
[IGameInputMapper](/reference/input/gameinput/interfaces/igameinputmapper/igameinputmapper)

## Version History

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


## Related topics

- [GameInputFlightStickAxes](/reference/input/gameinput/enums/gameinputflightstickaxes.md)
- [IGameInputMapper::GetFlightStickButtonMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getflightstickbuttonmappinginfo.md)
- [IGameInputMapper::GetGamepadAxisMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadaxismappinginfo.md)
- [IGameInputMapper::GetRacingWheelAxisMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getracingwheelaxismappinginfo.md)
- [IGameInputMapper::GetArcadeStickButtonMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getarcadestickbuttonmappinginfo.md)
