onKeyDown method

void onKeyDown(
  1. int keyCode
)

triggered if the state of the key is down

Implementation

void onKeyDown(int keyCode) {

}