Difference between revisions of "HPL3/Community/Scripting/Classes/ikeyboard"
Jump to navigation
Jump to search
(Upload classes to sub) |
(No difference)
|
Latest revision as of 10:11, 30 July 2020
Contents
iKeyboard
Fields
iKeyboard has no public fields.
Functions
| Return Type | Function Name | Parameters | Description |
|---|---|---|---|
| bool | KeyIsDown | eKey aKey | |
| cKeyPress | GetKey | ||
| bool | KeyIsPressed | ||
| int | GetModifier | ||
| cKeyPress | GetReleasedKey | ||
| bool | KeyIsReleased | ||
| tString | KeyToString | eKey | |
| tString | KeyToSymbol | eKey | |
| tString | ModifierKeyToString | eKeyModifier | |
| eKey | StringToKey | const tString &in |
Remarks
An instance of the iKeyboard class can be retrieved from the game engine by using the cInput_GetKeyboard function.