Input.addKeyEvent

Add an event to be fired when the given key changes.

class Input
static final
void
addKeyEvent

Parameters

keyCode uint

The code of the key to add the event to.

func KeyEvent

The function to call when the key state changes.

Meta