• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A generic touchscreen calibration program for X.Org


Commit MetaInfo

Revision8d57891abfe5d7f78eb27bbdec0932df1f938dbe (tree)
Time2010-08-16 06:52:22
AuthorTias Guns <tias@ulys...>
CommiterTias Guns

Log Message

Spelling fixes (thanks Paul Wise)

Change Summary

Incremental Difference

--- a/man/xinput_calibrator.1
+++ b/man/xinput_calibrator.1
@@ -46,7 +46,7 @@ use \-\-list to list the calibratable input devices.
4646 .B \-\-precalib \fImin_x\fP \fImax_x\fP \fImin_y\fP \fImax_y\fP
4747 Manually provide the current calibration setting.
4848 .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)
5050 .PP
5151 .TP 8
5252 .B \-\-misclick \fInr_of_pixels\fP
@@ -56,7 +56,7 @@ set the misclick threshold (0=off, default: 15 pixels)
5656 .B \-\-fake
5757 Emulate a fake driver (for testing purposes)
5858 .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.
6060 .SH "USAGE"
6161 Run xinput_calibrator in a terminal, as it prints out the calibration values and instructions on standard output.
6262 .PP
--- a/src/calibrator/calibratorEvdev.cpp
+++ b/src/calibrator/calibratorEvdev.cpp
@@ -126,7 +126,7 @@ CalibratorEvdev::CalibratorEvdev(const char* const device_name0, const XYinfo& a
126126
127127 if (verbose) {
128128 if (ok)
129- printf("DEBUG: Succesfully applied axis calibration.\n");
129+ printf("DEBUG: Successfully applied axis calibration.\n");
130130 else
131131 printf("DEBUG: Failed to apply axis calibration.\n");
132132 }
@@ -192,7 +192,7 @@ bool CalibratorEvdev::finish_data(const XYinfo new_axys, int swap_xy)
192192
193193 if (verbose) {
194194 if (ok)
195- printf("DEBUG: Succesfully swapped X and Y axis.\n");
195+ printf("DEBUG: Successfully swapped X and Y axis.\n");
196196 else
197197 printf("DEBUG: Failed to swap X and Y axis.\n");
198198 }
@@ -205,7 +205,7 @@ bool CalibratorEvdev::finish_data(const XYinfo new_axys, int swap_xy)
205205
206206 if (verbose) {
207207 if (ok)
208- printf("DEBUG: Succesfully applied axis calibration.\n");
208+ printf("DEBUG: Successfully applied axis calibration.\n");
209209 else
210210 printf("DEBUG: Failed to apply axis calibration.\n");
211211 }
--- a/src/calibrator/calibratorUsbtouchscreen.cpp
+++ b/src/calibrator/calibratorUsbtouchscreen.cpp
@@ -187,7 +187,7 @@ bool CalibratorUsbtouchscreen::finish_data(const XYinfo new_axys, int swap_xy)
187187 // to keep the for the next boot
188188 FILE *fid = fopen(modprobe_conf_local, "r");
189189 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);
191191 fprintf(stderr, "New calibration data NOT saved\n");
192192 return false;
193193 }
@@ -217,7 +217,7 @@ bool CalibratorUsbtouchscreen::finish_data(const XYinfo new_axys, int swap_xy)
217217
218218 fid = fopen(modprobe_conf_local, "w");
219219 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);
221221 fprintf(stderr, "New calibration data NOT saved\n");
222222 return false;
223223 }