HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cInput
< HPL3 | Amnesia: Rebirth | Scripting | Scripting Api
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
- 1 Summary
- 2 Function Detail
- 2.1 cInput_BecameTriggered
- 2.2 cInput_BecameTriggered
- 2.3 cInput_CheckForInput
- 2.4 cInput_CreateAction
- 2.5 cInput_DestroyAction
- 2.6 cInput_DoubleTriggered
- 2.7 cInput_DoubleTriggered
- 2.8 cInput_GetAction
- 2.9 cInput_GetAction
- 2.10 cInput_GetEyeTracker
- 2.11 cInput_GetKeyboard
- 2.12 cInput_GetMouse
- 2.13 cInput_InputToSubAction
- 2.14 cInput_IsTriggered
- 2.15 cInput_IsTriggered
- 2.16 cInput_ResetActionsToCurrentState
- 2.17 cInput_Update
- 2.18 cInput_WasTriggered
- 2.19 cInput_WasTriggered
Summary
Return Type | Function and Description |
---|---|
bool | cInput_BecameTriggered(const tString &in asName) |
bool | cInput_BecameTriggered(int alId) |
bool | cInput_CheckForInput() |
cAction | cInput_CreateAction(const tString &in asName, int alId) |
void | cInput_DestroyAction(cAction @apAction) |
bool | cInput_DoubleTriggered(const tString &in asName, float afLimit) |
bool | cInput_DoubleTriggered(int alId, float afLimit) |
cAction | cInput_GetAction(const tString &in asName) |
cAction | cInput_GetAction(int alId) |
iEyeTracker | cInput_GetEyeTracker() |
iKeyboard | cInput_GetKeyboard() |
iMouse | cInput_GetMouse() |
iSubAction | cInput_InputToSubAction() |
bool | cInput_IsTriggered(const tString &in asName) |
bool | cInput_IsTriggered(int alId) |
void | cInput_ResetActionsToCurrentState() |
void | cInput_Update(float afX) |
bool | cInput_WasTriggered(const tString &in asName) |
bool | cInput_WasTriggered(int alId) |
Function Detail
cInput_BecameTriggered
cInput_BecameTriggered
bool cInput_BecameTriggered(int alId)
Parameters
- alId (int) —
Returns:
- bool—
cInput_CheckForInput
bool cInput_CheckForInput()
Returns:
- bool—
cInput_CreateAction
cAction@ cInput_CreateAction(const tString &in asName,
int alId)
Parameters
- asName (tString) —
- alId (int) —
Returns:
- cAction@—
cInput_DestroyAction
cInput_DoubleTriggered
bool cInput_DoubleTriggered(const tString &in asName,
float afLimit)
Parameters
- asName (tString) —
- afLimit (float) —
Returns:
- bool—
cInput_DoubleTriggered
bool cInput_DoubleTriggered(int alId,
float afLimit)
Parameters
- alId (int) —
- afLimit (float) —
Returns:
- bool—
cInput_GetAction
cAction@ cInput_GetAction(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cAction@—
cInput_GetAction
cAction@ cInput_GetAction(int alId)
Parameters
- alId (int) —
Returns:
- cAction@—
cInput_GetEyeTracker
iEyeTracker@ cInput_GetEyeTracker()
Returns:
- iEyeTracker@—
cInput_GetKeyboard
iKeyboard@ cInput_GetKeyboard()
Returns:
- iKeyboard@—
cInput_GetMouse
iMouse@ cInput_GetMouse()
Returns:
- iMouse@—
cInput_InputToSubAction
iSubAction@ cInput_InputToSubAction()
Returns:
- iSubAction@—
cInput_IsTriggered
cInput_IsTriggered
bool cInput_IsTriggered(int alId)
Parameters
- alId (int) —
Returns:
- bool—
cInput_ResetActionsToCurrentState
void cInput_ResetActionsToCurrentState()
Returns:
- void
cInput_Update
void cInput_Update(float afX)
Parameters
- afX (float) —
Returns:
- void
cInput_WasTriggered
cInput_WasTriggered
bool cInput_WasTriggered(int alId)
Parameters
- alId (int) —
Returns:
- bool—