> ## 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::GetFlightStickState

> IGameInputReading::GetFlightStickState

# IGameInputReading::GetFlightStickState

Retrieve a view of the input reading that describes the state of a flight stick.

## Syntax

```cpp theme={null}
bool GetFlightStickState(
    GameInputFlightStickState* state
);
```

### Parameters

*state*   \_Out\_\
Type: [GameInputFlightStickState\*](/reference/input/gameinput/structs/gameinputflightstickstate)

Interpretation of the input as a flight stick input.

### Return value

Type: bool

Returns true on successful interpretation of a flight stick. Returns false when attempting to read an input that is not recognized as a flight stick.

[Input API Overview](/build/core-features/common/input/overviews/input-overview)\
[IGameInputReading](/reference/input/gameinput/interfaces/igameinputreading/igameinputreading)

## Version History

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


## Related topics

- [GameInputFlightStickState](/reference/input/gameinput/structs/gameinputflightstickstate.md)
- [IGameInputReading::GetArcadeStickState](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getarcadestickstate.md)
- [IGameInputReading::GetGamepadState](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getgamepadstate.md)
- [IGameInputReading::GetSensorsState](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getsensorsstate.md)
- [IGameInputReading::GetKeyState](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getkeystate.md)
