Implement InputProcessor that consumes the keyboard event queue.