Input.key_down

Undocumented in source. Be warned that the author may not have intended to support it.
class Input
static
void
key_down
(
in int key
,
in void delegate
()
callback
)

Meta