1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
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">
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class=
"qindex"><a class=
"qindex" href=
"main.html">Main
Page
</a> |
<a class=
"qindex" href=
"classes.html">Alphabetical
List
</a> |
<a class=
"qindex" href=
"annotated.html">Data
Structures
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Data
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>
22 <tr><td colspan=
2><br><h2>Functions
</h2></td></tr>
23 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</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
</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
</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
</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
</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
</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
</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
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxxinput_8c.html#a8">ChangeDeviceControl
</a> (ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control)
</td></tr>
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">
46 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
48 <td class=
"md" nowrap
valign=
"top"> void AddOtherInputDevices
</td>
49 <td class=
"md" valign=
"top">(
</td>
50 <td class=
"md" nowrap
valign=
"top">void
</td>
51 <td class=
"mdname1" valign=
"top" nowrap
> </td>
52 <td class=
"md" valign=
"top"> )
</td>
53 <td class=
"md" nowrap
></td>
60 <table cellspacing=
5 cellpadding=
0 border=
0>
68 This is not required by the XINPUT model that DMX uses.
</td>
71 <a class=
"anchor" name=
"a8" doxytag=
"dmxxinput.c::ChangeDeviceControl" ></a><p>
72 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
75 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
77 <td class=
"md" nowrap
valign=
"top"> int ChangeDeviceControl
</td>
78 <td class=
"md" valign=
"top">(
</td>
79 <td class=
"md" nowrap
valign=
"top">ClientPtr
</td>
80 <td class=
"mdname" nowrap
> <em>client
</em>,
</td>
85 <td class=
"md" nowrap
>DeviceIntPtr
</td>
86 <td class=
"mdname" nowrap
> <em>dev
</em>,
</td>
91 <td class=
"md" nowrap
>xDeviceCtl *
</td>
92 <td class=
"mdname" nowrap
> <em>control
</em></td>
96 <td class=
"md">)
</td>
97 <td class=
"md" colspan=
"2"></td>
104 <table cellspacing=
5 cellpadding=
0 border=
0>
112 Change device control. This is not implemented.
</td>
115 <a class=
"anchor" name=
"a1" doxytag=
"dmxxinput.c::ChangeKeyboardDevice" ></a><p>
116 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
119 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
121 <td class=
"md" nowrap
valign=
"top"> int ChangeKeyboardDevice
</td>
122 <td class=
"md" valign=
"top">(
</td>
123 <td class=
"md" nowrap
valign=
"top">DeviceIntPtr
</td>
124 <td class=
"mdname" nowrap
> <em>old_dev
</em>,
</td>
129 <td class=
"md" nowrap
>DeviceIntPtr
</td>
130 <td class=
"mdname" nowrap
> <em>new_dev
</em></td>
134 <td class=
"md">)
</td>
135 <td class=
"md" colspan=
"2"></td>
142 <table cellspacing=
5 cellpadding=
0 border=
0>
150 Change the core keyboard from
<em>old_dev
</em> to
<em>new_dev
</em>. Currently this is not implemented.
</td>
153 <a class=
"anchor" name=
"a2" doxytag=
"dmxxinput.c::ChangePointerDevice" ></a><p>
154 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
157 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
159 <td class=
"md" nowrap
valign=
"top"> int ChangePointerDevice
</td>
160 <td class=
"md" valign=
"top">(
</td>
161 <td class=
"md" nowrap
valign=
"top">DeviceIntPtr
</td>
162 <td class=
"mdname" nowrap
> <em>old_dev
</em>,
</td>
167 <td class=
"md" nowrap
>DeviceIntPtr
</td>
168 <td class=
"mdname" nowrap
> <em>new_dev
</em>,
</td>
173 <td class=
"md" nowrap
>unsigned char
</td>
174 <td class=
"mdname" nowrap
> <em>x
</em>,
</td>
179 <td class=
"md" nowrap
>unsigned char
</td>
180 <td class=
"mdname" nowrap
> <em>y
</em></td>
184 <td class=
"md">)
</td>
185 <td class=
"md" colspan=
"2"></td>
192 <table cellspacing=
5 cellpadding=
0 border=
0>
200 Change the core pointer from
<em>old_dev
</em> to
<em>new_dev
</em>.
</td>
203 <a class=
"anchor" name=
"a3" doxytag=
"dmxxinput.c::CloseInputDevice" ></a><p>
204 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
207 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
209 <td class=
"md" nowrap
valign=
"top"> void CloseInputDevice
</td>
210 <td class=
"md" valign=
"top">(
</td>
211 <td class=
"md" nowrap
valign=
"top">DeviceIntPtr
</td>
212 <td class=
"mdname" nowrap
> <em>d
</em>,
</td>
217 <td class=
"md" nowrap
>ClientPtr
</td>
218 <td class=
"mdname" nowrap
> <em>client
</em></td>
222 <td class=
"md">)
</td>
223 <td class=
"md" colspan=
"2"></td>
230 <table cellspacing=
5 cellpadding=
0 border=
0>
238 Close the input device. This is not required by the XINPUT model that DMX uses.
</td>
241 <a class=
"anchor" name=
"a5" doxytag=
"dmxxinput.c::OpenInputDevice" ></a><p>
242 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
245 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
247 <td class=
"md" nowrap
valign=
"top"> void OpenInputDevice
</td>
248 <td class=
"md" valign=
"top">(
</td>
249 <td class=
"md" nowrap
valign=
"top">DeviceIntPtr
</td>
250 <td class=
"mdname" nowrap
> <em>dev
</em>,
</td>
255 <td class=
"md" nowrap
>ClientPtr
</td>
256 <td class=
"mdname" nowrap
> <em>client
</em>,
</td>
261 <td class=
"md" nowrap
>int *
</td>
262 <td class=
"mdname" nowrap
> <em>status
</em></td>
266 <td class=
"md">)
</td>
267 <td class=
"md" colspan=
"2"></td>
274 <table cellspacing=
5 cellpadding=
0 border=
0>
282 Open an input device. This is not required by the XINPUT model that DMX uses.
</td>
285 <a class=
"anchor" name=
"a6" doxytag=
"dmxxinput.c::SetDeviceMode" ></a><p>
286 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
289 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
291 <td class=
"md" nowrap
valign=
"top"> int SetDeviceMode
</td>
292 <td class=
"md" valign=
"top">(
</td>
293 <td class=
"md" nowrap
valign=
"top">ClientPtr
</td>
294 <td class=
"mdname" nowrap
> <em>client
</em>,
</td>
299 <td class=
"md" nowrap
>DeviceIntPtr
</td>
300 <td class=
"mdname" nowrap
> <em>dev
</em>,
</td>
305 <td class=
"md" nowrap
>int
</td>
306 <td class=
"mdname" nowrap
> <em>mode
</em></td>
310 <td class=
"md">)
</td>
311 <td class=
"md" colspan=
"2"></td>
318 <table cellspacing=
5 cellpadding=
0 border=
0>
326 Set device mode to
<em>mode
</em>. This is not implemented.
</td>
329 <a class=
"anchor" name=
"a7" doxytag=
"dmxxinput.c::SetDeviceValuators" ></a><p>
330 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
333 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
335 <td class=
"md" nowrap
valign=
"top"> int SetDeviceValuators
</td>
336 <td class=
"md" valign=
"top">(
</td>
337 <td class=
"md" nowrap
valign=
"top">ClientPtr
</td>
338 <td class=
"mdname" nowrap
> <em>client
</em>,
</td>
343 <td class=
"md" nowrap
>DeviceIntPtr
</td>
344 <td class=
"mdname" nowrap
> <em>dev
</em>,
</td>
349 <td class=
"md" nowrap
>int *
</td>
350 <td class=
"mdname" nowrap
> <em>valuators
</em>,
</td>
355 <td class=
"md" nowrap
>int
</td>
356 <td class=
"mdname" nowrap
> <em>first_valuator
</em>,
</td>
361 <td class=
"md" nowrap
>int
</td>
362 <td class=
"mdname" nowrap
> <em>num_valuators
</em></td>
366 <td class=
"md">)
</td>
367 <td class=
"md" colspan=
"2"></td>
374 <table cellspacing=
5 cellpadding=
0 border=
0>
382 Set device valuators. This is not implemented.
</td>
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>