Skip to content

Commit bfeaf2e

Browse files
committed
two minor API cleanups
1 parent 095d7c9 commit bfeaf2e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/calibrator.hh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,6 @@ struct XYinfo {
9292
XYinfo(const XYinfo& old) :
9393
swap_xy(old.swap_xy), x(old.x), y(old.y) {}
9494

95-
void do_swap_xy() {
96-
swap_xy = !swap_xy;
97-
}
98-
9995
void do_xf86ScaleAxis(const XYinfo& to, const XYinfo& from) {
10096
x.min = xf86ScaleAxis(x.min, to.x.max, to.x.min, from.x.max, from.x.min);
10197
x.max = xf86ScaleAxis(x.max, to.x.max, to.x.min, from.x.max, from.x.min);
@@ -187,9 +183,6 @@ protected:
187183
/// Apply new calibration, implementation dependent
188184
virtual bool finish_data(const XYinfo new_axys) =0;
189185

190-
/// Compute calibration on 1 axis
191-
void process_axys( int screen_dim, const AxisInfo &previous, std::vector<int> &clicked, AxisInfo &updated );
192-
193186
/// Check whether the given name is a sysfs device name
194187
bool is_sysfs_name(const char* name);
195188

0 commit comments

Comments
 (0)