Function EventDispatcher.onKeyDown

Called when a key is pressed.

void onKeyDown(
  int key
);