- void key_press(unsigned, unsigned, wchar_t);
- void key_release(unsigned, unsigned);
+ void button_press(unsigned);
+ void button_release(unsigned);
+ void axis_motion(unsigned, float, float);
+ void key_press(unsigned);
+ void key_release(unsigned);
+
+public:
+ /** Return the focus point, i.e. where the look ray intersects with ground. */
+ Msp::GL::Vector3 get_focus() const;
+
+ /** Return distance from the focus point. */
+ float get_distance() const;
+
+ /** Return the viewport height at focus distance. */
+ float get_view_scale() const;