summaryrefslogtreecommitdiff
path: root/app/xtsscale/xtsscale.1
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2007-05-20 14:43:13 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2007-05-20 14:43:13 +0000
commit3f97a1760aafeea4479afb9df0557a188a9b596c (patch)
tree8b660b91aa18dee52cd2fe1f4a2ca24ccbb791e7 /app/xtsscale/xtsscale.1
parentd86607778b0515c258966ed4ddbf5a8567cc529a (diff)
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@
Diffstat (limited to 'app/xtsscale/xtsscale.1')
-rw-r--r--app/xtsscale/xtsscale.159
1 files changed, 59 insertions, 0 deletions
diff --git a/app/xtsscale/xtsscale.1 b/app/xtsscale/xtsscale.1
new file mode 100644
index 000000000..80efe54d3
--- /dev/null
+++ b/app/xtsscale/xtsscale.1
@@ -0,0 +1,59 @@
+.\" $OpenBSD: xtsscale.1,v 1.1 2007/05/20 14:43:12 robert Exp $
+.\"
+.\" Copyright (c) 2007 Robert Nagy <robert@openbsd.org>
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE OPENBSD PROJECT AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+.\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENBSD
+.\" PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd May 17, 2007
+.Dt XTSSCALE 1
+.Os
+.Sh NAME
+.Nm xtsscale
+.Nd X touch screen calibration tool
+.Sh SYNOPSIS
+.Nm xtsscale
+.Bk -words
+.Op Ar device
+.Ek
+.Sh DESCRIPTION
+.Nm
+is used interactively to calculate both the scaling and offset values which
+will make the pointer act at the indicated location on the screen.
+.Pp
+When good deviations are calculated from the selections made at these
+points,
+.Nm
+will exit and provide on standard output a result like the following:
+.Pp
+.Dl mouse.scale=200,3400,312,3672,1,1024,768
+.Pp
+.Sh SEE ALSO
+.Xr ioctl 2 ,
+.Xr uts 4 ,
+.Xr wscons 4 ,
+.Xr wsconsctl 8 ,
+.Xr X 7
+.Sh HISTORY
+The
+.Nm
+command appeared in
+.Ox 4.2 .