diff --git a/src/calibrator.hh b/src/calibrator.hh index 1520be3..73d8a7f 100644 --- a/src/calibrator.hh +++ b/src/calibrator.hh @@ -92,10 +92,6 @@ struct XYinfo { XYinfo(const XYinfo& old) : swap_xy(old.swap_xy), x(old.x), y(old.y) {} - void do_swap_xy() { - swap_xy = !swap_xy; - } - void do_xf86ScaleAxis(const XYinfo& to, const XYinfo& from) { x.min = xf86ScaleAxis(x.min, to.x.max, to.x.min, from.x.max, from.x.min); x.max = xf86ScaleAxis(x.max, to.x.max, to.x.min, from.x.max, from.x.min); @@ -187,9 +183,6 @@ protected: /// Apply new calibration, implementation dependent virtual bool finish_data(const XYinfo new_axys) =0; - /// Compute calibration on 1 axis - void process_axys( int screen_dim, const AxisInfo &previous, std::vector &clicked, AxisInfo &updated ); - /// Check whether the given name is a sysfs device name bool is_sysfs_name(const char* name);