A generic touchscreen calibration program for X.Org
Revision | 8d57891abfe5d7f78eb27bbdec0932df1f938dbe (tree) |
---|---|
Time | 2010-08-16 06:52:22 |
Author | Tias Guns <tias@ulys...> |
Commiter | Tias Guns |
Spelling fixes (thanks Paul Wise)
@@ -46,7 +46,7 @@ use \-\-list to list the calibratable input devices. | ||
46 | 46 | .B \-\-precalib \fImin_x\fP \fImax_x\fP \fImin_y\fP \fImax_y\fP |
47 | 47 | Manually provide the current calibration setting. |
48 | 48 | .br |
49 | -This is usefull if the calibration values are stored in your xorg.conf, but the driver does not export them through XInput (eg. the calibrator can not know these values) | |
49 | +This is useful if the calibration values are stored in your xorg.conf, but the driver does not export them through XInput (eg. the calibrator can not know these values) | |
50 | 50 | .PP |
51 | 51 | .TP 8 |
52 | 52 | .B \-\-misclick \fInr_of_pixels\fP |
@@ -56,7 +56,7 @@ set the misclick threshold (0=off, default: 15 pixels) | ||
56 | 56 | .B \-\-fake |
57 | 57 | Emulate a fake driver (for testing purposes) |
58 | 58 | .br |
59 | -Usefull to test the calibrator without applying the values, and possibly even without having a touchscreen. | |
59 | +Useful to test the calibrator without applying the values, and possibly even without having a touchscreen. | |
60 | 60 | .SH "USAGE" |
61 | 61 | Run xinput_calibrator in a terminal, as it prints out the calibration values and instructions on standard output. |
62 | 62 | .PP |
@@ -126,7 +126,7 @@ CalibratorEvdev::CalibratorEvdev(const char* const device_name0, const XYinfo& a | ||
126 | 126 | |
127 | 127 | if (verbose) { |
128 | 128 | if (ok) |
129 | - printf("DEBUG: Succesfully applied axis calibration.\n"); | |
129 | + printf("DEBUG: Successfully applied axis calibration.\n"); | |
130 | 130 | else |
131 | 131 | printf("DEBUG: Failed to apply axis calibration.\n"); |
132 | 132 | } |
@@ -192,7 +192,7 @@ bool CalibratorEvdev::finish_data(const XYinfo new_axys, int swap_xy) | ||
192 | 192 | |
193 | 193 | if (verbose) { |
194 | 194 | if (ok) |
195 | - printf("DEBUG: Succesfully swapped X and Y axis.\n"); | |
195 | + printf("DEBUG: Successfully swapped X and Y axis.\n"); | |
196 | 196 | else |
197 | 197 | printf("DEBUG: Failed to swap X and Y axis.\n"); |
198 | 198 | } |
@@ -205,7 +205,7 @@ bool CalibratorEvdev::finish_data(const XYinfo new_axys, int swap_xy) | ||
205 | 205 | |
206 | 206 | if (verbose) { |
207 | 207 | if (ok) |
208 | - printf("DEBUG: Succesfully applied axis calibration.\n"); | |
208 | + printf("DEBUG: Successfully applied axis calibration.\n"); | |
209 | 209 | else |
210 | 210 | printf("DEBUG: Failed to apply axis calibration.\n"); |
211 | 211 | } |
@@ -187,7 +187,7 @@ bool CalibratorUsbtouchscreen::finish_data(const XYinfo new_axys, int swap_xy) | ||
187 | 187 | // to keep the for the next boot |
188 | 188 | FILE *fid = fopen(modprobe_conf_local, "r"); |
189 | 189 | if (fid == NULL) { |
190 | - fprintf(stderr, "Error: Can't open '%s' for reading. Make sure you have the necesary rights\n", modprobe_conf_local); | |
190 | + fprintf(stderr, "Error: Can't open '%s' for reading. Make sure you have the necessary rights\n", modprobe_conf_local); | |
191 | 191 | fprintf(stderr, "New calibration data NOT saved\n"); |
192 | 192 | return false; |
193 | 193 | } |
@@ -217,7 +217,7 @@ bool CalibratorUsbtouchscreen::finish_data(const XYinfo new_axys, int swap_xy) | ||
217 | 217 | |
218 | 218 | fid = fopen(modprobe_conf_local, "w"); |
219 | 219 | if (fid == NULL) { |
220 | - fprintf(stderr, "Error: Can't open '%s' for writing. Make sure you have the necesary rights\n", modprobe_conf_local); | |
220 | + fprintf(stderr, "Error: Can't open '%s' for writing. Make sure you have the necessary rights\n", modprobe_conf_local); | |
221 | 221 | fprintf(stderr, "New calibration data NOT saved\n"); |
222 | 222 | return false; |
223 | 223 | } |