> ## 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-CN/reference/input/gameinput/structs/gameinputkeyboardinfo.md) 结构中使用。

有关详细信息，请参阅 [GameInput 设备](https://docs.xbox.com/zh-CN/build/core-features/common/input/overviews/input-devices.md)。

## 要求

**标头：** GameInput.h

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

## 另请参阅

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

## 版本历史

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


## Related topics

- [GameInput API 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](https://docs.xbox.com/zh-CN/reference/input/gameinput/enums/gameinputkind.md)
- [IGameInput::RegisterKeyboardLayoutCallback](https://docs.xbox.com/zh-CN/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerkeyboardlayoutcallback.md)
- [GetInputKind](https://docs.xbox.com/zh-CN/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getinputkind.md)
- [GameInputEnumerationKind](https://docs.xbox.com/zh-CN/reference/input/gameinput/enums/gameinputenumerationkind.md)
