Commit Graph

14 Commits

Author SHA1 Message Date
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