Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the state of an active key on a game controller.
Syntax
struct GameInputKeyState
{
uint32_t scanCode;
uint32_t codePoint;
uint8_t virtualKey;
bool isDeadKey;
};
Members
scanCode Type: 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