Each keystroke corresponds to one invocation of this method. keyID is a
string identifier for that key. Printable characters are represented by
themselves. Control keys, such as arrows and function keys, are
represented with symbolic constants on ServerProtocol.