First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxxinput_8c.html
blobbd64864a12d948f5d573b1a56fbde9681b231ae2
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <title>File Index</title>
6 <link href="doxygen.css" rel="stylesheet" type="text/css">
7 </head>
8 <body>
9 <!-- Generated by Doxygen 1.3.4 -->
10 <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>
11 <h1>dmxxinput.c File Reference</h1><code>#include "X.h"</code><br>
12 <code>#include "Xproto.h"</code><br>
13 <code>#include "inputstr.h"</code><br>
14 <code>#include "XI.h"</code><br>
15 <code>#include "XIproto.h"</code><br>
16 <code>#include "XIstubs.h"</code><br>
17 <code>#include "mipointer.h"</code><br>
18 <code>#include "<a class="el" href="dmxinputinit_8h-source.html">dmxinputinit.h</a>"</code><br>
19 <code>#include "exevents.h"</code><br>
20 <table border=0 cellpadding=0 cellspacing=0>
21 <tr><td></td></tr>
22 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
23 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxxinput_8c.html#a1">ChangeKeyboardDevice</a> (DeviceIntPtr old_dev, DeviceIntPtr new_dev)</td></tr>
25 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxxinput_8c.html#a2">ChangePointerDevice</a> (DeviceIntPtr old_dev, DeviceIntPtr new_dev, unsigned char x, unsigned char y)</td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxxinput_8c.html#a3">CloseInputDevice</a> (DeviceIntPtr d, ClientPtr client)</td></tr>
29 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxxinput_8c.html#a4">AddOtherInputDevices</a> (void)</td></tr>
31 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxxinput_8c.html#a5">OpenInputDevice</a> (DeviceIntPtr dev, ClientPtr client, int *status)</td></tr>
33 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxxinput_8c.html#a6">SetDeviceMode</a> (ClientPtr client, DeviceIntPtr dev, int mode)</td></tr>
35 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxxinput_8c.html#a7">SetDeviceValuators</a> (ClientPtr client, DeviceIntPtr dev, int *valuators, int first_valuator, int num_valuators)</td></tr>
37 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxxinput_8c.html#a8">ChangeDeviceControl</a> (ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control)</td></tr>
39 </table>
40 <hr><a name="_details"></a><h2>Detailed Description</h2>
41 This file implements support required by the XINPUT extension.<hr><h2>Function Documentation</h2>
42 <a class="anchor" name="a4" doxytag="dmxxinput.c::AddOtherInputDevices" ></a><p>
43 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
44 <tr>
45 <td class="mdRow">
46 <table cellpadding="0" cellspacing="0" border="0">
47 <tr>
48 <td class="md" nowrap valign="top"> void AddOtherInputDevices </td>
49 <td class="md" valign="top">(&nbsp;</td>
50 <td class="md" nowrap valign="top">void&nbsp;</td>
51 <td class="mdname1" valign="top" nowrap> </td>
52 <td class="md" valign="top">&nbsp;)&nbsp;</td>
53 <td class="md" nowrap></td>
54 </tr>
56 </table>
57 </td>
58 </tr>
59 </table>
60 <table cellspacing=5 cellpadding=0 border=0>
61 <tr>
62 <td>
63 &nbsp;
64 </td>
65 <td>
67 <p>
68 This is not required by the XINPUT model that DMX uses. </td>
69 </tr>
70 </table>
71 <a class="anchor" name="a8" doxytag="dmxxinput.c::ChangeDeviceControl" ></a><p>
72 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
73 <tr>
74 <td class="mdRow">
75 <table cellpadding="0" cellspacing="0" border="0">
76 <tr>
77 <td class="md" nowrap valign="top"> int ChangeDeviceControl </td>
78 <td class="md" valign="top">(&nbsp;</td>
79 <td class="md" nowrap valign="top">ClientPtr&nbsp;</td>
80 <td class="mdname" nowrap> <em>client</em>, </td>
81 </tr>
82 <tr>
83 <td></td>
84 <td></td>
85 <td class="md" nowrap>DeviceIntPtr&nbsp;</td>
86 <td class="mdname" nowrap> <em>dev</em>, </td>
87 </tr>
88 <tr>
89 <td></td>
90 <td></td>
91 <td class="md" nowrap>xDeviceCtl *&nbsp;</td>
92 <td class="mdname" nowrap> <em>control</em></td>
93 </tr>
94 <tr>
95 <td></td>
96 <td class="md">)&nbsp;</td>
97 <td class="md" colspan="2"></td>
98 </tr>
100 </table>
101 </td>
102 </tr>
103 </table>
104 <table cellspacing=5 cellpadding=0 border=0>
105 <tr>
106 <td>
107 &nbsp;
108 </td>
109 <td>
112 Change device control. This is not implemented. </td>
113 </tr>
114 </table>
115 <a class="anchor" name="a1" doxytag="dmxxinput.c::ChangeKeyboardDevice" ></a><p>
116 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
117 <tr>
118 <td class="mdRow">
119 <table cellpadding="0" cellspacing="0" border="0">
120 <tr>
121 <td class="md" nowrap valign="top"> int ChangeKeyboardDevice </td>
122 <td class="md" valign="top">(&nbsp;</td>
123 <td class="md" nowrap valign="top">DeviceIntPtr&nbsp;</td>
124 <td class="mdname" nowrap> <em>old_dev</em>, </td>
125 </tr>
126 <tr>
127 <td></td>
128 <td></td>
129 <td class="md" nowrap>DeviceIntPtr&nbsp;</td>
130 <td class="mdname" nowrap> <em>new_dev</em></td>
131 </tr>
132 <tr>
133 <td></td>
134 <td class="md">)&nbsp;</td>
135 <td class="md" colspan="2"></td>
136 </tr>
138 </table>
139 </td>
140 </tr>
141 </table>
142 <table cellspacing=5 cellpadding=0 border=0>
143 <tr>
144 <td>
145 &nbsp;
146 </td>
147 <td>
150 Change the core keyboard from <em>old_dev</em> to <em>new_dev</em>. Currently this is not implemented. </td>
151 </tr>
152 </table>
153 <a class="anchor" name="a2" doxytag="dmxxinput.c::ChangePointerDevice" ></a><p>
154 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
155 <tr>
156 <td class="mdRow">
157 <table cellpadding="0" cellspacing="0" border="0">
158 <tr>
159 <td class="md" nowrap valign="top"> int ChangePointerDevice </td>
160 <td class="md" valign="top">(&nbsp;</td>
161 <td class="md" nowrap valign="top">DeviceIntPtr&nbsp;</td>
162 <td class="mdname" nowrap> <em>old_dev</em>, </td>
163 </tr>
164 <tr>
165 <td></td>
166 <td></td>
167 <td class="md" nowrap>DeviceIntPtr&nbsp;</td>
168 <td class="mdname" nowrap> <em>new_dev</em>, </td>
169 </tr>
170 <tr>
171 <td></td>
172 <td></td>
173 <td class="md" nowrap>unsigned char&nbsp;</td>
174 <td class="mdname" nowrap> <em>x</em>, </td>
175 </tr>
176 <tr>
177 <td></td>
178 <td></td>
179 <td class="md" nowrap>unsigned char&nbsp;</td>
180 <td class="mdname" nowrap> <em>y</em></td>
181 </tr>
182 <tr>
183 <td></td>
184 <td class="md">)&nbsp;</td>
185 <td class="md" colspan="2"></td>
186 </tr>
188 </table>
189 </td>
190 </tr>
191 </table>
192 <table cellspacing=5 cellpadding=0 border=0>
193 <tr>
194 <td>
195 &nbsp;
196 </td>
197 <td>
200 Change the core pointer from <em>old_dev</em> to <em>new_dev</em>. </td>
201 </tr>
202 </table>
203 <a class="anchor" name="a3" doxytag="dmxxinput.c::CloseInputDevice" ></a><p>
204 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
205 <tr>
206 <td class="mdRow">
207 <table cellpadding="0" cellspacing="0" border="0">
208 <tr>
209 <td class="md" nowrap valign="top"> void CloseInputDevice </td>
210 <td class="md" valign="top">(&nbsp;</td>
211 <td class="md" nowrap valign="top">DeviceIntPtr&nbsp;</td>
212 <td class="mdname" nowrap> <em>d</em>, </td>
213 </tr>
214 <tr>
215 <td></td>
216 <td></td>
217 <td class="md" nowrap>ClientPtr&nbsp;</td>
218 <td class="mdname" nowrap> <em>client</em></td>
219 </tr>
220 <tr>
221 <td></td>
222 <td class="md">)&nbsp;</td>
223 <td class="md" colspan="2"></td>
224 </tr>
226 </table>
227 </td>
228 </tr>
229 </table>
230 <table cellspacing=5 cellpadding=0 border=0>
231 <tr>
232 <td>
233 &nbsp;
234 </td>
235 <td>
238 Close the input device. This is not required by the XINPUT model that DMX uses. </td>
239 </tr>
240 </table>
241 <a class="anchor" name="a5" doxytag="dmxxinput.c::OpenInputDevice" ></a><p>
242 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
243 <tr>
244 <td class="mdRow">
245 <table cellpadding="0" cellspacing="0" border="0">
246 <tr>
247 <td class="md" nowrap valign="top"> void OpenInputDevice </td>
248 <td class="md" valign="top">(&nbsp;</td>
249 <td class="md" nowrap valign="top">DeviceIntPtr&nbsp;</td>
250 <td class="mdname" nowrap> <em>dev</em>, </td>
251 </tr>
252 <tr>
253 <td></td>
254 <td></td>
255 <td class="md" nowrap>ClientPtr&nbsp;</td>
256 <td class="mdname" nowrap> <em>client</em>, </td>
257 </tr>
258 <tr>
259 <td></td>
260 <td></td>
261 <td class="md" nowrap>int *&nbsp;</td>
262 <td class="mdname" nowrap> <em>status</em></td>
263 </tr>
264 <tr>
265 <td></td>
266 <td class="md">)&nbsp;</td>
267 <td class="md" colspan="2"></td>
268 </tr>
270 </table>
271 </td>
272 </tr>
273 </table>
274 <table cellspacing=5 cellpadding=0 border=0>
275 <tr>
276 <td>
277 &nbsp;
278 </td>
279 <td>
282 Open an input device. This is not required by the XINPUT model that DMX uses. </td>
283 </tr>
284 </table>
285 <a class="anchor" name="a6" doxytag="dmxxinput.c::SetDeviceMode" ></a><p>
286 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
287 <tr>
288 <td class="mdRow">
289 <table cellpadding="0" cellspacing="0" border="0">
290 <tr>
291 <td class="md" nowrap valign="top"> int SetDeviceMode </td>
292 <td class="md" valign="top">(&nbsp;</td>
293 <td class="md" nowrap valign="top">ClientPtr&nbsp;</td>
294 <td class="mdname" nowrap> <em>client</em>, </td>
295 </tr>
296 <tr>
297 <td></td>
298 <td></td>
299 <td class="md" nowrap>DeviceIntPtr&nbsp;</td>
300 <td class="mdname" nowrap> <em>dev</em>, </td>
301 </tr>
302 <tr>
303 <td></td>
304 <td></td>
305 <td class="md" nowrap>int&nbsp;</td>
306 <td class="mdname" nowrap> <em>mode</em></td>
307 </tr>
308 <tr>
309 <td></td>
310 <td class="md">)&nbsp;</td>
311 <td class="md" colspan="2"></td>
312 </tr>
314 </table>
315 </td>
316 </tr>
317 </table>
318 <table cellspacing=5 cellpadding=0 border=0>
319 <tr>
320 <td>
321 &nbsp;
322 </td>
323 <td>
326 Set device mode to <em>mode</em>. This is not implemented. </td>
327 </tr>
328 </table>
329 <a class="anchor" name="a7" doxytag="dmxxinput.c::SetDeviceValuators" ></a><p>
330 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
331 <tr>
332 <td class="mdRow">
333 <table cellpadding="0" cellspacing="0" border="0">
334 <tr>
335 <td class="md" nowrap valign="top"> int SetDeviceValuators </td>
336 <td class="md" valign="top">(&nbsp;</td>
337 <td class="md" nowrap valign="top">ClientPtr&nbsp;</td>
338 <td class="mdname" nowrap> <em>client</em>, </td>
339 </tr>
340 <tr>
341 <td></td>
342 <td></td>
343 <td class="md" nowrap>DeviceIntPtr&nbsp;</td>
344 <td class="mdname" nowrap> <em>dev</em>, </td>
345 </tr>
346 <tr>
347 <td></td>
348 <td></td>
349 <td class="md" nowrap>int *&nbsp;</td>
350 <td class="mdname" nowrap> <em>valuators</em>, </td>
351 </tr>
352 <tr>
353 <td></td>
354 <td></td>
355 <td class="md" nowrap>int&nbsp;</td>
356 <td class="mdname" nowrap> <em>first_valuator</em>, </td>
357 </tr>
358 <tr>
359 <td></td>
360 <td></td>
361 <td class="md" nowrap>int&nbsp;</td>
362 <td class="mdname" nowrap> <em>num_valuators</em></td>
363 </tr>
364 <tr>
365 <td></td>
366 <td class="md">)&nbsp;</td>
367 <td class="md" colspan="2"></td>
368 </tr>
370 </table>
371 </td>
372 </tr>
373 </table>
374 <table cellspacing=5 cellpadding=0 border=0>
375 <tr>
376 <td>
377 &nbsp;
378 </td>
379 <td>
382 Set device valuators. This is not implemented. </td>
383 </tr>
384 </table>
385 <hr>
386 <address>
387 <small>
388 Generated June 29, 2004 for <a
389 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
390 <a href="http://www.doxygen.org/index.html">doxygen</a>
391 1.3.4.
392 </small>
393 </addres>
394 </hr>
395 </body>
396 </html>