Listen for and post key events from native text fields.

The game can't catch keypresses and prevent them from making it to the text field, but can respond
easily to non-printables like tab, escape and arrow keys.