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

# GameInputKeyboardInfo

> GameInputKeyboardInfo

Describes the properties of a keyboard.

## Syntax

```cpp theme={null}
struct GameInputKeyboardInfo
{
    GameInputKeyboardKind kind;
    uint32_t              layout;
    uint32_t              keyCount;
    uint32_t              functionKeyCount;
    uint32_t              maxSimultaneousKeys;
    uint32_t              platformType;
    uint32_t              platformSubtype;
};
```

### Members

*kind*\

Type: [GameInputKeyboardKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputkeyboardkind.md)

Layout of the keyboard by keyboard type.

*layout*\

Type: uint32\_t

Layout of the keyboard by country/region and language. This parameter contains the Keyboard Layout ID values that are identical to those provided by the [GetKeyboardLayoutName](https://learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getkeyboardlayoutnamea) function, but expressed as a 32-bit integer instead of a string.

*keyCount*\

Type: uint32\_t

Number of keys on the keyboard.

*functionKeyCount*\

Type: uint32\_t

Number of function keys on the keyboard.

*maxSimultaneousKeys*\

Type: uint32\_t

Maximum number of simultaneous keystrokes that can be registered.

*platformType*\

Type: uint32\_t

Keyboard platform type.

*platformSubtype*\

Type: uint32\_t

Keyboard platform subtype.

## Remarks

This structure is used in the [GameInputDeviceInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputdeviceinfo.md) structure. `GameInputDeviceInfo` is used by the [IGameInputDevice::GetDeviceInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md) method.

For more information, see [GameInput devices](https://docs.xbox.com/build/core-features/common/input/overviews/input-devices.md).

## Requirements

**Header:** GameInput.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

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

## Version History

| Version | Changes |
| - | - |
| **v1** | **Removed** `nativeLanguage` (GameInputString const\*). |
| **v0** | Introduced. |

## Appendix: Previous versions

### v0

```cpp theme={null}
struct GameInputKeyboardInfo
{
    GameInputKeyboardKind  kind;
    uint32_t               layout;
    uint32_t               keyCount;
    uint32_t               functionKeyCount;
    uint32_t               maxSimultaneousKeys;
    uint32_t               platformType;
    uint32_t               platformSubtype;
    GameInputString const* nativeLanguage;
};
```


## Related topics

- [GameInputKeyboardKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputkeyboardkind.md)
- [GameInputDeviceInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [GameInput keyboard and mouse](https://docs.xbox.com/build/core-features/common/input/advanced/input-keyboard-mouse.md)
- [GameInputKeyboardLayoutCallback](https://docs.xbox.com/reference/input/gameinput/functions/gameinputkeyboardlayoutcallback.md)
