isDown(keycode) → {boolean} Returns true of the key is currently pressed down. Note that it can
[readonly] lastKey : Phaser.Key
reset(hard) Resets all Keys. Parameters
clearCaptures() Clear all set key captures. Source code:
addKeys(keys) → {object} A practical way to create an object containing user selected hotkeys.
addKeyCapture(keycode) By default when a key is pressed Phaser will not stop the event from propagating up to the browser.There
callbackContext : Object The context under which the callbacks are run. Source
event : Object The most recent DOM event from keydown or keyup. This is updated every time a new key is pressed or released.
removeKey(keycode) Removes a Key object from the Keyboard manager. Parameters
onDownCallback : Function This callback is invoked every time a key is pressed down, including key repeats when a key is held down
Page 2 of 3