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

# GameInputKeyboardKind

> GameInputKeyboardKind

# GameInputKeyboardKind

按键位布局枚举键盘类型。

<a id="syntaxSection" />

## 语法

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

<a id="constantsSection" />

## 常量

| 常量                       | 说明                   |
| ------------------------ | -------------------- |
| GameInputUnknownKeyboard | 表示键盘类型未知。            |
| GameInputAnsiKeyboard    | 表示键盘类型为 ANSI（104 键）。 |
| GameInputIsoKeyboard     | 表示键盘类型为 ISO（105 键）。  |
| GameInputKsKeyboard      | 表示键盘类型为 KS（106 键）。   |
| GameInputAbntKeyboard    | 表示键盘类型为 ABNT（107 键）。 |
| GameInputJisKeyboard     | 表示键盘类型为 JIS（109 键）。  |

<a id="remarksSection" />

## 备注

此枚举中的键盘类型是指各类键盘上按键的布局。

此枚举在 [GameInputKeyboardInfo](/reference/input/gameinput/structs/gameinputkeyboardinfo) 结构中使用。

有关详细信息，请参阅 [GameInput 设备](/build/core-features/common/input/overviews/input-devices)。

<a id="requirementsSection" />

## 要求

**标头：** GameInput.h

**支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

<a id="seealsoSection" />

## 另请参阅

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

## 版本历史

| 版本     | 变更  |
| ------ | --- |
| **v0** | 引入。 |


## Related topics

- [GameInput](/zh-CN/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](/zh-CN/reference/input/gameinput/enums/gameinputkind.md)
- [IGameInput::RegisterKeyboardLayoutCallback](/zh-CN/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerkeyboardlayoutcallback.md)
- [GameInputEnumerationKind](/zh-CN/reference/input/gameinput/enums/gameinputenumerationkind.md)
- [GameInputSwitchKind](/zh-CN/reference/input/gameinput/enums/gameinputswitchkind.md)
