VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/exevents.h

Last change on this file was 69098, checked in by vboxsync, 7 years ago

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • Property svn:eol-style set to native
File size: 6.8 KB
Line 
1/* $XFree86: xc/programs/Xserver/include/exevents.h,v 3.1 1996/04/15 11:34:29 dawes 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/********************************************************************
28 * Interface of 'exevents.c'
29 */
30
31#ifndef EXEVENTS_H
32#define EXEVENTS_H
33
34void
35RegisterOtherDevice (
36#if NeedFunctionPrototypes
37 DeviceIntPtr /* device */
38#endif
39 );
40
41void
42ProcessOtherEvent (
43#if NeedFunctionPrototypes
44 xEventPtr /* FIXME deviceKeyButtonPointer * xE */,
45 DeviceIntPtr /* other */,
46 int /* count */
47#endif
48 );
49
50int
51InitProximityClassDeviceStruct(
52#if NeedFunctionPrototypes
53 DeviceIntPtr /* dev */
54#endif
55 );
56
57void
58InitValuatorAxisStruct(
59#if NeedFunctionPrototypes
60 DeviceIntPtr /* dev */,
61 int /* axnum */,
62 int /* minval */,
63 int /* maxval */,
64 int /* resolution */,
65 int /* min_res */,
66 int /* max_res */
67#endif
68 );
69
70void
71DeviceFocusEvent(
72#if NeedFunctionPrototypes
73 DeviceIntPtr /* dev */,
74 int /* type */,
75 int /* mode */,
76 int /* detail */,
77 WindowPtr /* pWin */
78#endif
79 );
80
81int
82GrabButton(
83#if NeedFunctionPrototypes
84 ClientPtr /* client */,
85 DeviceIntPtr /* dev */,
86 BYTE /* this_device_mode */,
87 BYTE /* other_devices_mode */,
88 CARD16 /* modifiers */,
89 DeviceIntPtr /* modifier_device */,
90 CARD8 /* button */,
91 Window /* grabWindow */,
92 BOOL /* ownerEvents */,
93 Cursor /* rcursor */,
94 Window /* rconfineTo */,
95 Mask /* eventMask */
96#endif
97 );
98
99int
100GrabKey(
101#if NeedFunctionPrototypes
102 ClientPtr /* client */,
103 DeviceIntPtr /* dev */,
104 BYTE /* this_device_mode */,
105 BYTE /* other_devices_mode */,
106 CARD16 /* modifiers */,
107 DeviceIntPtr /* modifier_device */,
108 CARD8 /* key */,
109 Window /* grabWindow */,
110 BOOL /* ownerEvents */,
111 Mask /* mask */
112#endif
113 );
114
115int
116SelectForWindow(
117#if NeedFunctionPrototypes
118 DeviceIntPtr /* dev */,
119 WindowPtr /* pWin */,
120 ClientPtr /* client */,
121 Mask /* mask */,
122 Mask /* exclusivemasks */,
123 Mask /* validmasks */
124#endif
125 );
126
127int
128AddExtensionClient (
129#if NeedFunctionPrototypes
130 WindowPtr /* pWin */,
131 ClientPtr /* client */,
132 Mask /* mask */,
133 int /* mskidx */
134#endif
135 );
136
137void
138RecalculateDeviceDeliverableEvents(
139#if NeedFunctionPrototypes
140 WindowPtr /* pWin */
141#endif
142 );
143
144int
145InputClientGone(
146#if NeedFunctionPrototypes
147 WindowPtr /* pWin */,
148 XID /* id */
149#endif
150 );
151
152int
153SendEvent (
154#if NeedFunctionPrototypes
155 ClientPtr /* client */,
156 DeviceIntPtr /* d */,
157 Window /* dest */,
158 Bool /* propagate */,
159 xEvent * /* ev */,
160 Mask /* mask */,
161 int /* count */
162#endif
163 );
164
165int
166SetButtonMapping (
167#if NeedFunctionPrototypes
168 ClientPtr /* client */,
169 DeviceIntPtr /* dev */,
170 int /* nElts */,
171 BYTE * /* map */
172#endif
173 );
174
175int
176SetModifierMapping(
177#if NeedFunctionPrototypes
178 ClientPtr /* client */,
179 DeviceIntPtr /* dev */,
180 int /* len */,
181 int /* rlen */,
182 int /* numKeyPerModifier */,
183 KeyCode * /* inputMap */,
184 KeyClassPtr * /* k */
185#endif
186 );
187
188void
189SendDeviceMappingNotify(
190#if NeedFunctionPrototypes
191 CARD8 /* request, */,
192 KeyCode /* firstKeyCode */,
193 CARD8 /* count */,
194 DeviceIntPtr /* dev */
195#endif
196);
197
198int
199ChangeKeyMapping(
200#if NeedFunctionPrototypes
201 ClientPtr /* client */,
202 DeviceIntPtr /* dev */,
203 unsigned /* len */,
204 int /* type */,
205 KeyCode /* firstKeyCode */,
206 CARD8 /* keyCodes */,
207 CARD8 /* keySymsPerKeyCode */,
208 KeySym * /* map */
209#endif
210 );
211
212void
213DeleteWindowFromAnyExtEvents(
214#if NeedFunctionPrototypes
215 WindowPtr /* pWin */,
216 Bool /* freeResources */
217#endif
218);
219
220void
221DeleteDeviceFromAnyExtEvents(
222#if NeedFunctionPrototypes
223 WindowPtr /* pWin */,
224 DeviceIntPtr /* dev */
225#endif
226 );
227
228int
229MaybeSendDeviceMotionNotifyHint (
230#if NeedFunctionPrototypes
231 deviceKeyButtonPointer * /* pEvents */,
232 Mask /* mask */
233#endif
234);
235
236void
237CheckDeviceGrabAndHintWindow (
238#if NeedFunctionPrototypes
239 WindowPtr /* pWin */,
240 int /* type */,
241 deviceKeyButtonPointer * /* xE */,
242 GrabPtr /* grab */,
243 ClientPtr /* client */,
244 Mask /* deliveryMask */
245#endif
246 );
247
248Mask
249DeviceEventMaskForClient(
250#if NeedFunctionPrototypes
251 DeviceIntPtr /* dev */,
252 WindowPtr /* pWin */,
253 ClientPtr /* client */
254#endif
255);
256
257void
258MaybeStopDeviceHint(
259#if NeedFunctionPrototypes
260 DeviceIntPtr /* dev */,
261 ClientPtr /* client */
262#endif
263 );
264
265int
266DeviceEventSuppressForWindow(
267#if NeedFunctionPrototypes
268 WindowPtr /* pWin */,
269 ClientPtr /* client */,
270 Mask /* mask */,
271 int /* maskndx */
272#endif
273 );
274
275#endif /* EXEVENTS_H */
Note: See TracBrowser for help on using the repository browser.

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