Commit Graph

19 Commits

Author SHA1 Message Date
matthieu
fc1734598c Add a '-c' option to keep the X cursor visible while calibrating. 2011-07-16 17:27:52 +00:00
matthieu
6efadade45 White space cleanup. 2011-07-16 17:21:41 +00:00
jasper
5e7ee14517 spello 2011-06-28 08:18:49 +00:00
jasper
a901d331ca - add a flag to specify the display to start xtsscale on.
ok matthieu@
2010-12-06 06:49:47 +00:00
matthieu
3b261f2541 add a -v flag to select verbose mode, to output raw coordinate read
from the device, for debugging.
2010-03-23 20:27:42 +00:00
matthieu
7d573b6e6c Start adding XRandR support. not really functional yet though.
(missing the code to compute the calibration data that restrict events
to a given output)
2010-01-22 07:47:54 +00:00
matthieu
dcbd99cf98 white space 2009-11-26 18:13:47 +00:00
sobrado
106b1b9087 "usage:" is usually lower case.
ok matthieu@
2009-11-26 14:25:05 +00:00
matthieu
017934b7cb Tidy up error messages. 2009-11-26 11:35:29 +00:00
matthieu
cff976af37 Allow the ESC key to interrupt the calibration process. 2009-11-26 10:58:45 +00:00
matthieu
bbbb8c20ea Better error handling during device selection. 2009-11-25 23:00:57 +00:00
matthieu
f194ce2bfc Search for calibration properties atoms earlier, to avoid a screen
flash when they are not present.
2009-11-25 19:43:05 +00:00
matthieu
2733f18bd5 New, XInput based, version of xtsscale(1).
XInput is used to get raw events from the device and device properties
are used to send the data back to the X server.
Calibration can now be done without restarting X.
2009-11-25 18:30:13 +00:00
matthieu
7c79bd957e - Make the draw_text() function more generic.
- Display an error message on the screen when the calibration error
  is too high before re-starting.
2007-08-31 21:53:55 +00:00
matthieu
69e64ab313 Switch to Xft/Xrender rendering. Welcome to the 21st century. 2007-08-31 21:17:33 +00:00
matthieu
954f29d459 Remove the useless ts structure, and fix the setting
of the new calibration values.
2007-08-31 20:59:33 +00:00
matthieu
63b35455d7 Fix error computation, in the case where one axis is inverted. 2007-08-31 20:28:18 +00:00
matthieu
bd8915f09a First round of bug fixes/enhancements.
- fix arithmetic errors.
- auto-detect swapxy.
2007-08-30 19:45:25 +00:00
robert
22432ec2e5 add xtsscale(1), an application that can be used to
calibrate touchscreens driven by the uts(4) driver.
it is not linked to the build yet; discussed with matthieu@
2007-05-20 14:43:12 +00:00