XTSSCALE(1)                OpenBSD Reference Manual                XTSSCALE(1)

NAME
     xtsscale - X touch screen calibration tool

SYNOPSIS
     xtsscale [device]

DESCRIPTION
     xtsscale is used interactively to calculate both the scaling and offset
     values which will make the pointer act at the indicated location on the
     screen.

     When good deviations are calculated from the selections made at these
     points, xtsscale will exit and provide on standard output a result like
     the following:

           mouse.scale=200,3400,312,3672,0,1024,768

     This result should be placed into /etc/wsconsctl.conf for further use, or
     can be immediately applied using:

           # wsconsctl mouse.scale=200,3400,312,3672,0,1024,768

NOTES
     To use xtsscale a special /etc/X11/xorg.conf X configuration file is
     needed, in which the input device driver is replaced by the void(4) driv-
     er so that the device to calibrate is not opened by X during the calibra-
     tion.

     /etc/wsconsctl.conf cannot currently be used to set the calibration data
     of a device that is not the first device. ( /dev/wsmouse0 )

SEE ALSO
     ioctl(2), uts(4), wscons(4), wsconsctl(8), X(7)

HISTORY
     The xtsscale command appeared in OpenBSD 4.2.

OpenBSD 4.4                      May 17, 2007                                1
