• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine 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

Revisiond6e01d780001948f55006698e8e9e48c12894810 (tree)
Zeit2010-02-16 07:14:06
AutorTias Guns <tias@ulys...>
CommiterTias Guns

Log Message

release v0.6.0

Ändern Zusammenfassung

Diff

--- a/Changelog
+++ b/Changelog
@@ -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+
128 xinput_calibrator 0.5.0 [2010-01-11]
229 Major features:
330 * Rewrite: split the one-huge-file into clean components
--- a/README
+++ b/README
@@ -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
22
3-Version: 0.5.0
3+Version: 0.6.0
44 Website: http://www.freedesktop.org/wiki/Software/xinput_calibrator
55 Source: http://github.com/tias/xinput_calibrator
66 Bugs: http://github.com/tias/xinput_calibrator/issues
@@ -8,33 +8,37 @@ Bugs: http://github.com/tias/xinput_calibrator/issues
88
99 Build instructions:
1010 -------------------
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
1116 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
1918
2019 Usage:
2120 ------
2221 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
2628
2729
2830 More information:
2931 -----------------
3032 Because all existing calibrators were driver dependent and hard to use, xinput_calibrator was created. The goal of xinput_calibrator is to:
3133 * 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,
3335 * support advanced driver options, such as Evdev's dynamic calibration,
3436 * have a very intuitive GUI (normal X client).
3537
3638 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.
3739
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.
3941
4042 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.
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,7 @@
2525 #
2626
2727 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])
2929 AM_INIT_AUTOMAKE([foreign dist-bzip2])
3030 AM_MAINTAINER_MODE
3131
@@ -37,7 +37,6 @@ AC_PATH_X
3737 AC_CHECK_HEADERS([stdlib.h string.h])
3838 AC_HEADER_STDBOOL
3939 AC_FUNC_STRTOD
40-AC_CHECK_FUNCS([strdup])
4140
4241 PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5])
4342 AC_SUBST(XINPUT_CFLAGS)