GameInputKeyState
Describes the state of an active key on a game controller.Syntax
Members
scanCodeType: uint32_t The scan code of the key. codePoint
Type: uint32_t The Unicode code point of the physical glyph on the key. virtualKey
Type: uint8_t The virtual-key code. isDeadKey
Type: bool Indicates whether the key is dead. (A dead key modifies the character generated by the next keystroke.)
Remarks
This structure is used by the IGameInputReading::GetKeyState method.GetKeyState is intended solely for mapping keyboard input to game actions, not for regular text input.
For more information, see GameInput readings.
Requirements
Header: GameInput.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
Overview of GameInputGameInput
