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.7.4 -->
10  <div id="navrow1" class="tabs">
11    <ul class="tablist">
12      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
13      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
14      <li class="current"><a href="files.html"><span>Files</span></a></li>
15    </ul>
16  </div>
17  <div id="navrow2" class="tabs2">
18    <ul class="tablist">
19      <li><a href="files.html"><span>File&#160;List</span></a></li>
20      <li><a href="globals.html"><span>Globals</span></a></li>
21    </ul>
22  </div>
23</div>
24<div id="side-nav" class="ui-resizable side-nav-resizable">
25  <div id="nav-tree">
26    <div id="nav-tree-contents">
27    </div>
28  </div>
29  <div id="splitbar" style="-moz-user-select:none;" 
30       class="ui-resizable-handle">
31  </div>
32</div>
33<script type="text/javascript">
34  initNavTree('dmxmap_8h.html','');
35</script>
36<div id="doc-content">
37<div class="header">
38  <div class="summary">
39<a href="#func-members">Functions</a>  </div>
40  <div class="headertitle">
41<div class="title">dmxmap.h File Reference</div>  </div>
42</div>
43<div class="contents">
44
45<p><a href="dmxmap_8h_source.html">Go to the source code of this file.</a></p>
46<table class="memberdecls">
47<tr><td colspan="2"><h2><a name="func-members"></a>
48Functions</h2></td></tr>
49<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxmap_8h.html#ada5a28e0c746708e0f5c45e9e193d907">dmxMapInsert</a> (<a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal, int remoteEvent, int serverEvent)</td></tr>
50<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxmap_8h.html#a27107d43f96e7c09241d7ef0b5e9c0f5">dmxMapClear</a> (<a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal)</td></tr>
51<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxmap_8h.html#abc1a46c87c4acd45e4e5f79370be6169">dmxMapLookup</a> (<a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal, int remoteEvent)</td></tr>
52</table>
53<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
54<div class="textblock"><p>Interface to XInput event mapping support. </p>
55<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxmap_8c.html">dmxmap.c</a> </dd></dl>
56</div><hr/><h2>Function Documentation</h2>
57<a class="anchor" id="a27107d43f96e7c09241d7ef0b5e9c0f5"></a><!-- doxytag: member="dmxmap.h::dmxMapClear" ref="a27107d43f96e7c09241d7ef0b5e9c0f5" args="(DMXLocalInputInfoPtr dmxLocal)" -->
58<div class="memitem">
59<div class="memproto">
60      <table class="memname">
61        <tr>
62          <td class="memname">void dmxMapClear </td>
63          <td>(</td>
64          <td class="paramtype"><a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a>&#160;</td>
65          <td class="paramname"><em>dmxLocal</em></td><td>)</td>
66          <td></td>
67        </tr>
68      </table>
69</div>
70<div class="memdoc">
71<p>Remove all mappings there were inserted with <a class="el" href="dmxmap_8h.html#ada5a28e0c746708e0f5c45e9e193d907">dmxMapInsert</a>. </p>
72
73<p>References <a class="el" href="dmxinputinit_8h.html#a13002c58c62fa0d9c65076f22c4df452">DMX_MAP_ENTRIES</a>, <a class="el" href="struct__DMXLocalInputInfo.html#af8ea073e34c4e927f7f887603aaba17d">_DMXLocalInputInfo::map</a>, <a class="el" href="struct__DMXLocalInputInfo.html#a5595cf8656f17bceb30699a6d215afa5">_DMXLocalInputInfo::mapOptimize</a>, and <a class="el" href="struct__DMXEventMap.html#aafea1b880cf1b362c7e600b4285c08c3">_DMXEventMap::remote</a>.</p>
74
75</div>
76</div>
77<a class="anchor" id="ada5a28e0c746708e0f5c45e9e193d907"></a><!-- doxytag: member="dmxmap.h::dmxMapInsert" ref="ada5a28e0c746708e0f5c45e9e193d907" args="(DMXLocalInputInfoPtr dmxLocal, int remoteEvent, int serverEvent)" -->
78<div class="memitem">
79<div class="memproto">
80      <table class="memname">
81        <tr>
82          <td class="memname">void dmxMapInsert </td>
83          <td>(</td>
84          <td class="paramtype"><a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a>&#160;</td>
85          <td class="paramname"><em>dmxLocal</em>, </td>
86        </tr>
87        <tr>
88          <td class="paramkey"></td>
89          <td></td>
90          <td class="paramtype">int&#160;</td>
91          <td class="paramname"><em>remoteEvent</em>, </td>
92        </tr>
93        <tr>
94          <td class="paramkey"></td>
95          <td></td>
96          <td class="paramtype">int&#160;</td>
97          <td class="paramname"><em>serverEvent</em>&#160;</td>
98        </tr>
99        <tr>
100          <td></td>
101          <td>)</td>
102          <td></td><td></td>
103        </tr>
104      </table>
105</div>
106<div class="memdoc">
107<p>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. </p>
108
109<p>References <a class="el" href="dmxinputinit_8h.html#a13002c58c62fa0d9c65076f22c4df452">DMX_MAP_ENTRIES</a>, <a class="el" href="dmxinputinit_8h.html#a51a3f23fde19e452c34d472758710b90">DMX_MAP_MASK</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fae81ae2a11fb7ab8eea902f609574210a">dmxWarning</a>, <a class="el" href="struct__DMXLocalInputInfo.html#af8ea073e34c4e927f7f887603aaba17d">_DMXLocalInputInfo::map</a>, <a class="el" href="struct__DMXLocalInputInfo.html#a5595cf8656f17bceb30699a6d215afa5">_DMXLocalInputInfo::mapOptimize</a>, <a class="el" href="struct__DMXEventMap.html#aafea1b880cf1b362c7e600b4285c08c3">_DMXEventMap::remote</a>, and <a class="el" href="struct__DMXEventMap.html#a6f3626351411d6a9555a16969761ec17">_DMXEventMap::server</a>.</p>
110
111</div>
112</div>
113<a class="anchor" id="abc1a46c87c4acd45e4e5f79370be6169"></a><!-- doxytag: member="dmxmap.h::dmxMapLookup" ref="abc1a46c87c4acd45e4e5f79370be6169" args="(DMXLocalInputInfoPtr dmxLocal, int remoteEvent)" -->
114<div class="memitem">
115<div class="memproto">
116      <table class="memname">
117        <tr>
118          <td class="memname">int dmxMapLookup </td>
119          <td>(</td>
120          <td class="paramtype"><a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a>&#160;</td>
121          <td class="paramname"><em>dmxLocal</em>, </td>
122        </tr>
123        <tr>
124          <td class="paramkey"></td>
125          <td></td>
126          <td class="paramtype">int&#160;</td>
127          <td class="paramname"><em>remoteEvent</em>&#160;</td>
128        </tr>
129        <tr>
130          <td></td>
131          <td>)</td>
132          <td></td><td></td>
133        </tr>
134      </table>
135</div>
136<div class="memdoc">
137<p>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#ada5a28e0c746708e0f5c45e9e193d907">dmxMapInsert</a> (i.e., a value from the XI_* list in include/extensions/XIproto.h). If a mapping is not available, -1 is returned. </p>
138
139<p>References <a class="el" href="dmxinputinit_8h.html#a13002c58c62fa0d9c65076f22c4df452">DMX_MAP_ENTRIES</a>, <a class="el" href="dmxinputinit_8h.html#a51a3f23fde19e452c34d472758710b90">DMX_MAP_MASK</a>, <a class="el" href="struct__DMXLocalInputInfo.html#af8ea073e34c4e927f7f887603aaba17d">_DMXLocalInputInfo::map</a>, <a class="el" href="struct__DMXLocalInputInfo.html#a5595cf8656f17bceb30699a6d215afa5">_DMXLocalInputInfo::mapOptimize</a>, <a class="el" href="struct__DMXEventMap.html#aafea1b880cf1b362c7e600b4285c08c3">_DMXEventMap::remote</a>, and <a class="el" href="struct__DMXEventMap.html#a6f3626351411d6a9555a16969761ec17">_DMXEventMap::server</a>.</p>
140
141<p>Referenced by <a class="el" href="dmxevents_8c.html#ae0083a2b1547708473cbc75ebf0006ae">dmxTranslateAndEnqueueExtEvent()</a>.</p>
142
143</div>
144</div>
145</div>
146</div>
147  <div id="nav-path" class="navpath">
148    <ul>
149      <li class="navelem"><a class="el" href="dmxmap_8h.html">dmxmap.h</a>      </li>
150    <hr>
151    <address>
152      <small>
153        Generated June 29, 2004 for <a
154        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
155        <a href="http://www.doxygen.org/index.html">doxygen</a>
156        1.3.4.
157      </small>
158    </addres>
159    </hr>
160  </body>
161</html>
162