Compartir a través de


GameInputKeyboardInfo

Describes the properties of a keyboard.

Syntax

typedef 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;  
} GameInputKeyboardInfo  

Members

kind
Type: GameInputKeyboardKind

Layout of the keyboard by keyboard type.

layout
Type: uint32_t

Layout of the keyboard by country or region and language. This parameter contains the Keyboard Layout ID values that are identical to those provided by the GetKeyboardLayoutName 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.

nativeLanguage
Type: GameInputString const *

Native language of the keyboard.

Remarks

This structure is used in the GameInputDeviceInfo structure. GameInputDeviceInfo is used by the IGameInputDevice::GetDeviceInfo method.

For more information, see GameInput devices.

Requirements

Header: GameInput.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Overview of GameInput
GameInput