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

# GameInputUiNavigationButtons

> GameInputUiNavigationButtons

# GameInputUiNavigationButtons

<Warning>**已淘汰。** 此列舉已在 GameInput v3 中移除，目前的 API 中無法使用。</Warning>

定義輸入裝置所回報之 UI 導覽按鈕的位元遮罩旗標。

## 語法

```cpp theme={null}
enum GameInputUiNavigationButtons : uint32_t
{
    GameInputUiNavigationNone       = 0x00000000,
    GameInputUiNavigationMenu       = 0x00000001,
    GameInputUiNavigationView       = 0x00000002,
    GameInputUiNavigationAccept     = 0x00000004,
    GameInputUiNavigationCancel     = 0x00000008,
    GameInputUiNavigationUp         = 0x00000010,
    GameInputUiNavigationDown       = 0x00000020,
    GameInputUiNavigationLeft       = 0x00000040,
    GameInputUiNavigationRight      = 0x00000080,
    GameInputUiNavigationContext1   = 0x00000100,
    GameInputUiNavigationContext2   = 0x00000200,
    GameInputUiNavigationContext3   = 0x00000400,
    GameInputUiNavigationContext4   = 0x00000800,
    GameInputUiNavigationPageUp     = 0x00001000,
    GameInputUiNavigationPageDown   = 0x00002000,
    GameInputUiNavigationPageLeft   = 0x00004000,
    GameInputUiNavigationPageRight  = 0x00008000,
    GameInputUiNavigationScrollUp   = 0x00010000,
    GameInputUiNavigationScrollDown = 0x00020000,
    GameInputUiNavigationScrollLeft = 0x00040000,
    GameInputUiNavigationScrollRight = 0x00080000,
};
```

## 常數

| 常數 | 值 | 描述 |
| - | - | - |
| GameInputUiNavigationNone | 0x00000000 | 未按下任何按鈕。 |
| GameInputUiNavigationMenu | 0x00000001 | Menu 按鈕。 |
| GameInputUiNavigationView | 0x00000002 | View 按鈕。 |
| GameInputUiNavigationAccept | 0x00000004 | 接受 (確認) 按鈕。 |
| GameInputUiNavigationCancel | 0x00000008 | 取消 (返回) 按鈕。 |
| GameInputUiNavigationUp | 0x00000010 | 向上方向輸入。 |
| GameInputUiNavigationDown | 0x00000020 | 向下方向輸入。 |
| GameInputUiNavigationLeft | 0x00000040 | 向左方向輸入。 |
| GameInputUiNavigationRight | 0x00000080 | 向右方向輸入。 |
| GameInputUiNavigationContext1 | 0x00000100 | 內容動作 1 按鈕。 |
| GameInputUiNavigationContext2 | 0x00000200 | 內容動作 2 按鈕。 |
| GameInputUiNavigationContext3 | 0x00000400 | 內容動作 3 按鈕。 |
| GameInputUiNavigationContext4 | 0x00000800 | 內容動作 4 按鈕。 |
| GameInputUiNavigationPageUp | 0x00001000 | 向上翻頁。 |
| GameInputUiNavigationPageDown | 0x00002000 | 向下翻頁。 |
| GameInputUiNavigationPageLeft | 0x00004000 | 向左翻頁。 |
| GameInputUiNavigationPageRight | 0x00008000 | 向右翻頁。 |
| GameInputUiNavigationScrollUp | 0x00010000 | 向上捲動。 |
| GameInputUiNavigationScrollDown | 0x00020000 | 向下捲動。 |
| GameInputUiNavigationScrollLeft | 0x00040000 | 向左捲動。 |
| GameInputUiNavigationScrollRight | 0x00080000 | 向右捲動。 |

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v3** | 已移除。 |
| **v2** | 推出。 |

## 另請參閱

[已淘汰的 GameInput API 成員](/zh-TW/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputUiNavigationState](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputuinavigationstate)
[GameInputUiNavigationInfo](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputuinavigationinfo)


## Related topics

- [GameInputUiNavigationButtons](/reference/input/gameinput/deprecated/enums/gameinputuinavigationbuttons.md)
- [GameInputUiNavigationState](/reference/input/gameinput/deprecated/structs/gameinputuinavigationstate.md)
- [GameInputUiNavigationInfo](/reference/input/gameinput/deprecated/structs/gameinputuinavigationinfo.md)
