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

# GameInputFlightStickAxes

> GameInputFlightStickAxes

# GameInputFlightStickAxes

列舉飛行搖桿軸。這些值代表飛行搖桿周邊裝置上常見的軸。與也能代表狀態的按鈕不同，這些值僅代表飛行搖桿中的軸元素。

## 語法

```cpp theme={null}
enum GameInputFlightStickAxes
{
    GameInputFlightStickAxesNone = 0x00000000,
    GameInputFlightStickRoll     = 0x00000010,
    GameInputFlightStickPitch    = 0x00000020,
    GameInputFlightStickYaw      = 0x00000040,
    GameInputFlightStickThrottle = 0x00000080,
};
```

## 常數

| 常數 | 描述 |
| - | - |
| GameInputFlightStickAxesNone | 表示沒有軸 |
| GameInputFlightStickRoll | 表示翻滾軸 |
| GameInputFlightStickPitch | 表示俯仰軸 |
| GameInputFlightStickYaw | 表示偏擺軸 |
| GameInputFlightStickThrottle | 表示油門軸 |

## 需求

**標頭：** GameInput.h

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 備註

此列舉搭配 [IGameInputMapper::GetFlightStickAxisMappingInfo](/zh-TW/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getflightstickaxismappinginfo) 方法使用，以擷取特定飛行搖桿軸的對應資訊。

## 另請參閱

[輸入 API 概觀](/zh-TW/build/core-features/common/input/overviews/input-overview)<br />
[GameInput](/zh-TW/reference/input/gameinput/gameinput_members)

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v3** | 推出。 |


## Related topics

- [IGameInputMapper::GetFlightStickAxisMappingInfo](/zh-TW/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getflightstickaxismappinginfo.md)
- [GameInput](/zh-TW/reference/input/gameinput/gameinput_members.md)
- [GameInputFlightStickButtons](/zh-TW/reference/input/gameinput/enums/gameinputflightstickbuttons.md)
- [GameInputFlightStickInfo](/zh-TW/reference/input/gameinput/structs/gameinputflightstickinfo.md)
- [GameInputFlightStickState](/zh-TW/reference/input/gameinput/structs/gameinputflightstickstate.md)
