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

# GameInputKeyboardKind

> GameInputKeyboardKind

# GameInputKeyboardKind

依按鍵配置列舉鍵盤類型。

## 語法

```cpp theme={null}
enum GameInputKeyboardKind
{
    GameInputUnknownKeyboard = -1,
    GameInputAnsiKeyboard    =  0,
    GameInputIsoKeyboard     =  1,
    GameInputKsKeyboard      =  2,
    GameInputAbntKeyboard    =  3,
    GameInputJisKeyboard     =  4
};
```

## 常數

| 常數 | 描述 |
| - | - |
| GameInputUnknownKeyboard | 表示鍵盤類型不明。 |
| GameInputAnsiKeyboard | 表示鍵盤類型為 ANSI (104 鍵)。 |
| GameInputIsoKeyboard | 表示鍵盤類型為 ISO (105 鍵)。 |
| GameInputKsKeyboard | 表示鍵盤類型為 KS (106 鍵)。 |
| GameInputAbntKeyboard | 表示鍵盤類型為 ABNT (107 鍵)。 |
| GameInputJisKeyboard | 表示鍵盤類型為 JIS (109 鍵)。 |

## 備註

此列舉中的鍵盤類型是指各種鍵盤的按鍵配置。

此列舉用於 [GameInputKeyboardInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputkeyboardinfo.md) 結構。

如需詳細資訊，請參閱 [GameInput 裝置](https://docs.xbox.com/zh-TW/build/core-features/common/input/overviews/input-devices.md)。

## 需求

**標頭：** GameInput.h

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

## 另請參閱

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

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v0** | 初次推出。 |


## Related topics

- [GameInputKeyboardInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputkeyboardinfo.md)
- [GameInput API 成員](https://docs.xbox.com/zh-TW/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](https://docs.xbox.com/zh-TW/reference/input/gameinput/enums/gameinputkind.md)
- [GameInputKeyboardLayoutCallback](https://docs.xbox.com/zh-TW/reference/input/gameinput/functions/gameinputkeyboardlayoutcallback.md)
- [IGameInput::RegisterKeyboardLayoutCallback](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerkeyboardlayoutcallback.md)
