1 #ifndef MSP_INPUT_MOUSE_H_
2 #define MSP_INPUT_MOUSE_H_
4 #include <sigc++/trackable.h>
5 #include <msp/graphics/window.h>
12 Mouse device. Receives events from a Graphics::Window and presents them in a
15 Note: Y axis grows upwards.
17 class Mouse: public Device, public sigc::trackable
20 Graphics::Window &window;
23 Mouse(Graphics::Window &);
24 virtual std::string get_button_name(unsigned) const;
25 virtual std::string get_axis_name(unsigned) const;
27 void input_event(const Graphics::Window::Event &);