117ca54c3Smrg/*
217ca54c3Smrg * Copyright © 2003 Philip Blundell
317ca54c3Smrg *
417ca54c3Smrg * Permission to use, copy, modify, distribute, and sell this software and its
517ca54c3Smrg * documentation for any purpose is hereby granted without fee, provided that
617ca54c3Smrg * the above copyright notice appear in all copies and that both that
717ca54c3Smrg * copyright notice and this permission notice appear in supporting
817ca54c3Smrg * documentation, and that the name of Philip Blundell not be used in
917ca54c3Smrg * advertising or publicity pertaining to distribution of the software without
1017ca54c3Smrg * specific, written prior permission.  Philip Blundell makes no
1117ca54c3Smrg * representations about the suitability of this software for any purpose.  It
1217ca54c3Smrg * is provided "as is" without express or implied warranty.
1317ca54c3Smrg *
1417ca54c3Smrg * PHILIP BLUNDELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1517ca54c3Smrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1617ca54c3Smrg * EVENT SHALL PHILIP BLUNDELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1717ca54c3Smrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1817ca54c3Smrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1917ca54c3Smrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2017ca54c3Smrg * PERFORMANCE OF THIS SOFTWARE.
2117ca54c3Smrg */
2217ca54c3Smrg
2317ca54c3Smrg#ifndef XCALIBRATEWIRE_H
2417ca54c3Smrg#define XCALIBRATEWIRE_H
2517ca54c3Smrg
2617ca54c3Smrg#define XCALIBRATE_MAJOR_VERSION 0
2717ca54c3Smrg#define XCALIBRATE_MINOR_VERSION 1
2817ca54c3Smrg#define XCALIBRATE_NAME "XCALIBRATE"
2917ca54c3Smrg
3017ca54c3Smrg#define X_XCalibrateQueryVersion		0
3117ca54c3Smrg#define X_XCalibrateRawMode			1
3217ca54c3Smrg#define X_XCalibrateScreenToCoord		2
3317ca54c3Smrg
3417ca54c3Smrg#define XCalibrateNumberRequests		(X_XCalibrateScreenToCoord + 1)
3517ca54c3Smrg
3617ca54c3Smrg#define X_XCalibrateRawTouchscreen		0
3717ca54c3Smrg
3817ca54c3Smrg#define XCalibrateNumberEvents			(X_XCalibrateRawTouchscreen + 1)
3917ca54c3Smrg
4017ca54c3Smrg#define XCalibrateNumberErrors			0
4117ca54c3Smrg
4217ca54c3Smrg#endif
43