Basic input handling

Implement basic input handlers and capabilities to pass on mouse and keyboard events. Used for supplying rendering backends like OSG with the necessary input events.