]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/control.h
Normalize device axis ranges to [-1, 1]
[libs/gui.git] / source / input / control.h
index 5b435dcf0a1f478ee0994657998bd87e09eaec9e..1d8c50a06bd84040dc17f50c155b1997a733c0c2 100644 (file)
@@ -61,9 +61,7 @@ protected:
        Control();
        Control(const ControlSource &);
        Control(Device &, ControlSrcType, unsigned);
-       Control(const Control &);
 public:
-       Control &operator=(const Control &);
        virtual ~Control() { }
 
        void capture(Device &);
@@ -81,6 +79,9 @@ private:
        void button_press(unsigned);
        void button_release(unsigned);
        void axis_motion(unsigned, float, float);
+
+       Control(const Control &);
+       Control &operator=(const Control &);
 };
 
 } // namespace Input