Add keyboard handlers to the game engine.