A generic touchscreen calibration program for X.Org
Revision | 2d732a7e50e9356653fb92650e1ccebc135e1202 (tree) |
---|---|
Time | 2009-12-02 07:44:51 |
Author | Tias <tias@kata...> |
Commiter | Tias |
Add README and Changelog
remove reference to evtouch in precalib script
@@ -0,0 +1,17 @@ | ||
1 | +xinput_calibrator 0.4.1 [2009-12-1] | |
2 | +Other: | |
3 | +* Add README and Changelog file | |
4 | + | |
5 | +xinput_calibrator 0.4.0 [2009-12-1] | |
6 | +New features/improvements: | |
7 | +* Add example FDI policy file for generic touchscreen, next to example xorg.conf values | |
8 | +* Add support for providing the current calibration on the command line (with --precalib), add help information (-h or --help). Included a script that reads the current calibration data from lshal, and runs the calibration program with the right --precalib data | |
9 | +* Add support for dynamic evdev re-calibration | |
10 | + | |
11 | + | |
12 | +xinput_calibrator 0.2.0 [2009-09-10] | |
13 | +New features/improvements: | |
14 | +* Add generic xinput methods for reading the current data and writing example xorg.conf files. | |
15 | +* put usbtouchscreen specific stuff in a new subclass | |
16 | +* Initial code from | |
17 | +http://lists.x.org/archives/xorg/2008-September/039064.html |
@@ -0,0 +1,35 @@ | ||
1 | +This is xinput_calibrator v0.4.1 | |
2 | + | |
3 | +xinput_calibrator: A generic touchscreen calibration program, for all Xorg touchscreen drivers. | |
4 | + | |
5 | +Website: http://www.freedesktop.org/wiki/Software/xinput_calibrator | |
6 | + | |
7 | + | |
8 | +Build instructions: | |
9 | +------------------- | |
10 | + g++ -Wall xinput_calibrator.cc `pkg-config --cflags --libs gtkmm-2.4` -o xinput_calibrator | |
11 | + | |
12 | +Installation instructions: | |
13 | +-------------------------- | |
14 | +You need to have the package 'gtkmm-2.4' installed ! (this dependency will be removed in the next version) | |
15 | + | |
16 | +Usage: | |
17 | +------ | |
18 | +Simply run: | |
19 | + ./xinput_calibrator | |
20 | +If the program uses the wrong running calibration values (because you already altered the xorg.conf or FDI policy file), run the wrapper: | |
21 | + ./get_precalib.sh | |
22 | + | |
23 | + | |
24 | +More information: | |
25 | +----------------- | |
26 | +Because all existing calibrators were driver dependent and hard to use, xinput_calibrator was created. The goal of xinput_calibrator is to: | |
27 | +* work for any Xorg driver (use Xinput to get axis valuators), | |
28 | +* output the calibration as Xorg.conf and FDI policy file values, | |
29 | +* support advanced driver options, such as Evdev's dynamic calibration, | |
30 | +* have a very intuitive GUI (normal X client). | |
31 | + | |
32 | +Xinput_calibrator is based on a simple calibrator that was proposed on the Xorg mailinglist. The first release(v0.2.0) improved upon it by reading axis valuators from Xinput, hence making it generic for all touchscreen drivers. The announcement was done on the Xorg mailinglist, and the code is on Tias' webpage. | |
33 | + | |
34 | +The new version (v0.4.0) writes Xorg.conf and (HAL) FDI policy file values, and contains a wrapper script to get axis valuator information for the evtouch driver (evtouch does not export the current calibration through its axis valuators). It is also the first program to support dynamic evdev calibration, by using its advanced Xinput functionality. | |
35 | + |
@@ -1,5 +1,5 @@ | ||
1 | 1 | #!/bin/sh |
2 | -# Get running EVTOUCH calibration data from lshal | |
2 | +# Get running calibration data from lshal | |
3 | 3 | # (needed to recalibrate it, most easily fetchable from lshal) |
4 | 4 | |
5 | 5 | export PATH=".:$PATH" |