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

The IRawKeyboardDevice interface.


Table members

Inherited


Murl.Input.IDevice

Methods


IsKeyPressed(code)

Check if a specified raw-key is pressed.

Boolean IsKeyPressed(Murl.RawKeyCode code)

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

WasKeyPressed(code)

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

Boolean WasKeyPressed(Murl.RawKeyCode code)

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

WasKeyReleased(code)

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

Boolean WasKeyReleased(Murl.RawKeyCode code)

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