p Available command-line flags are: l -tag -width dispdevnameXXXX -compact t Fl D Ar dispdevname Specify display device name. t Fl d Ar devname Specify touch panel device name. t Fl f Ar filename Specify alternate parameter database file name. t Fl h Print brief description. t Fl n Do not change the parameter database file. t Fl u Force calibration. Without this flag, .Nm won't do calibration if the database file already contains parameters for the touch panel. t Fl v Verbose mode. .El
p You calibrate the touch panel the first time you run .Nm . If you see a cross cursor on the screen, you should tap the center of the cursor to calibrate the touch panel, or you can abort the calibration with the .Sq ESC key. Five cursors will appear on the screen in turn. Once calibration is done, .Nm saves the calibration parameters into the database file and uses the saved parameters to calibrate the touch panel.
p You can run .Nm automatically with
a /etc/rc.d/tpctl . .Sh FILES l -tag -width /etc/tpctl.dat -compact t Pa /etc/tpctl.dat The default calibration parameter database file. The .Fl f flag may be used to specify an alternate database file name. .Nm will create an empty database file if it doesn't exist. t Pa /dev/ttyE0 The default display device, which is used to display the cursor during calibration. The .Fl D flag may be used to specify an alternate display device name. The display device must provide the .Sq hpcfb interface as defined in
a /usr/include/dev/hpc/hpcfbio.h . t Pa /dev/wsmux0 The default touch panel device. The .Fl d flag may be used to specify an alternate touch panel device name. .El .Sh SEE ALSO .Xr rc.conf 5 .Sh BUGS .Nm isn't available on all ports because it requires a display device which provides the .Sq hpcfb interface.