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

# GameInputKeyboardInfo

> GameInputKeyboardInfo

# GameInputKeyboardInfo

Describes the properties of a keyboard.

<a id="syntaxSection" />

## 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;
};
```

<a id="membersSection" />

### Members

*kind*<br />
Type: [GameInputKeyboardKind](/reference/input/gameinput/enums/gameinputkeyboardkind)

Layout of the keyboard by keyboard type.

*layout*<br />
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*<br />
Type: uint32\_t

Number of keys on the keyboard.

*functionKeyCount*<br />
Type: uint32\_t

Number of function keys on the keyboard.

*maxSimultaneousKeys*<br />
Type: uint32\_t

Maximum number of simultaneous keystrokes that can be registered.

*platformType*<br />
Type: uint32\_t

Keyboard platform type.

*platformSubtype*<br />
Type: uint32\_t

Keyboard platform subtype.

<a id="remarksSection" />

## Remarks

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

For more information, see [GameInput devices](/build/core-features/common/input/overviews/input-devices).

<a id="requirementsSection" />

## Requirements

**Header:** GameInput.h

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

<a id="seealsoSection" />

## See also

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

## 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](/reference/input/gameinput/enums/gameinputkeyboardkind.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInputKeyboardLayoutCallback](/reference/input/gameinput/functions/gameinputkeyboardlayoutcallback.md)
- [IGameInput::RegisterKeyboardLayoutCallback](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerkeyboardlayoutcallback.md)
