VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/exevents.h@ 41244

Last change on this file since 41244 was 25078, checked in by vboxsync, 15 years ago

Additions/x11/x11include: exported and set eol-style on new headers

  • Property svn:eol-style set to native
File size: 6.0 KB
Line 
1/************************************************************
2
3Copyright 1996 by Thomas E. Dickey <[email protected]>
4
5 All Rights Reserved
6
7Permission to use, copy, modify, and distribute this software and its
8documentation for any purpose and without fee is hereby granted,
9provided that the above copyright notice appear in all copies and that
10both that copyright notice and this permission notice appear in
11supporting documentation, and that the name of the above listed
12copyright holder(s) not be used in advertising or publicity pertaining
13to distribution of the software without specific, written prior
14permission.
15
16THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
17TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
19LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
24********************************************************/
25
26/********************************************************************
27 * Interface of 'exevents.c'
28 */
29
30#ifndef EXEVENTS_H
31#define EXEVENTS_H
32
33extern void RegisterOtherDevice (
34 DeviceIntPtr /* device */);
35
36extern void ProcessOtherEvent (
37 xEventPtr /* FIXME deviceKeyButtonPointer * xE */,
38 DeviceIntPtr /* other */,
39 int /* count */);
40
41extern int InitProximityClassDeviceStruct(
42 DeviceIntPtr /* dev */);
43
44extern void InitValuatorAxisStruct(
45 DeviceIntPtr /* dev */,
46 int /* axnum */,
47 int /* minval */,
48 int /* maxval */,
49 int /* resolution */,
50 int /* min_res */,
51 int /* max_res */);
52
53extern void DeviceFocusEvent(
54 DeviceIntPtr /* dev */,
55 int /* type */,
56 int /* mode */,
57 int /* detail */,
58 WindowPtr /* pWin */);
59
60extern int GrabButton(
61 ClientPtr /* client */,
62 DeviceIntPtr /* dev */,
63 BYTE /* this_device_mode */,
64 BYTE /* other_devices_mode */,
65 CARD16 /* modifiers */,
66 DeviceIntPtr /* modifier_device */,
67 CARD8 /* button */,
68 Window /* grabWindow */,
69 BOOL /* ownerEvents */,
70 Cursor /* rcursor */,
71 Window /* rconfineTo */,
72 Mask /* eventMask */);
73
74extern int GrabKey(
75 ClientPtr /* client */,
76 DeviceIntPtr /* dev */,
77 BYTE /* this_device_mode */,
78 BYTE /* other_devices_mode */,
79 CARD16 /* modifiers */,
80 DeviceIntPtr /* modifier_device */,
81 CARD8 /* key */,
82 Window /* grabWindow */,
83 BOOL /* ownerEvents */,
84 Mask /* mask */);
85
86extern int SelectForWindow(
87 DeviceIntPtr /* dev */,
88 WindowPtr /* pWin */,
89 ClientPtr /* client */,
90 Mask /* mask */,
91 Mask /* exclusivemasks */,
92 Mask /* validmasks */);
93
94extern int AddExtensionClient (
95 WindowPtr /* pWin */,
96 ClientPtr /* client */,
97 Mask /* mask */,
98 int /* mskidx */);
99
100extern void RecalculateDeviceDeliverableEvents(
101 WindowPtr /* pWin */);
102
103extern int InputClientGone(
104 WindowPtr /* pWin */,
105 XID /* id */);
106
107extern int SendEvent (
108 ClientPtr /* client */,
109 DeviceIntPtr /* d */,
110 Window /* dest */,
111 Bool /* propagate */,
112 xEvent * /* ev */,
113 Mask /* mask */,
114 int /* count */);
115
116extern int SetButtonMapping (
117 ClientPtr /* client */,
118 DeviceIntPtr /* dev */,
119 int /* nElts */,
120 BYTE * /* map */);
121
122extern int SetModifierMapping(
123 ClientPtr /* client */,
124 DeviceIntPtr /* dev */,
125 int /* len */,
126 int /* rlen */,
127 int /* numKeyPerModifier */,
128 KeyCode * /* inputMap */,
129 KeyClassPtr * /* k */);
130
131extern void SendDeviceMappingNotify(
132 CARD8 /* request, */,
133 KeyCode /* firstKeyCode */,
134 CARD8 /* count */,
135 DeviceIntPtr /* dev */);
136
137extern int ChangeKeyMapping(
138 ClientPtr /* client */,
139 DeviceIntPtr /* dev */,
140 unsigned /* len */,
141 int /* type */,
142 KeyCode /* firstKeyCode */,
143 CARD8 /* keyCodes */,
144 CARD8 /* keySymsPerKeyCode */,
145 KeySym * /* map */);
146
147extern void DeleteWindowFromAnyExtEvents(
148 WindowPtr /* pWin */,
149 Bool /* freeResources */);
150
151extern void DeleteDeviceFromAnyExtEvents(
152 WindowPtr /* pWin */,
153 DeviceIntPtr /* dev */);
154
155extern int MaybeSendDeviceMotionNotifyHint (
156 deviceKeyButtonPointer * /* pEvents */,
157 Mask /* mask */);
158
159extern void CheckDeviceGrabAndHintWindow (
160 WindowPtr /* pWin */,
161 int /* type */,
162 deviceKeyButtonPointer * /* xE */,
163 GrabPtr /* grab */,
164 ClientPtr /* client */,
165 Mask /* deliveryMask */);
166
167extern Mask DeviceEventMaskForClient(
168 DeviceIntPtr /* dev */,
169 WindowPtr /* pWin */,
170 ClientPtr /* client */);
171
172extern void MaybeStopDeviceHint(
173 DeviceIntPtr /* dev */,
174 ClientPtr /* client */);
175
176extern int DeviceEventSuppressForWindow(
177 WindowPtr /* pWin */,
178 ClientPtr /* client */,
179 Mask /* mask */,
180 int /* maskndx */);
181
182#endif /* EXEVENTS_H */
Note: See TracBrowser for help on using the repository browser.

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