handleKeyEvent method

bool handleKeyEvent(
  1. KeyEvent event
)

A keyboard event; controllers that move on keys track held state here. Returns true when the key is consumed (so the driver can stop it propagating and the platform does not beep at a held movement key).

Implementation

bool handleKeyEvent(KeyEvent event) => false;