1
/* $XFree86: xc/programs/Xserver/include/exevents.h,v 3.1 1996/04/15 11:34:29 dawes Exp $ */
2
/************************************************************
4
Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
8
Permission to use, copy, modify, and distribute this software and its
9
documentation for any purpose and without fee is hereby granted,
10
provided that the above copyright notice appear in all copies and that
11
both that copyright notice and this permission notice appear in
12
supporting documentation, and that the name of the above listed
13
copyright holder(s) not be used in advertising or publicity pertaining
14
to distribution of the software without specific, written prior
17
THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
25
********************************************************/
27
/********************************************************************
28
* Interface of 'exevents.c'
36
#if NeedFunctionPrototypes
37
DeviceIntPtr /* device */
43
#if NeedFunctionPrototypes
44
xEventPtr /* FIXME deviceKeyButtonPointer * xE */,
45
DeviceIntPtr /* other */,
51
InitProximityClassDeviceStruct(
52
#if NeedFunctionPrototypes
53
DeviceIntPtr /* dev */
58
InitValuatorAxisStruct(
59
#if NeedFunctionPrototypes
60
DeviceIntPtr /* dev */,
72
#if NeedFunctionPrototypes
73
DeviceIntPtr /* dev */,
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 */,
91
Window /* grabWindow */,
92
BOOL /* ownerEvents */,
94
Window /* rconfineTo */,
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 */,
109
Window /* grabWindow */,
110
BOOL /* ownerEvents */,
117
#if NeedFunctionPrototypes
118
DeviceIntPtr /* dev */,
119
WindowPtr /* pWin */,
120
ClientPtr /* client */,
122
Mask /* exclusivemasks */,
123
Mask /* validmasks */
129
#if NeedFunctionPrototypes
130
WindowPtr /* pWin */,
131
ClientPtr /* client */,
138
RecalculateDeviceDeliverableEvents(
139
#if NeedFunctionPrototypes
146
#if NeedFunctionPrototypes
147
WindowPtr /* pWin */,
154
#if NeedFunctionPrototypes
155
ClientPtr /* client */,
156
DeviceIntPtr /* d */,
158
Bool /* propagate */,
167
#if NeedFunctionPrototypes
168
ClientPtr /* client */,
169
DeviceIntPtr /* dev */,
177
#if NeedFunctionPrototypes
178
ClientPtr /* client */,
179
DeviceIntPtr /* dev */,
182
int /* numKeyPerModifier */,
183
KeyCode * /* inputMap */,
184
KeyClassPtr * /* k */
189
SendDeviceMappingNotify(
190
#if NeedFunctionPrototypes
191
CARD8 /* request, */,
192
KeyCode /* firstKeyCode */,
194
DeviceIntPtr /* dev */
200
#if NeedFunctionPrototypes
201
ClientPtr /* client */,
202
DeviceIntPtr /* dev */,
205
KeyCode /* firstKeyCode */,
206
CARD8 /* keyCodes */,
207
CARD8 /* keySymsPerKeyCode */,
213
DeleteWindowFromAnyExtEvents(
214
#if NeedFunctionPrototypes
215
WindowPtr /* pWin */,
216
Bool /* freeResources */
221
DeleteDeviceFromAnyExtEvents(
222
#if NeedFunctionPrototypes
223
WindowPtr /* pWin */,
224
DeviceIntPtr /* dev */
229
MaybeSendDeviceMotionNotifyHint (
230
#if NeedFunctionPrototypes
231
deviceKeyButtonPointer * /* pEvents */,
237
CheckDeviceGrabAndHintWindow (
238
#if NeedFunctionPrototypes
239
WindowPtr /* pWin */,
241
deviceKeyButtonPointer * /* xE */,
243
ClientPtr /* client */,
244
Mask /* deliveryMask */
249
DeviceEventMaskForClient(
250
#if NeedFunctionPrototypes
251
DeviceIntPtr /* dev */,
252
WindowPtr /* pWin */,
253
ClientPtr /* client */
259
#if NeedFunctionPrototypes
260
DeviceIntPtr /* dev */,
261
ClientPtr /* client */
266
DeviceEventSuppressForWindow(
267
#if NeedFunctionPrototypes
268
WindowPtr /* pWin */,
269
ClientPtr /* client */,
275
#endif /* EXEVENTS_H */