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

Descreve as propriedades de um flight stick.

<a id="syntaxSection" />

## Sintaxe

```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" />

### Membros

*menuButtonLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico do botão Menu.

*viewButtonLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico do botão Exibir.

*firePrimaryButtonLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico do botão de disparo principal.

*fireSecondaryButtonLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico do botão de disparo secundário.

*hatSwitchUpLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico da entrada para cima do hat switch.

*hatSwitchDownLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico da entrada para baixo do hat switch.

*hatSwitchLeftLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico da entrada para a esquerda do hat switch.

*hatSwitchRightLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico da entrada para a direita do hat switch.

*aButtonLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico do botão **A**.

*bButtonLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico do botão **B**.

*xButtonLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico do botão **X**.

*yButtonLabel*<br />
Tipo: [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel)

Rótulo físico do botão **Y**.

<a id="remarksSection" />

## Comentários

Essa estrutura é usada na estrutura [GameInputDeviceInfo](/pt-BR/reference/input/gameinput/structs/gameinputdeviceinfo). `GameInputDeviceInfo` é usada pelo método [IGameInputDevice::GetDeviceInfo](/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo).

Para obter mais informações, confira [Dispositivos GameInput](/pt-BR/build/core-features/common/input/overviews/input-devices).

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** GameInput.h

**Plataformas compatíveis:** Windows, consoles da família XBOX One e consoles XBOX Series

<a id="seealsoSection" />

## Confira também

[Visão geral do GameInput](/pt-BR/build/core-features/common/input/overviews/input-overview)\
[GameInput](/pt-BR/reference/input/gameinput/gameinput_members)

## Histórico de versões

| Versão | Alterações |
| - | - |
| **v3** | `hatSwitchKind` removido. **Adicionados** 4 rótulos de botão de direção do hat (`hatSwitchUpLabel`, `hatSwitchDownLabel`, `hatSwitchLeftLabel`, `hatSwitchRightLabel`), 4 rótulos de botões frontais (`aButtonLabel`, `bButtonLabel`, `xButtonLabel`, `yButtonLabel`), `extraButtonCount`, `extraAxisCount`. |
| **v0** | Introduzido. |

## Apêndice: versões anteriores

### v0, v1, v2

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


## Related topics

- [GameInputLabel](/pt-BR/reference/input/gameinput/enums/gameinputlabel.md)
- [GameInputDeviceInfo](/pt-BR/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInput](/pt-BR/reference/input/gameinput/gameinput_members.md)
- [GameInputFlightStickButtons](/pt-BR/reference/input/gameinput/enums/gameinputflightstickbuttons.md)
- [GameInputFlightStickAxes](/pt-BR/reference/input/gameinput/enums/gameinputflightstickaxes.md)
