aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxinputinit_8h-source.html
blob: 9899c67a0a49572e9c0bd66666b144a4c80d9a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
    <title>File Index</title>
    <link href="doxygen.css" rel="stylesheet" type="text/css">
  </head>
  <body>
<!-- Generated by Doxygen 1.3.4 -->
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<h1>dmxinputinit.h</h1><a href="dmxinputinit_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* $XFree86$ */</span>
00002 <span class="comment">/*</span>
00003 <span class="comment"> * Copyright 2002 Red Hat Inc., Durham, North Carolina.</span>
00004 <span class="comment"> *</span>
00005 <span class="comment"> * All Rights Reserved.</span>
00006 <span class="comment"> *</span>
00007 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
00008 <span class="comment"> * a copy of this software and associated documentation files (the</span>
00009 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
00010 <span class="comment"> * without limitation on the rights to use, copy, modify, merge,</span>
00011 <span class="comment"> * publish, distribute, sublicense, and/or sell copies of the Software,</span>
00012 <span class="comment"> * and to permit persons to whom the Software is furnished to do so,</span>
00013 <span class="comment"> * subject to the following conditions:</span>
00014 <span class="comment"> *</span>
00015 <span class="comment"> * The above copyright notice and this permission notice (including the</span>
00016 <span class="comment"> * next paragraph) shall be included in all copies or substantial</span>
00017 <span class="comment"> * portions of the Software.</span>
00018 <span class="comment"> *</span>
00019 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
00020 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
00021 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
00022 <span class="comment"> * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS</span>
00023 <span class="comment"> * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN</span>
00024 <span class="comment"> * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span>
00025 <span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span>
00026 <span class="comment"> * SOFTWARE.</span>
00027 <span class="comment"> */</span>
00028 
00029 <span class="comment">/*</span>
00030 <span class="comment"> * Authors:</span>
00031 <span class="comment"> *   Rickard E. (Rik) Faith &lt;faith@redhat.com&gt;</span>
00032 <span class="comment"> *</span>
00033 <span class="comment"> */</span>
00034 
00038 <span class="preprocessor">#ifndef _DMXINPUTINIT_H_</span>
00039 <span class="preprocessor"></span><span class="preprocessor">#define _DMXINPUTINIT_H_</span>
00040 <span class="preprocessor"></span>
00041 <span class="preprocessor">#include "<a class="code" href="dmx_8h.html">dmx.h</a>"</span>
00042 <span class="preprocessor">#include "<a class="code" href="dmxinput_8h.html">dmxinput.h</a>"</span>
00043 <span class="preprocessor">#include "<a class="code" href="dmxlog_8h.html">dmxlog.h</a>"</span>
00044 
00045 
00046 <span class="preprocessor">#define DMX_LOCAL_DEFAULT_KEYBOARD "kbd"</span>
00047 <span class="preprocessor"></span><span class="preprocessor">#define DMX_LOCAL_DEFAULT_POINTER  "ps2"</span>
00048 <span class="preprocessor"></span><span class="preprocessor">#define DMX_MAX_BUTTONS            256</span>
00049 <span class="preprocessor"></span><span class="preprocessor">#define DMX_MOTION_SIZE            256</span>
00050 <span class="preprocessor"></span><span class="preprocessor">#define DMX_MAX_VALUATORS          32</span>
00051 <span class="preprocessor"></span><span class="preprocessor">#define DMX_MAX_AXES               32</span>
00052 <span class="preprocessor"></span><span class="preprocessor">#define DMX_MAX_XINPUT_EVENT_TYPES 100</span>
00053 <span class="preprocessor"></span><span class="preprocessor">#define DMX_MAP_ENTRIES            16 </span><span class="comment">/* Must be a power of 2 */</span>
00054 <span class="preprocessor">#define DMX_MAP_MASK               (DMX_MAP_ENTRIES - 1)</span>
00055 <span class="preprocessor"></span>
00056 <span class="keyword">typedef</span> <span class="keyword">enum</span> {
00057     DMX_FUNCTION_GRAB,
00058     DMX_FUNCTION_TERMINATE,
00059     DMX_FUNCTION_FINE
00060 } DMXFunctionType;
00061 
00062 <span class="keyword">typedef</span> <span class="keyword">enum</span> {
00063     DMX_LOCAL_HIGHLEVEL,
00064     DMX_LOCAL_KEYBOARD,
00065     DMX_LOCAL_MOUSE,
00066     DMX_LOCAL_OTHER
00067 } DMXLocalInputType;
00068 
00069 <span class="keyword">typedef</span> <span class="keyword">enum</span> {
00070     DMX_LOCAL_TYPE_LOCAL,
00071     DMX_LOCAL_TYPE_CONSOLE,
00072     DMX_LOCAL_TYPE_BACKEND,
00073     DMX_LOCAL_TYPE_COMMON
00074 } DMXLocalInputExtType;
00075 
00076 <span class="keyword">typedef</span> <span class="keyword">enum</span> {
00077     DMX_RELATIVE,
00078     DMX_ABSOLUTE,
00079     DMX_ABSOLUTE_CONFINED
00080 } DMXMotionType;
00081 
<a name="l00084"></a><a class="code" href="struct__DMXLocalInitInfo.html">00084</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__DMXLocalInitInfo.html">_DMXLocalInitInfo</a> {
<a name="l00085"></a><a class="code" href="struct__DMXLocalInitInfo.html#o0">00085</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o0">keyboard</a>; 
<a name="l00087"></a><a class="code" href="struct__DMXLocalInitInfo.html#o1">00087</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o1">keyClass</a>; 
<a name="l00088"></a><a class="code" href="struct__DMXLocalInitInfo.html#o2">00088</a>     KeySymsRec           <a class="code" href="struct__DMXLocalInitInfo.html#o2">keySyms</a>;  
<a name="l00089"></a><a class="code" href="struct__DMXLocalInitInfo.html#o3">00089</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o3">freemap</a>;  
<a name="l00090"></a><a class="code" href="struct__DMXLocalInitInfo.html#o4">00090</a>     CARD8                <a class="code" href="struct__DMXLocalInitInfo.html#o4">modMap</a>[MAP_LENGTH]; 
00091 <span class="preprocessor">#ifdef XKB</span>
<a name="l00092"></a><a class="code" href="struct__DMXLocalInitInfo.html#o5">00092</a> <span class="preprocessor"></span>    XkbDescPtr           <a class="code" href="struct__DMXLocalInitInfo.html#o5">xkb</a>;       
<a name="l00093"></a><a class="code" href="struct__DMXLocalInitInfo.html#o6">00093</a>     XkbComponentNamesRec <a class="code" href="struct__DMXLocalInitInfo.html#o6">names</a>;     
<a name="l00094"></a><a class="code" href="struct__DMXLocalInitInfo.html#o7">00094</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o7">freenames</a>; 
<a name="l00095"></a><a class="code" href="struct__DMXLocalInitInfo.html#o8">00095</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o8">force</a>;     
00096 <span class="preprocessor">#endif</span>
00097 <span class="preprocessor"></span>
<a name="l00098"></a><a class="code" href="struct__DMXLocalInitInfo.html#o9">00098</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o9">buttonClass</a>; 
<a name="l00099"></a><a class="code" href="struct__DMXLocalInitInfo.html#o10">00099</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o10">numButtons</a>;  
<a name="l00100"></a><a class="code" href="struct__DMXLocalInitInfo.html#o11">00100</a>     <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>        <a class="code" href="struct__DMXLocalInitInfo.html#o11">map</a>[DMX_MAX_BUTTONS]; 
<a name="l00102"></a><a class="code" href="struct__DMXLocalInitInfo.html#o12">00102</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o12">valuatorClass</a>; 
<a name="l00104"></a><a class="code" href="struct__DMXLocalInitInfo.html#o13">00104</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o13">numRelAxes</a>;    
<a name="l00105"></a><a class="code" href="struct__DMXLocalInitInfo.html#o14">00105</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o14">numAbsAxes</a>;    
<a name="l00106"></a><a class="code" href="struct__DMXLocalInitInfo.html#o15">00106</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o15">minval</a>[DMX_MAX_AXES]; 
<a name="l00107"></a><a class="code" href="struct__DMXLocalInitInfo.html#o16">00107</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o16">maxval</a>[DMX_MAX_AXES]; 
<a name="l00108"></a><a class="code" href="struct__DMXLocalInitInfo.html#o17">00108</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o17">res</a>[DMX_MAX_AXES];    
<a name="l00109"></a><a class="code" href="struct__DMXLocalInitInfo.html#o18">00109</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o18">minres</a>[DMX_MAX_AXES]; 
<a name="l00110"></a><a class="code" href="struct__DMXLocalInitInfo.html#o19">00110</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o19">maxres</a>[DMX_MAX_AXES]; 
<a name="l00112"></a><a class="code" href="struct__DMXLocalInitInfo.html#o20">00112</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o20">focusClass</a>;       
<a name="l00114"></a><a class="code" href="struct__DMXLocalInitInfo.html#o21">00114</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o21">proximityClass</a>;   
<a name="l00116"></a><a class="code" href="struct__DMXLocalInitInfo.html#o22">00116</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o22">kbdFeedbackClass</a>; 
<a name="l00118"></a><a class="code" href="struct__DMXLocalInitInfo.html#o23">00118</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o23">ptrFeedbackClass</a>; 
<a name="l00120"></a><a class="code" href="struct__DMXLocalInitInfo.html#o24">00120</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o24">ledFeedbackClass</a>; 
<a name="l00122"></a><a class="code" href="struct__DMXLocalInitInfo.html#o25">00122</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o25">belFeedbackClass</a>; 
<a name="l00124"></a><a class="code" href="struct__DMXLocalInitInfo.html#o26">00124</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o26">intFeedbackClass</a>; 
<a name="l00126"></a><a class="code" href="struct__DMXLocalInitInfo.html#o27">00126</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o27">strFeedbackClass</a>; 
<a name="l00129"></a><a class="code" href="struct__DMXLocalInitInfo.html#o28">00129</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o28">maxSymbols</a>;          
<a name="l00130"></a><a class="code" href="struct__DMXLocalInitInfo.html#o29">00130</a>     <span class="keywordtype">int</span>                  <a class="code" href="struct__DMXLocalInitInfo.html#o29">maxSymbolsSupported</a>; 
<a name="l00131"></a><a class="code" href="struct__DMXLocalInitInfo.html#o30">00131</a>     KeySym               *<a class="code" href="struct__DMXLocalInitInfo.html#o30">symbols</a>;            
00132 } <a class="code" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfo</a>, *<a class="code" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a>;
00133 
00134 <span class="keyword">typedef</span> pointer (*dmxCreatePrivateProcPtr)(DeviceIntPtr);
00135 <span class="keyword">typedef</span> void    (*dmxDestroyPrivateProcPtr)(pointer);
00136                 
00137 <span class="keyword">typedef</span> void    (*dmxInitProcPtr)(DevicePtr);
00138 <span class="keyword">typedef</span> void    (*dmxReInitProcPtr)(DevicePtr);
00139 <span class="keyword">typedef</span> void    (*dmxLateReInitProcPtr)(DevicePtr);
00140 <span class="keyword">typedef</span> void    (*dmxGetInfoProcPtr)(DevicePtr, <a class="code" href="dmxinputinit_8h.html#a10">DMXLocalInitInfoPtr</a>);
00141 <span class="keyword">typedef</span> int     (*dmxOnProcPtr)(DevicePtr);
00142 <span class="keyword">typedef</span> void    (*dmxOffProcPtr)(DevicePtr);
00143 <span class="keyword">typedef</span> void    (*dmxUpdatePositionProcPtr)(pointer, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
00144                 
00145 <span class="keyword">typedef</span> void    (*dmxVTPreSwitchProcPtr)(pointer);  <span class="comment">/* Turn I/O Off */</span>
00146 <span class="keyword">typedef</span> void    (*dmxVTPostSwitchProcPtr)(pointer); <span class="comment">/* Turn I/O On */</span>
00147 <span class="keyword">typedef</span> void    (*dmxVTSwitchReturnProcPtr)(pointer);
00148 <span class="keyword">typedef</span> int     (*dmxVTSwitchProcPtr)(pointer, <span class="keywordtype">int</span> vt,
00149                                       dmxVTSwitchReturnProcPtr, pointer);
00150                 
00151 <span class="keyword">typedef</span> void    (*dmxMotionProcPtr)(DevicePtr,
00152                                     <span class="keywordtype">int</span> *valuators,
00153                                     <span class="keywordtype">int</span> firstAxis,
00154                                     <span class="keywordtype">int</span> axesCount,
00155                                     DMXMotionType type,
00156                                     DMXBlockType block);
00157 <span class="keyword">typedef</span> void    (*dmxEnqueueProcPtr)(DevicePtr, <span class="keywordtype">int</span> type, <span class="keywordtype">int</span> detail,
00158                                      KeySym keySym, XEvent *e,
00159                                      DMXBlockType block);
00160 <span class="keyword">typedef</span> int     (*dmxCheckSpecialProcPtr)(DevicePtr, KeySym keySym);
00161 <span class="keyword">typedef</span> void    (*dmxCollectEventsProcPtr)(DevicePtr,
00162                                            dmxMotionProcPtr,
00163                                            dmxEnqueueProcPtr,
00164                                            dmxCheckSpecialProcPtr,
00165                                            DMXBlockType);
00166 <span class="keyword">typedef</span> void    (*dmxProcessInputProcPtr)(pointer);
00167 <span class="keyword">typedef</span> void    (*dmxUpdateInfoProcPtr)(pointer, <a class="code" href="dmxinput_8h.html#a30">DMXUpdateType</a>, WindowPtr);
00168 <span class="keyword">typedef</span> int     (*dmxFunctionsProcPtr)(pointer, DMXFunctionType);
00169                 
00170 <span class="keyword">typedef</span> void    (*dmxKBCtrlProcPtr)(DevicePtr, KeybdCtrl *ctrl);
00171 <span class="keyword">typedef</span> void    (*dmxMCtrlProcPtr)(DevicePtr, PtrCtrl *ctrl);
00172 <span class="keyword">typedef</span> void    (*dmxKBBellProcPtr)(DevicePtr, <span class="keywordtype">int</span> percent,
00173                                     <span class="keywordtype">int</span> volume, <span class="keywordtype">int</span> pitch, <span class="keywordtype">int</span> duration);
00174 
<a name="l00177"></a><a class="code" href="struct__DMXEventMap.html">00177</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__DMXEventMap.html">_DMXEventMap</a> {
<a name="l00178"></a><a class="code" href="struct__DMXEventMap.html#o0">00178</a>     <span class="keywordtype">int</span> <a class="code" href="struct__DMXEventMap.html#o0">remote</a>;                 
<a name="l00179"></a><a class="code" href="struct__DMXEventMap.html#o1">00179</a>     <span class="keywordtype">int</span> <a class="code" href="struct__DMXEventMap.html#o1">server</a>;                 
00180 } <a class="code" href="struct__DMXEventMap.html">DMXEventMap</a>;
00181 
<a name="l00185"></a><a class="code" href="struct__DMXLocalInputInfo.html">00185</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__DMXLocalInputInfo.html">_DMXLocalInputInfo</a> {
<a name="l00186"></a><a class="code" href="struct__DMXLocalInputInfo.html#o0">00186</a>     <span class="keyword">const</span> <span class="keywordtype">char</span>               *<a class="code" href="struct__DMXLocalInputInfo.html#o0">name</a>;   
<a name="l00187"></a><a class="code" href="struct__DMXLocalInputInfo.html#o1">00187</a>     DMXLocalInputType        type;    
<a name="l00188"></a><a class="code" href="struct__DMXLocalInputInfo.html#o2">00188</a>     DMXLocalInputExtType     <a class="code" href="struct__DMXLocalInputInfo.html#o2">extType</a>; 
<a name="l00189"></a><a class="code" href="struct__DMXLocalInputInfo.html#o3">00189</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o3">binding</a>; 
00193                                 <span class="comment">/* Low-level (e.g., keyboard/mouse drivers) */</span>
00194 
<a name="l00195"></a><a class="code" href="struct__DMXLocalInputInfo.html#o4">00195</a>     dmxCreatePrivateProcPtr  <a class="code" href="struct__DMXLocalInputInfo.html#o4">create_private</a>;  
<a name="l00198"></a><a class="code" href="struct__DMXLocalInputInfo.html#o5">00198</a>     dmxDestroyPrivateProcPtr <a class="code" href="struct__DMXLocalInputInfo.html#o5">destroy_private</a>; 
<a name="l00201"></a><a class="code" href="struct__DMXLocalInputInfo.html#o6">00201</a>     dmxInitProcPtr           <a class="code" href="struct__DMXLocalInputInfo.html#o6">init</a>;            
<a name="l00202"></a><a class="code" href="struct__DMXLocalInputInfo.html#o7">00202</a>     dmxReInitProcPtr         <a class="code" href="struct__DMXLocalInputInfo.html#o7">reinit</a>;          
<a name="l00205"></a><a class="code" href="struct__DMXLocalInputInfo.html#o8">00205</a>     dmxLateReInitProcPtr     <a class="code" href="struct__DMXLocalInputInfo.html#o8">latereinit</a>;      
<a name="l00209"></a><a class="code" href="struct__DMXLocalInputInfo.html#o9">00209</a>     dmxGetInfoProcPtr        <a class="code" href="struct__DMXLocalInputInfo.html#o9">get_info</a>;        
<a name="l00210"></a><a class="code" href="struct__DMXLocalInputInfo.html#o10">00210</a>     dmxOnProcPtr             <a class="code" href="struct__DMXLocalInputInfo.html#o10">on</a>;              
<a name="l00211"></a><a class="code" href="struct__DMXLocalInputInfo.html#o11">00211</a>     dmxOffProcPtr            <a class="code" href="struct__DMXLocalInputInfo.html#o11">off</a>;             
<a name="l00212"></a><a class="code" href="struct__DMXLocalInputInfo.html#o12">00212</a>     dmxUpdatePositionProcPtr <a class="code" href="struct__DMXLocalInputInfo.html#o12">update_position</a>; 
<a name="l00215"></a><a class="code" href="struct__DMXLocalInputInfo.html#o13">00215</a>     dmxVTPreSwitchProcPtr    <a class="code" href="struct__DMXLocalInputInfo.html#o13">vt_pre_switch</a>;   
<a name="l00216"></a><a class="code" href="struct__DMXLocalInputInfo.html#o14">00216</a>     dmxVTPostSwitchProcPtr   <a class="code" href="struct__DMXLocalInputInfo.html#o14">vt_post_switch</a>;  
<a name="l00217"></a><a class="code" href="struct__DMXLocalInputInfo.html#o15">00217</a>     dmxVTSwitchProcPtr       <a class="code" href="struct__DMXLocalInputInfo.html#o15">vt_switch</a>;       
<a name="l00219"></a><a class="code" href="struct__DMXLocalInputInfo.html#o16">00219</a>     dmxCollectEventsProcPtr  <a class="code" href="struct__DMXLocalInputInfo.html#o16">collect_events</a>;  
<a name="l00222"></a><a class="code" href="struct__DMXLocalInputInfo.html#o17">00222</a>     dmxProcessInputProcPtr   <a class="code" href="struct__DMXLocalInputInfo.html#o17">process_input</a>;   
00224     dmxFunctionsProcPtr      functions;
<a name="l00225"></a><a class="code" href="struct__DMXLocalInputInfo.html#o19">00225</a>     dmxUpdateInfoProcPtr     <a class="code" href="struct__DMXLocalInputInfo.html#o19">update_info</a>;     
<a name="l00228"></a><a class="code" href="struct__DMXLocalInputInfo.html#o20">00228</a>     dmxMCtrlProcPtr          <a class="code" href="struct__DMXLocalInputInfo.html#o20">mCtrl</a>;           
<a name="l00229"></a><a class="code" href="struct__DMXLocalInputInfo.html#o21">00229</a>     dmxKBCtrlProcPtr         <a class="code" href="struct__DMXLocalInputInfo.html#o21">kCtrl</a>;           
<a name="l00230"></a><a class="code" href="struct__DMXLocalInputInfo.html#o22">00230</a>     dmxKBBellProcPtr         <a class="code" href="struct__DMXLocalInputInfo.html#o22">kBell</a>;           
<a name="l00232"></a><a class="code" href="struct__DMXLocalInputInfo.html#o23">00232</a>     pointer                  <span class="keyword">private</span>;         
<a name="l00233"></a><a class="code" href="struct__DMXLocalInputInfo.html#o24">00233</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o24">isCore</a>;          
<a name="l00234"></a><a class="code" href="struct__DMXLocalInputInfo.html#o25">00234</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o25">sendsCore</a>;       
<a name="l00235"></a><a class="code" href="struct__DMXLocalInputInfo.html#o26">00235</a>     KeybdCtrl                <a class="code" href="struct__DMXLocalInputInfo.html#o26">kctrl</a>;           
<a name="l00236"></a><a class="code" href="struct__DMXLocalInputInfo.html#o27">00236</a>     PtrCtrl                  <a class="code" href="struct__DMXLocalInputInfo.html#o27">mctrl</a>;           
<a name="l00238"></a><a class="code" href="struct__DMXLocalInputInfo.html#o28">00238</a>     DeviceIntPtr             <a class="code" href="struct__DMXLocalInputInfo.html#o28">pDevice</a>;         
<a name="l00239"></a><a class="code" href="struct__DMXLocalInputInfo.html#o29">00239</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o29">inputIdx</a>;        
<a name="l00240"></a><a class="code" href="struct__DMXLocalInputInfo.html#o31">00240</a>     <span class="keywordtype">int</span>                      lastX, <a class="code" href="struct__DMXLocalInputInfo.html#o31">lastY</a>;    
<a name="l00244"></a><a class="code" href="struct__DMXLocalInputInfo.html#o32">00244</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o32">head</a>;            
<a name="l00246"></a><a class="code" href="struct__DMXLocalInputInfo.html#o33">00246</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o33">tail</a>;            
<a name="l00248"></a><a class="code" href="struct__DMXLocalInputInfo.html#o34">00248</a>     <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>            *<a class="code" href="struct__DMXLocalInputInfo.html#o34">history</a>;        
<a name="l00249"></a><a class="code" href="struct__DMXLocalInputInfo.html#o35">00249</a>     <span class="keywordtype">int</span>                      *valuators;      
00251                                 <span class="comment">/* for XInput ChangePointerDevice */</span>
00252     int                      (*savedMotionProc)(DeviceIntPtr,
00253                                                 xTimecoord *,
00254                                                 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>,
00255                                                 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>,
00256                                                 ScreenPtr);
<a name="l00257"></a><a class="code" href="struct__DMXLocalInputInfo.html#o37">00257</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o37">savedMotionEvents</a>; 
<a name="l00258"></a><a class="code" href="struct__DMXLocalInputInfo.html#o38">00258</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o38">savedSendsCore</a>;    
<a name="l00260"></a><a class="code" href="struct__DMXLocalInputInfo.html#o39">00260</a>     <a class="code" href="struct__DMXEventMap.html">DMXEventMap</a>              <a class="code" href="struct__DMXLocalInputInfo.html#o39">map</a>[DMX_MAP_ENTRIES]; 
<a name="l00261"></a><a class="code" href="struct__DMXLocalInputInfo.html#o40">00261</a>     <span class="keywordtype">int</span>                      <a class="code" href="struct__DMXLocalInputInfo.html#o40">mapOptimize</a>;          
<a name="l00265"></a><a class="code" href="struct__DMXLocalInputInfo.html#o41">00265</a>     <span class="keywordtype">long</span>                     <a class="code" href="struct__DMXLocalInputInfo.html#o41">deviceId</a>;    
<a name="l00267"></a><a class="code" href="struct__DMXLocalInputInfo.html#o42">00267</a>     <span class="keyword">const</span> <span class="keywordtype">char</span>               *<a class="code" href="struct__DMXLocalInputInfo.html#o42">deviceName</a>; 
00269 } <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoRec</a>;
00270 
00271 <span class="keyword">extern</span> <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocalCorePointer, dmxLocalCoreKeyboard;
00272 
00273 <span class="keyword">extern</span> <span class="keywordtype">void</span>                 dmxLocalInitInput(<a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput);
00274 <span class="keyword">extern</span> <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> <a class="code" href="dmxinputinit_8c.html#a33">dmxInputCopyLocal</a>(<a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput,
00275                                               <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> s);
00276 
00277 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxinputinit_8c.html#a16">dmxChangePointerControl</a>(DeviceIntPtr pDevice, PtrCtrl *ctrl);
00278 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxinputinit_8c.html#a18">dmxKeyboardKbdCtrlProc</a>(DeviceIntPtr pDevice, KeybdCtrl *ctrl);
00279 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxinputinit_8c.html#a20">dmxKeyboardBellProc</a>(<span class="keywordtype">int</span> percent, DeviceIntPtr pDevice,
00280                                 pointer ctrl, <span class="keywordtype">int</span> unknown);
00281 
00282 <span class="keyword">extern</span> <span class="keywordtype">int</span>  dmxInputExtensionErrorHandler(Display *dsp, <span class="keywordtype">char</span> *name,
00283                                           <span class="keywordtype">char</span> *reason);
00284 
00285 <span class="keyword">extern</span> <span class="keywordtype">int</span>          <a class="code" href="dmxinputinit_8c.html#a43">dmxInputDetach</a>(<a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput);
00286 <span class="keyword">extern</span> <span class="keywordtype">void</span>         <a class="code" href="dmxinputinit_8c.html#a44">dmxInputDetachAll</a>(<a class="code" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen);
00287 <span class="keyword">extern</span> <span class="keywordtype">int</span>          <a class="code" href="dmxinputinit_8c.html#a45">dmxInputDetachId</a>(<span class="keywordtype">int</span> id);
00288 <span class="keyword">extern</span> <a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInputLocateId(<span class="keywordtype">int</span> id);
00289 <span class="keyword">extern</span> <span class="keywordtype">int</span>          dmxInputAttachConsole(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">int</span> isCore,
00290                                           <span class="keywordtype">int</span> *id);
00291 <span class="keyword">extern</span> <span class="keywordtype">int</span>          dmxInputAttachBackend(<span class="keywordtype">int</span> physicalScreen, <span class="keywordtype">int</span> isCore,
00292                                           <span class="keywordtype">int</span> *id);
00293 
00294 <span class="preprocessor">#endif</span>
</pre></div>    <hr>
    <address>
      <small>
        Generated June 29, 2004 for <a
        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
        <a href="http://www.doxygen.org/index.html">doxygen</a>
        1.3.4.
      </small>
    </addres>
    </hr>
  </body>
</html>