Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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