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

# GameInputFlightStickInfo

> GameInputFlightStickInfo

Describes the properties of a flight stick.

## Syntax

```cpp theme={null}
struct GameInputFlightStickInfo
{
    GameInputLabel menuButtonLabel;
    GameInputLabel viewButtonLabel;
    GameInputLabel firePrimaryButtonLabel;
    GameInputLabel fireSecondaryButtonLabel;
    GameInputLabel hatSwitchUpLabel;
    GameInputLabel hatSwitchDownLabel;
    GameInputLabel hatSwitchLeftLabel;
    GameInputLabel hatSwitchRightLabel;
    GameInputLabel aButtonLabel;
    GameInputLabel bButtonLabel;
    GameInputLabel xButtonLabel;
    GameInputLabel yButtonLabel;
    uint32_t       extraButtonCount;
    uint32_t       extraAxisCount;
};
```

### Members

*menuButtonLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for Menu button.

*viewButtonLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for View button.

*firePrimaryButtonLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for primary fire button.

*fireSecondaryButtonLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for secondary fire button.

*hatSwitchUpLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for up input from hat switch.

*hatSwitchDownLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for down input from hat switch.

*hatSwitchLeftLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for left input from hat switch.

*hatSwitchRightLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for right input from hat switch.

*aButtonLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for **A** button.

*bButtonLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for **B** button.

*xButtonLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for **X** button.

*yButtonLabel*\

Type: [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

Physical label for **Y** button.

## Remarks

This structure is used in the [GameInputDeviceInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputdeviceinfo.md) structure. `GameInputDeviceInfo` is used by the [IGameInputDevice::GetDeviceInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md) method.

For more information, see [GameInput devices](https://docs.xbox.com/build/core-features/common/input/overviews/input-devices.md).

## Requirements

**Header:** GameInput.h

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

## See also

[Overview of GameInput](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\
[GameInput](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)

## Version History

| Version | Changes |
| - | - |
| **v3** | Removed `hatSwitchKind`. **Added** 4 hat direction button labels (`hatSwitchUpLabel`, `hatSwitchDownLabel`, `hatSwitchLeftLabel`, `hatSwitchRightLabel`), 4 face button labels (`aButtonLabel`, `bButtonLabel`, `xButtonLabel`, `yButtonLabel`), `extraButtonCount`, `extraAxisCount`. |
| **v0** | Introduced. |

## Appendix: Previous versions

### v0, v1, v2

```cpp theme={null}
struct GameInputFlightStickInfo
{
    GameInputLabel      menuButtonLabel;
    GameInputLabel      viewButtonLabel;
    GameInputLabel      firePrimaryButtonLabel;
    GameInputLabel      fireSecondaryButtonLabel;
    GameInputSwitchKind hatSwitchKind;
};
```


## Related topics

- [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)
- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [GameInputDeviceInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInputFlightStickButtons](https://docs.xbox.com/reference/input/gameinput/enums/gameinputflightstickbuttons.md)
- [GameInputFlightStickAxes](https://docs.xbox.com/reference/input/gameinput/enums/gameinputflightstickaxes.md)
