BinaryControl();
BinaryControl(const ControlSource &);
BinaryControl(Device &, ControlSrcType, unsigned);
- virtual ~BinaryControl();
+ ~BinaryControl();
/** Sets the threshold between states for axis sources. No effect on button
sources */
bool was_released() const { return falling_edge; }
private:
- virtual void on_press();
- virtual void on_release();
- virtual void on_motion(float, float);
+ void on_press() override;
+ void on_release() override;
+ void on_motion(float, float) override;
};
} // namespace Input