2 * $Id: xcalibrateproto.h,v 1.1.1.1 2004/06/02 19:18:47 pb Exp $
4 * Copyright © 2003 Philip Blundell
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of Philip Blundell not be used in
11 * advertising or publicity pertaining to distribution of the software without
12 * specific, written prior permission. Philip Blundell makes no
13 * representations about the suitability of this software for any purpose. It
14 * is provided "as is" without express or implied warranty.
16 * PHILIP BLUNDELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 * EVENT SHALL PHILIP BLUNDELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 * PERFORMANCE OF THIS SOFTWARE.
25 #ifndef XCALIBRATEPROTO_H
26 #define XCALIBRATEPROTO_H
29 * requests and replies
33 CARD8 xCalibrateReqType
;
35 CARD32 majorVersion B32
;
36 CARD32 minorVersion B32
;
37 } xXCalibrateQueryVersionReq
;
39 #define sz_xXCalibrateQueryVersionReq 12
42 BYTE type
; /* X_Reply */
44 CARD16 sequenceNumber B16
;
46 CARD32 majorVersion B32
;
47 CARD32 minorVersion B32
;
52 } xXCalibrateQueryVersionReply
;
54 #define sz_xXCalibrateQueryVersionReply 32
58 CARD8 xCalibrateReqType
;
62 } xXCalibrateRawModeReq
;
64 #define sz_xXCalibrateRawModeReq 8
67 BYTE type
; /* X_Reply */
69 CARD16 sequenceNumber B16
;
77 } xXCalibrateRawModeReply
;
79 #define sz_xXCalibrateRawModeReply 32
86 CARD16 sequenceNumber B16
;
91 } xXCalibrateRawTouchscreenEvent
;
93 #define sz_xXCalibrateRawTouchscreenEvent 12