HPL3/Amnesia: Rebirth/Scripting/iKeyboard

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting
Revision as of 00:39, 16 November 2020 by Abion47 (talk | contribs) (Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== iKeyboard has no public fields. ==Functio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

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

bool KeyIsDown(eKey aKey)


Parameters

Returns:

  • bool—

KeyIsPressed

bool KeyIsPressed()

Returns:

  • bool—

KeyIsReleased

bool KeyIsReleased()

Returns:

  • bool—

KeyToString

tString KeyToString(eKey )


Parameters

Returns:

  • tString—

KeyToSymbol

tString KeyToSymbol(eKey )


Parameters

Returns:

  • tString—

ModifierKeyToString

tString ModifierKeyToString(eKeyModifier )


Parameters

Returns:

  • tString—

StringToKey

eKey StringToKey(const tString &in )


Parameters

Returns:

  • eKey—

References

See all references...