Class GLGE.KeyInput
Monitors keyboard input for use in render loops
Defined in: glge_input.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
isKeyPressed(the)
Tests if a key is pressed
|
Method Detail
{boolean}
isKeyPressed(the)
Tests if a key is pressed
- Parameters:
- {number} the
- keycode to check
- Returns:
- {boolean} key returns true if the key is being pressed