A generic touchscreen calibration program for X.Org
Revision | d6e01d780001948f55006698e8e9e48c12894810 (tree) |
---|---|
Zeit | 2010-02-16 07:14:06 |
Autor | Tias Guns <tias@ulys...> |
Commiter | Tias Guns |
release v0.6.0
@@ -1,3 +1,30 @@ | ||
1 | +xinput_calibrator 0.6.0 [2010-02-15] | |
2 | +Major features: | |
3 | +* switch to autotools based build system (Petr Štetiar) | |
4 | +* add -v option, prints debug messages | |
5 | +* add --list option, lists calibratable devices | |
6 | +* add support for --device option, selects a specific device | |
7 | +* Add a manpage | |
8 | + | |
9 | +Minor features: | |
10 | +* make it compile with strict flags (Petr Štetiar) | |
11 | +* Load font fixed when 9x15 fails in GuiCalibratorX11 (Marco Cavallini) | |
12 | +* add support for specific device id for evdev (necessary when 2 devices have the same name) | |
13 | +* xorg print: clean up output and added udev rule | |
14 | +* evdev: print ways to make config permanent (easier when evdev >= 2.3.0) | |
15 | +* scripts/xinput_calibrator.desktop a sample .desktop file | |
16 | +* scripts/xinput_calibrator_pointercal.sh script to make the changes permanent | |
17 | +(xinput is called with every Xorg start) | |
18 | + | |
19 | +Bug fixes/enhancements: | |
20 | +* fix double free in evdev calibrator (reported by Marco Cavallini) | |
21 | +* Check that XInput >= 1.5 in evdev calibrator (reported by Marcin Juszkiewicz) | |
22 | +* check that the device is a XI_TOUCHSCREEN | |
23 | +* set evdev calibration to default when none is apparently set (fixes sleep/resume quirk) | |
24 | +* swap_xy in dynamic evdev: unswap if already swapped | |
25 | + | |
26 | +For the complete changeset, see the git log | |
27 | + | |
1 | 28 | xinput_calibrator 0.5.0 [2010-01-11] |
2 | 29 | Major features: |
3 | 30 | * Rewrite: split the one-huge-file into clean components |
@@ -1,6 +1,6 @@ | ||
1 | -xinput_calibrator: A generic touchscreen calibration program for X.Org | |
1 | +xinput calibrator: A generic touchscreen calibration program for X.Org | |
2 | 2 | |
3 | -Version: 0.5.0 | |
3 | +Version: 0.6.0 | |
4 | 4 | Website: http://www.freedesktop.org/wiki/Software/xinput_calibrator |
5 | 5 | Source: http://github.com/tias/xinput_calibrator |
6 | 6 | Bugs: http://github.com/tias/xinput_calibrator/issues |
@@ -8,33 +8,37 @@ Bugs: http://github.com/tias/xinput_calibrator/issues | ||
8 | 8 | |
9 | 9 | Build instructions: |
10 | 10 | ------------------- |
11 | +./autogen.sh | |
12 | + Sets up build environment, run ./autogen.sh --help to see the build options | |
13 | + Notable build options: | |
14 | + --disable-x11 Disable X11 GUI | |
15 | + --disable-gtkmm Disable GTKMM GUI | |
11 | 16 | make |
12 | - Builds both the X11 and gtkmm based GUI, | |
13 | - the xinput_calibrator binary is the X11 based GUI by default. | |
14 | -make x11 | |
15 | - Build only the X11 based GUI (xinput_calibrator.x11) | |
16 | -make gtkmm | |
17 | - Build only the gtkmm based GUI (xinput_calibrator.gtkmm), | |
18 | - you need to have the package 'gtkmm-2.4' installed. | |
17 | + Builds the configured and available GUI's | |
19 | 18 | |
20 | 19 | Usage: |
21 | 20 | ------ |
22 | 21 | Simply run: |
23 | - ./xinput_calibrator | |
24 | -If the program uses the wrong running calibration values (because you already altered the xorg.conf or FDI policy file), run the wrapper: | |
25 | - ./get_precalib.sh | |
22 | + ./xinput_calibrator_x11 | |
23 | +or | |
24 | + ./xinput_calibrator_gtkmm | |
25 | + | |
26 | +For more information, run with --help or check the manpage. | |
27 | +The scripts/ directory constains scripts to get calibration from hal or use a pointercal file to reapply xinput commands across reboots | |
26 | 28 | |
27 | 29 | |
28 | 30 | More information: |
29 | 31 | ----------------- |
30 | 32 | Because all existing calibrators were driver dependent and hard to use, xinput_calibrator was created. The goal of xinput_calibrator is to: |
31 | 33 | * work for any Xorg driver (use Xinput to get axis valuators), |
32 | -* output the calibration as Xorg.conf and FDI policy file values, | |
34 | +* output the calibration as Xorg.conf, HAL policy and udev rule, | |
33 | 35 | * support advanced driver options, such as Evdev's dynamic calibration, |
34 | 36 | * have a very intuitive GUI (normal X client). |
35 | 37 | |
36 | 38 | 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. |
37 | 39 | |
38 | -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. | |
40 | +Starting from v0.4.0, it 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. | |
39 | 41 | |
40 | 42 | The v0.5.0 version is written entirely in the X window system, needing no external dependencies. Because of its modular structure, other frontends can be easily created too. |
43 | + | |
44 | +Version v0.6.0 has a proper build system and gained a lot of features thanks to the feedback of different users. |
@@ -25,7 +25,7 @@ | ||
25 | 25 | # |
26 | 26 | |
27 | 27 | AC_PREREQ([2.57]) |
28 | -AC_INIT(xinput_calibrator,[0.5.0], [http://github.com/tias/xinput_calibrator/issues],, [http://www.freedesktop.org/wiki/Software/xinput_calibrator]) | |
28 | +AC_INIT(xinput_calibrator,[0.6.0], [http://github.com/tias/xinput_calibrator/issues],, [http://www.freedesktop.org/wiki/Software/xinput_calibrator]) | |
29 | 29 | AM_INIT_AUTOMAKE([foreign dist-bzip2]) |
30 | 30 | AM_MAINTAINER_MODE |
31 | 31 |
@@ -37,7 +37,6 @@ AC_PATH_X | ||
37 | 37 | AC_CHECK_HEADERS([stdlib.h string.h]) |
38 | 38 | AC_HEADER_STDBOOL |
39 | 39 | AC_FUNC_STRTOD |
40 | -AC_CHECK_FUNCS([strdup]) | |
41 | 40 | |
42 | 41 | PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5]) |
43 | 42 | AC_SUBST(XINPUT_CFLAGS) |