Commit Graph

39 Commits

Author SHA1 Message Date
matthieu
f2f9eae95d use abs(3) for integers. Noticed by a clang warning. ok tb@ 2019-02-11 07:10:45 +00:00
matthieu
59754beaac uhts(4) was merged into ums(4).
Patch by Benjamin Baier. Thanks.
2015-03-13 20:47:23 +00:00
matthieu
6031f2a714 Remove unused variable. 2012-03-06 23:24:37 +00:00
matthieu
7aed9f3167 Fix 2 NULL pointer dereferences. 2012-03-06 23:23:44 +00:00
matthieu
e4c257bcd3 Remove an extra debugging printf that leaked in previous commit. 2011-07-16 17:54:07 +00:00
matthieu
06beb28a5c Check if an input device has calibration data before accepting it as
as candidate for calibration.
2011-07-16 17:32:24 +00:00
matthieu
b67526b998 Tweak and fix an unreadable sentence. 2011-07-16 17:30:17 +00:00
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
naddy
2e88a2b0e8 switch to installing source manuals:
* cope with new bsd.man.mk
* update imake configuration

ports use of imake remains unchanged
2011-06-23 22:48:59 +00:00
matthieu
7ae39052df xcb is no longer optional. 2011-03-08 20:48:59 +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
jasper
52ab752d00 - no need for root prompt here, user prompt will do
- .Xr the other touchscreen driver we have (uhts)

ok matthieu@
2010-09-14 06:20:55 +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
fe460e3f8a One more build fix for static arches. ok todd@. 2009-12-07 21:21:02 +00:00
matthieu
e7f06501b3 Complete list of libraries for static only arches.
Noticed on vax by todd@.
2009-12-03 22:18:11 +00:00
matthieu
8318994a85 Use the ws-properties.h file from xf86-input-ws source directory.
There are architectures that don't build the X server nor drivers
so they won't have this file installed.
Noticed by todd@ on hppa.
2009-12-01 21:20:56 +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
12890188ae Use Mdocdate and add my name to copyrights. 2009-11-26 12:01:38 +00:00
matthieu
017934b7cb Tidy up error messages. 2009-11-26 11:35:29 +00:00
matthieu
3726a05d85 Document aborting the process with ESC. 2009-11-26 11:02:35 +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
bbc31bf586 Introduce bsd.xconf.mk to set default config variables used
at several places in the Xenocara build in a central place instead
of duplicating the checks all over the place. ok oga@.
2008-03-25 23:41:50 +00:00
matthieu
3f0bef6b35 Add some usage notes describing the current limitations. 2007-08-31 22:02:51 +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
f45e8d18fc Normally, rawmode should not be selected in the output of xtsscale. 2007-08-31 21:14:04 +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
matthieu
b3161bf821 Fix static linking. 2007-06-20 21:46:22 +00:00
robert
6f6554cb81 more information about passing scale values to wsconsctl(8) 2007-05-22 09:43:22 +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