HPL3/Amnesia: Rebirth/Scripting/iKeyboard
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
iKeyboard has no public fields.
Functions
Return Type | Function And Description |
---|---|
cKeyPress | GetKey() |
int | GetModifier() |
cKeyPress | GetReleasedKey() |
bool | KeyIsDown(eKey aKey) |
bool | KeyIsPressed() |
bool | KeyIsReleased() |
tString | KeyToString(eKey ) |
tString | KeyToSymbol(eKey ) |
tString | ModifierKeyToString(eKeyModifier ) |
eKey | StringToKey(const tString &in ) |
Details
GetKey
cKeyPress GetKey()
Returns:
- cKeyPress—
GetModifier
int GetModifier()
Returns:
- int—
GetReleasedKey
cKeyPress GetReleasedKey()
Returns:
- cKeyPress—
KeyIsDown
KeyIsPressed
bool KeyIsPressed()
Returns:
- bool—
KeyIsReleased
bool KeyIsReleased()
Returns:
- bool—