Murl Engine Lua Addon API  Version 1.0 beta
Murl.Input.IRawButtonDevice

The IRawButtonDevice interface.


Table members

Inherited


Murl.Input.IDevice

Methods


IsButtonPressed(code)

Check if a specified raw-button is pressed.

Boolean IsButtonPressed(Murl.RawButtonCode code)

Parameters
codeThe raw-button identifier.
Returns
Boolean true if the button is pressed.

WasButtonPressed(code)

Check if a specified raw-button was pressed in the most recent tick.

Boolean WasButtonPressed(Murl.RawButtonCode code)

Parameters
codeThe raw-button identifier.
Returns
Boolean true if the button was pressed in the most recent tick.

WasButtonReleased(code)

Check if a specified raw-button was released in the most recent tick.

Boolean WasButtonReleased(Murl.RawButtonCode code)

Parameters
codeThe raw-button identifier.
Returns
Boolean true if the button was released in the most recent tick.