First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxmap_8h.html
blobdb69ac6b2954ec4aaba7590576fe60d5b3b71adb
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>dmxmap.h File Reference</h1>
12 <p>
13 <a href="dmxmap_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
14 <tr><td></td></tr>
15 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
16 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxmap_8h.html#a0">dmxMapInsert</a> (<a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal, int remoteEvent, int serverEvent)</td></tr>
18 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxmap_8h.html#a1">dmxMapClear</a> (<a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal)</td></tr>
20 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxmap_8h.html#a2">dmxMapLookup</a> (<a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal, int remoteEvent)</td></tr>
22 </table>
23 <hr><a name="_details"></a><h2>Detailed Description</h2>
24 Interface to XInput event mapping support. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="dmxmap_8c.html">dmxmap.c</a></dd></dl>
25 <hr><h2>Function Documentation</h2>
26 <a class="anchor" name="a1" doxytag="dmxmap.h::dmxMapClear" ></a><p>
27 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
28 <tr>
29 <td class="mdRow">
30 <table cellpadding="0" cellspacing="0" border="0">
31 <tr>
32 <td class="md" nowrap valign="top"> void dmxMapClear </td>
33 <td class="md" valign="top">(&nbsp;</td>
34 <td class="md" nowrap valign="top"><a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a>&nbsp;</td>
35 <td class="mdname1" valign="top" nowrap> <em>dmxLocal</em> </td>
36 <td class="md" valign="top">&nbsp;)&nbsp;</td>
37 <td class="md" nowrap></td>
38 </tr>
40 </table>
41 </td>
42 </tr>
43 </table>
44 <table cellspacing=5 cellpadding=0 border=0>
45 <tr>
46 <td>
47 &nbsp;
48 </td>
49 <td>
51 <p>
52 Remove all mappings there were inserted with <a class="el" href="dmxmap_8h.html#a0">dmxMapInsert</a>. </td>
53 </tr>
54 </table>
55 <a class="anchor" name="a0" doxytag="dmxmap.h::dmxMapInsert" ></a><p>
56 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
57 <tr>
58 <td class="mdRow">
59 <table cellpadding="0" cellspacing="0" border="0">
60 <tr>
61 <td class="md" nowrap valign="top"> void dmxMapInsert </td>
62 <td class="md" valign="top">(&nbsp;</td>
63 <td class="md" nowrap valign="top"><a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a>&nbsp;</td>
64 <td class="mdname" nowrap> <em>dmxLocal</em>, </td>
65 </tr>
66 <tr>
67 <td></td>
68 <td></td>
69 <td class="md" nowrap>int&nbsp;</td>
70 <td class="mdname" nowrap> <em>remoteEvent</em>, </td>
71 </tr>
72 <tr>
73 <td></td>
74 <td></td>
75 <td class="md" nowrap>int&nbsp;</td>
76 <td class="mdname" nowrap> <em>serverEvent</em></td>
77 </tr>
78 <tr>
79 <td></td>
80 <td class="md">)&nbsp;</td>
81 <td class="md" colspan="2"></td>
82 </tr>
84 </table>
85 </td>
86 </tr>
87 </table>
88 <table cellspacing=5 cellpadding=0 border=0>
89 <tr>
90 <td>
91 &nbsp;
92 </td>
93 <td>
95 <p>
96 Create a mapping from <em>remoteEvent</em> to <em>serverEvent</em>. The <em>remoteEvent</em> is the type returned from the remote server. The <em>serverEvent</em> is from the XI_* list of events in include/extensions/XIproto.h. </td>
97 </tr>
98 </table>
99 <a class="anchor" name="a2" doxytag="dmxmap.h::dmxMapLookup" ></a><p>
100 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
101 <tr>
102 <td class="mdRow">
103 <table cellpadding="0" cellspacing="0" border="0">
104 <tr>
105 <td class="md" nowrap valign="top"> int dmxMapLookup </td>
106 <td class="md" valign="top">(&nbsp;</td>
107 <td class="md" nowrap valign="top"><a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a>&nbsp;</td>
108 <td class="mdname" nowrap> <em>dmxLocal</em>, </td>
109 </tr>
110 <tr>
111 <td></td>
112 <td></td>
113 <td class="md" nowrap>int&nbsp;</td>
114 <td class="mdname" nowrap> <em>remoteEvent</em></td>
115 </tr>
116 <tr>
117 <td></td>
118 <td class="md">)&nbsp;</td>
119 <td class="md" colspan="2"></td>
120 </tr>
122 </table>
123 </td>
124 </tr>
125 </table>
126 <table cellspacing=5 cellpadding=0 border=0>
127 <tr>
128 <td>
129 &nbsp;
130 </td>
131 <td>
134 Lookup a mapping for <em>remoteEvent</em>. The <em>remoteEvent</em> is the type returned from the remote server. The return value is that which was passed into <a class="el" href="dmxmap_8h.html#a0">dmxMapInsert</a> (i.e., a value from the XI_* list in include/extensions/XIproto.h). If a mapping is not available, -1 is returned. </td>
135 </tr>
136 </table>
137 <hr>
138 <address>
139 <small>
140 Generated June 29, 2004 for <a
141 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
142 <a href="http://www.doxygen.org/index.html">doxygen</a>
143 1.3.4.
144 </small>
145 </addres>
146 </hr>
147 </body>
148 </html>