1 | /************************************************************
|
---|
2 |
|
---|
3 | Copyright 1996 by Thomas E. Dickey <[email protected]>
|
---|
4 |
|
---|
5 | All Rights Reserved
|
---|
6 |
|
---|
7 | Permission to use, copy, modify, and distribute this software and its
|
---|
8 | documentation for any purpose and without fee is hereby granted,
|
---|
9 | provided that the above copyright notice appear in all copies and that
|
---|
10 | both that copyright notice and this permission notice appear in
|
---|
11 | supporting documentation, and that the name of the above listed
|
---|
12 | copyright holder(s) not be used in advertising or publicity pertaining
|
---|
13 | to distribution of the software without specific, written prior
|
---|
14 | permission.
|
---|
15 |
|
---|
16 | THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
|
---|
17 | TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
---|
18 | AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
|
---|
19 | LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
---|
20 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
---|
21 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
---|
22 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
---|
23 |
|
---|
24 | ********************************************************/
|
---|
25 |
|
---|
26 | /********************************************************************
|
---|
27 | * Interface of extinit.c
|
---|
28 | */
|
---|
29 |
|
---|
30 | #ifndef EXTINIT_H
|
---|
31 | #define EXTINIT_H
|
---|
32 |
|
---|
33 | #include "extnsionst.h"
|
---|
34 |
|
---|
35 | void
|
---|
36 | XInputExtensionInit(
|
---|
37 | void
|
---|
38 | );
|
---|
39 |
|
---|
40 |
|
---|
41 | int
|
---|
42 | ProcIDispatch (
|
---|
43 | ClientPtr /* client */
|
---|
44 | );
|
---|
45 |
|
---|
46 | int
|
---|
47 | SProcIDispatch(
|
---|
48 | ClientPtr /* client */
|
---|
49 | );
|
---|
50 |
|
---|
51 | void
|
---|
52 | SReplyIDispatch (
|
---|
53 | ClientPtr /* client */,
|
---|
54 | int /* len */,
|
---|
55 | xGrabDeviceReply * /* rep */
|
---|
56 | );
|
---|
57 |
|
---|
58 | void
|
---|
59 | SEventIDispatch (
|
---|
60 | xEvent * /* from */,
|
---|
61 | xEvent * /* to */
|
---|
62 | );
|
---|
63 |
|
---|
64 | void
|
---|
65 | SEventDeviceValuator (
|
---|
66 | deviceValuator * /* from */,
|
---|
67 | deviceValuator * /* to */
|
---|
68 | );
|
---|
69 |
|
---|
70 | void
|
---|
71 | SEventFocus (
|
---|
72 | deviceFocus * /* from */,
|
---|
73 | deviceFocus * /* to */
|
---|
74 | );
|
---|
75 |
|
---|
76 | void
|
---|
77 | SDeviceStateNotifyEvent (
|
---|
78 | deviceStateNotify * /* from */,
|
---|
79 | deviceStateNotify * /* to */
|
---|
80 | );
|
---|
81 |
|
---|
82 | void
|
---|
83 | SDeviceKeyStateNotifyEvent (
|
---|
84 | deviceKeyStateNotify * /* from */,
|
---|
85 | deviceKeyStateNotify * /* to */
|
---|
86 | );
|
---|
87 |
|
---|
88 | void
|
---|
89 | SDeviceButtonStateNotifyEvent (
|
---|
90 | deviceButtonStateNotify * /* from */,
|
---|
91 | deviceButtonStateNotify * /* to */
|
---|
92 | );
|
---|
93 |
|
---|
94 | void
|
---|
95 | SChangeDeviceNotifyEvent (
|
---|
96 | changeDeviceNotify * /* from */,
|
---|
97 | changeDeviceNotify * /* to */
|
---|
98 | );
|
---|
99 |
|
---|
100 | void
|
---|
101 | SDeviceMappingNotifyEvent (
|
---|
102 | deviceMappingNotify * /* from */,
|
---|
103 | deviceMappingNotify * /* to */
|
---|
104 | );
|
---|
105 |
|
---|
106 | void
|
---|
107 | FixExtensionEvents (
|
---|
108 | ExtensionEntry * /* extEntry */
|
---|
109 | );
|
---|
110 |
|
---|
111 | void
|
---|
112 | RestoreExtensionEvents (
|
---|
113 | void
|
---|
114 | );
|
---|
115 |
|
---|
116 | void
|
---|
117 | IResetProc(
|
---|
118 | ExtensionEntry * /* unused */
|
---|
119 | );
|
---|
120 |
|
---|
121 | void
|
---|
122 | AssignTypeAndName (
|
---|
123 | DeviceIntPtr /* dev */,
|
---|
124 | Atom /* type */,
|
---|
125 | char * /* name */
|
---|
126 | );
|
---|
127 |
|
---|
128 | void
|
---|
129 | MakeDeviceTypeAtoms (
|
---|
130 | void
|
---|
131 | );
|
---|
132 |
|
---|
133 | DeviceIntPtr
|
---|
134 | LookupDeviceIntRec (
|
---|
135 | CARD8 /* id */
|
---|
136 | );
|
---|
137 |
|
---|
138 | void
|
---|
139 | SetExclusiveAccess (
|
---|
140 | Mask /* mask */
|
---|
141 | );
|
---|
142 |
|
---|
143 | void
|
---|
144 | AllowPropagateSuppress (
|
---|
145 | Mask /* mask */
|
---|
146 | );
|
---|
147 |
|
---|
148 | Mask
|
---|
149 | GetNextExtEventMask (
|
---|
150 | void
|
---|
151 | );
|
---|
152 |
|
---|
153 | void
|
---|
154 | SetMaskForExtEvent(
|
---|
155 | Mask /* mask */,
|
---|
156 | int /* event */
|
---|
157 | );
|
---|
158 |
|
---|
159 | void
|
---|
160 | SetEventInfo(
|
---|
161 | Mask /* mask */,
|
---|
162 | int /* constant */
|
---|
163 | );
|
---|
164 |
|
---|
165 | #endif /* EXTINIT_H */
|
---|