1 .\" $NetBSD: tpctl.8,v 1.3 2003/02/25 10:36:21 wiz Exp $
3 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 .\" POSSIBILITY OF SUCH DAMAGE.
32 .Nd touch panel calibration utility
36 .Op Fl D Ar dispdevname
47 is a touch panel calibration utility.
49 calibrates a touch panel and saves and restores the calibration parameters
50 into/from a parameter database file.
52 Available command-line flags are:
53 .Bl -tag -width dispdevnameXXXX -compact
54 .It Fl D Ar dispdevname
55 Specify display device name.
57 Specify touch panel device name.
59 Specify alternate parameter database file name.
61 Print brief description.
63 Do not change the parameter database file.
68 won't do calibration if the database file already contains parameters
74 You calibrate the touch panel the first time you run
76 If you see a cross cursor on the screen, you should tap the center of
77 the cursor to calibrate the touch panel, or you can abort the
81 Five cursors will appear on the screen in turn.
82 Once calibration is done,
84 saves the calibration parameters into the database file and uses the saved
85 parameters to calibrate the touch panel.
92 .Bl -tag -width /etc/tpctl.dat -compact
94 The default calibration parameter database file.
97 flag may be used to specify an alternate database file name.
99 will create an empty database file if it doesn't exist.
101 The default display device, which is used to display the cursor during
105 flag may be used to specify an alternate display device name.
106 The display device must provide the
108 interface as defined in
109 .Pa /usr/include/dev/hpc/hpcfbio.h .
111 The default touch panel device.
114 flag may be used to specify an alternate touch panel device name.
120 isn't available on all ports because it requires a display device which