tpctl is a touch panel calibration utility.
tpctl calibrates a touch panel and saves and restores the calibration parameters into/from a parameter database file.
Available command-line flags are:
-D dispdevname
Specify display device name.
-d devname
Specify touch panel device name.
-f filename
Specify alternate parameter database file name.
-h
Print brief description.
-n
Do not change the parameter database file.
-u
Force calibration. Without this flag, tpctl won't do calibration if the database file already contains parameters for the touch panel.
You calibrate the touch panel the first time you run
tpctl. 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 ‘ESC' key. Five cursors will appear on the screen in turn. Once calibration is done,
tpctl saves the calibration parameters into the database file and uses the saved parameters to calibrate the touch panel.
You can run
tpctl automatically with
/etc/rc.d/tpctl.