Viewport input modes

To be written...