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

# GameInputFlightStickInfo

> GameInputFlightStickInfo

# GameInputFlightStickInfo

Describes the properties of a flight stick.

<a id="syntaxSection" />

## 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;
};
```

<a id="membersSection" />

### Members

*menuButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for Menu button.

*viewButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for View button.

*firePrimaryButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for primary fire button.

*fireSecondaryButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for secondary fire button.

*hatSwitchUpLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for up input from hat switch.

*hatSwitchDownLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for down input from hat switch.

*hatSwitchLeftLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for left input from hat switch.

*hatSwitchRightLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for right input from hat switch.

*aButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for **A** button.

*bButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for **B** button.

*xButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for **X** button.

*yButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for **Y** button.

<a id="remarksSection" />

## Remarks

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

For more information, see [GameInput devices](/build/core-features/common/input/overviews/input-devices).

<a id="requirementsSection" />

## Requirements

**Header:** GameInput.h

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

<a id="seealsoSection" />

## See also

[Overview of GameInput](/build/core-features/common/input/overviews/input-overview)\
[GameInput](/reference/input/gameinput/gameinput_members)

## 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](/reference/input/gameinput/enums/gameinputlabel.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInputFlightStickButtons](/reference/input/gameinput/enums/gameinputflightstickbuttons.md)
- [GameInputFlightStickAxes](/reference/input/gameinput/enums/gameinputflightstickaxes.md)
