KeyListener

That class meant to be inherited by your classes that want to listen for keyboard events.

You can then assign your listener to device with IOGether::addKeyListener(KeyListener * listener, bool asHighestPriority).

See the main IODevices Module page for details and sample code.