VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/xtest1dd.h

最後變更 在這個檔案是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.2 KB
 
1/* $XFree86: xc/programs/Xserver/Xext/xtest1dd.h,v 3.2 2001/08/01 00:44:44 tsi Exp $ */
2/************************************************************
3
4Copyright 1996 by Thomas E. Dickey <[email protected]>
5
6 All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and its
9documentation for any purpose and without fee is hereby granted,
10provided that the above copyright notice appear in all copies and that
11both that copyright notice and this permission notice appear in
12supporting documentation, and that the name of the above listed
13copyright holder(s) not be used in advertising or publicity pertaining
14to distribution of the software without specific, written prior
15permission.
16
17THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
25********************************************************/
26
27#ifdef HAVE_DIX_CONFIG_H
28#include <dix-config.h>
29#endif
30
31#ifndef XTEST1DD_H
32#define XTEST1DD_H 1
33
34extern short xtest_mousex;
35extern short xtest_mousey;
36extern int playback_on;
37extern ClientPtr current_xtest_client;
38extern ClientPtr playback_client;
39extern KeyCode xtest_command_key;
40
41extern void stop_stealing_input(
42 void
43);
44
45extern void
46steal_input(
47 ClientPtr /* client */,
48 CARD32 /* mode */
49);
50
51extern void
52flush_input_actions(
53 void
54);
55
56extern void
57XTestStealJumpData(
58 int /* jx */,
59 int /* jy */,
60 int /* dev_type */
61);
62
63extern void
64XTestStealMotionData(
65 int /* dx */,
66 int /* dy */,
67 int /* dev_type */,
68 int /* mx */,
69 int /* my */
70);
71
72extern Bool
73XTestStealKeyData(
74 unsigned /* keycode */,
75 int /* keystate */,
76 int /* dev_type */,
77 int /* locx */,
78 int /* locy */
79);
80
81extern void
82parse_fake_input(
83 ClientPtr /* client */,
84 char * /* req */
85);
86
87extern void
88XTestComputeWaitTime(
89 struct timeval * /* waittime */
90);
91
92extern int
93XTestProcessInputAction(
94 int /* readable */,
95 struct timeval * /* waittime */
96);
97
98extern void
99abort_play_back(
100 void
101);
102
103extern void
104return_input_array_size(
105 ClientPtr /* client */
106);
107
108extern void XTestGenerateEvent(
109 int /* dev_type */,
110 int /* keycode */,
111 int /* keystate */,
112 int /* mousex */,
113 int /* mousey */
114);
115
116extern void XTestGetPointerPos(
117 short * /* fmousex */,
118 short * /* fmousey */
119);
120
121extern void XTestJumpPointer(
122 int /* jx */,
123 int /* jy */,
124 int /* dev_type */
125);
126
127#endif /* XTEST1DD_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette