Skip to content

Commit

Permalink
two minor API cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
tias committed Jun 26, 2012
1 parent 095d7c9 commit bfeaf2e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/calibrator.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<int> &clicked, AxisInfo &updated );

/// Check whether the given name is a sysfs device name
bool is_sysfs_name(const char* name);

Expand Down

0 comments on commit bfeaf2e

Please sign in to comment.