Convert a key event to another.
a key event
a KeyEvent or `null` if the result cannot be fetched immediately