dispatchKeyEvent

Handle the key event and return true if the event is handled. Otherwise, return false.