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('dmxevents_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">dmxevents.h File Reference</div>  </div>
42</div>
43<div class="contents">
44
45<p><a href="dmxevents_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="dmxevents_8h.html#ac96a9f0e7f2a31881224b4a8e620239a">dmxMotion</a> (DevicePtr pDev, int *v, int firstAxis, int axesCount, <a class="el" href="dmxinputinit_8h.html#a009c1c06db97e0347237f11a701db349">DMXMotionType</a> type, <a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> block)</td></tr>
50<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#ac678be4d489b749fea88a8f0e9045499">dmxEnqueue</a> (DevicePtr pDev, int type, int detail, KeySym keySym, XEvent *e, <a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> block)</td></tr>
51<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#a082f21151ec3d66b75d4613a3612c755">dmxCheckSpecialKeys</a> (DevicePtr pDev, KeySym keySym)</td></tr>
52<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#a344419a01be02621ec99942c6cfd45ea">dmxInvalidateGlobalPosition</a> (void)</td></tr>
53</table>
54<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
55<div class="textblock"><p>Interface to event processing functions. </p>
56<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxevents_8h.html">dmxevents.h</a> </dd></dl>
57</div><hr/><h2>Function Documentation</h2>
58<a class="anchor" id="a082f21151ec3d66b75d4613a3612c755"></a><!-- doxytag: member="dmxevents.h::dmxCheckSpecialKeys" ref="a082f21151ec3d66b75d4613a3612c755" args="(DevicePtr pDev, KeySym keySym)" -->
59<div class="memitem">
60<div class="memproto">
61      <table class="memname">
62        <tr>
63          <td class="memname">int dmxCheckSpecialKeys </td>
64          <td>(</td>
65          <td class="paramtype">DevicePtr&#160;</td>
66          <td class="paramname"><em>pDev</em>, </td>
67        </tr>
68        <tr>
69          <td class="paramkey"></td>
70          <td></td>
71          <td class="paramtype">KeySym&#160;</td>
72          <td class="paramname"><em>keySym</em>&#160;</td>
73        </tr>
74        <tr>
75          <td></td>
76          <td>)</td>
77          <td></td><td></td>
78        </tr>
79      </table>
80</div>
81<div class="memdoc">
82<p>A pointer to this routine is passed to low-level input drivers so that all special keychecking is unified to this file. This function returns 0 if no special keys have been pressed. If the user has requested termination of the DMX server, -1 is returned. If the user has requested a switch to a VT, then the (1-based) number of that VT is returned. </p>
83
84<p>References <a class="el" href="dmxevents_8c.html#a1056d63499cee76ebe297c19637f2b79">DMXDBG2</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917faf73564300bdffb23b369b84c842aceea">dmxInfo</a>, <a class="el" href="dmxinputinit_8c.html#afbf8cd02f52e073392a645f6ef0bcf78">dmxLocalCoreKeyboard</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxcommon_8h.html#ad100a619cb405b9f315abf1019622dd7">GETDMXINPUTFROMPDEV</a>, and <a class="el" href="struct__DMXLocalInputInfo.html#ac126083d907b7c450c94e8317abc20c4">_DMXLocalInputInfo::pDevice</a>.</p>
85
86<p>Referenced by <a class="el" href="dmxinputinit_8c.html#a5f11f622380645150bc9ca3a465ca382">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c.html#a7d77ce64f0495ed7bb1f5bfcde316371">dmxSigioHandler()</a>.</p>
87
88</div>
89</div>
90<a class="anchor" id="ac678be4d489b749fea88a8f0e9045499"></a><!-- doxytag: member="dmxevents.h::dmxEnqueue" ref="ac678be4d489b749fea88a8f0e9045499" args="(DevicePtr pDev, int type, int detail, KeySym keySym, XEvent *e, DMXBlockType block)" -->
91<div class="memitem">
92<div class="memproto">
93      <table class="memname">
94        <tr>
95          <td class="memname">void dmxEnqueue </td>
96          <td>(</td>
97          <td class="paramtype">DevicePtr&#160;</td>
98          <td class="paramname"><em>pDev</em>, </td>
99        </tr>
100        <tr>
101          <td class="paramkey"></td>
102          <td></td>
103          <td class="paramtype">int&#160;</td>
104          <td class="paramname"><em>type</em>, </td>
105        </tr>
106        <tr>
107          <td class="paramkey"></td>
108          <td></td>
109          <td class="paramtype">int&#160;</td>
110          <td class="paramname"><em>detail</em>, </td>
111        </tr>
112        <tr>
113          <td class="paramkey"></td>
114          <td></td>
115          <td class="paramtype">KeySym&#160;</td>
116          <td class="paramname"><em>keySym</em>, </td>
117        </tr>
118        <tr>
119          <td class="paramkey"></td>
120          <td></td>
121          <td class="paramtype">XEvent *&#160;</td>
122          <td class="paramname"><em>e</em>, </td>
123        </tr>
124        <tr>
125          <td class="paramkey"></td>
126          <td></td>
127          <td class="paramtype"><a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a>&#160;</td>
128          <td class="paramname"><em>block</em>&#160;</td>
129        </tr>
130        <tr>
131          <td></td>
132          <td>)</td>
133          <td></td><td></td>
134        </tr>
135      </table>
136</div>
137<div class="memdoc">
138<p>Enqueue an event from the <em>pDev</em> device with the specified <em>type</em> and <em>detail</em>. If the event is a KeyPress or KeyRelease event, then the <em>keySym</em> is also specified.</p>
139<p>FIXME: make the code do what the comment says, or remove this comment. If <em>block</em> is set to <em>DMX_BLOCK</em>, then the SIGIO handler will be blocked around calls to dmxeqEnqueue(). </p>
140
141<p>References <a class="el" href="dmxevents_8c.html#a382acebe1e5e976d7edc31fc27fcdd6f">dmxCheckFunctionKeys()</a>, <a class="el" href="dmxevents_8c.html#a1056d63499cee76ebe297c19637f2b79">DMXDBG2</a>, <a class="el" href="dmxlog_8c.html#ad06725902753399035cb0ebde9c45e9a">dmxEventName()</a>, <a class="el" href="dmxevents_8c.html#a76dff4df3c759055dfb6b74423868e9b">dmxFixup()</a>, <a class="el" href="dmxevents_8c.html#ac8d5c0981946c42f016d4e839eb358e1">dmxGetButtonMapping()</a>, <a class="el" href="dmxevents_8c.html#a7e514e6fbb9cec592d987dd82cc5905b">dmxKeyCodeToKeySym()</a>, <a class="el" href="dmxinputinit_8c.html#afbf8cd02f52e073392a645f6ef0bcf78">dmxLocalCoreKeyboard</a>, <a class="el" href="dmxlog_8c.html#ac8d8dc0ec631bab1d1d95815c238d574">dmxLogInput()</a>, <a class="el" href="dmxevents_8c.html#ae0083a2b1547708473cbc75ebf0006ae">dmxTranslateAndEnqueueExtEvent()</a>, <a class="el" href="dmxcommon_8h.html#ad100a619cb405b9f315abf1019622dd7">GETDMXINPUTFROMPDEV</a>, <a class="el" href="dmxclient_8h.html#ac1fa54a853b3edb8cbf6378dfaa962a6">ProximityIn</a>, and <a class="el" href="dmxclient_8h.html#a606f455d31c949b7f57a51a0e0b5f351">ProximityOut</a>.</p>
142
143<p>Referenced by <a class="el" href="dmxinputinit_8c.html#a5f11f622380645150bc9ca3a465ca382">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c.html#a7d77ce64f0495ed7bb1f5bfcde316371">dmxSigioHandler()</a>.</p>
144
145</div>
146</div>
147<a class="anchor" id="a344419a01be02621ec99942c6cfd45ea"></a><!-- doxytag: member="dmxevents.h::dmxInvalidateGlobalPosition" ref="a344419a01be02621ec99942c6cfd45ea" args="(void)" -->
148<div class="memitem">
149<div class="memproto">
150      <table class="memname">
151        <tr>
152          <td class="memname">void dmxInvalidateGlobalPosition </td>
153          <td>(</td>
154          <td class="paramtype">void&#160;</td>
155          <td class="paramname"></td><td>)</td>
156          <td></td>
157        </tr>
158      </table>
159</div>
160<div class="memdoc">
161<p>Invalidate the global position for <a class="el" href="dmxevents_8c.html#adf2928cf693dab61adafad503e81d2dc">dmxCoreMotion</a>. </p>
162
163<p>References <a class="el" href="dmxevents_8c.html#a1ae34b930e721372a403fbbe2111a221">dmxGlobalInvalid</a>.</p>
164
165<p>Referenced by <a class="el" href="dmxbackend_8h.html#a6027901ceb2a93e4fea5acf9b8cb0059">dmxBackendLateReInit()</a>.</p>
166
167</div>
168</div>
169<a class="anchor" id="ac96a9f0e7f2a31881224b4a8e620239a"></a><!-- doxytag: member="dmxevents.h::dmxMotion" ref="ac96a9f0e7f2a31881224b4a8e620239a" args="(DevicePtr pDev, int *v, int firstAxis, int axesCount, DMXMotionType type, DMXBlockType block)" -->
170<div class="memitem">
171<div class="memproto">
172      <table class="memname">
173        <tr>
174          <td class="memname">void dmxMotion </td>
175          <td>(</td>
176          <td class="paramtype">DevicePtr&#160;</td>
177          <td class="paramname"><em>pDev</em>, </td>
178        </tr>
179        <tr>
180          <td class="paramkey"></td>
181          <td></td>
182          <td class="paramtype">int *&#160;</td>
183          <td class="paramname"><em>v</em>, </td>
184        </tr>
185        <tr>
186          <td class="paramkey"></td>
187          <td></td>
188          <td class="paramtype">int&#160;</td>
189          <td class="paramname"><em>firstAxes</em>, </td>
190        </tr>
191        <tr>
192          <td class="paramkey"></td>
193          <td></td>
194          <td class="paramtype">int&#160;</td>
195          <td class="paramname"><em>axesCount</em>, </td>
196        </tr>
197        <tr>
198          <td class="paramkey"></td>
199          <td></td>
200          <td class="paramtype"><a class="el" href="dmxinputinit_8h.html#a009c1c06db97e0347237f11a701db349">DMXMotionType</a>&#160;</td>
201          <td class="paramname"><em>type</em>, </td>
202        </tr>
203        <tr>
204          <td class="paramkey"></td>
205          <td></td>
206          <td class="paramtype"><a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a>&#160;</td>
207          <td class="paramname"><em>block</em>&#160;</td>
208        </tr>
209        <tr>
210          <td></td>
211          <td>)</td>
212          <td></td><td></td>
213        </tr>
214      </table>
215</div>
216<div class="memdoc">
217<p>Enqueue a motion event for <em>pDev</em>. The <em>v</em> vector has length <em>axesCount</em>, and contains values for each of the axes, starting at <em>firstAxes</em>.</p>
218<p>The <em>type</em> of the motion may be <em>DMX_RELATIVE</em>, <em>DMX_ABSOLUTE</em>, or <em>DMX_ABSOLUTE_CONFINED</em> (in the latter case, the pointer will not be allowed to move outside the global boundaires).</p>
219<p>If <em>block</em> is set to <em>DMX_BLOCK</em>, then the SIGIO handler will be blocked around calls to <em><a class="el" href="dmxevents_8c.html#ad423328e9c289737154464bd6830a1ad">enqueueMotion()</a></em>. </p>
220
221<p>References <a class="el" href="dmxinputinit_8h.html#a009c1c06db97e0347237f11a701db349a3f6f623d8a62c69c55ec94d33d29af06">DMX_ABSOLUTE</a>, <a class="el" href="dmxinputinit_8h.html#a009c1c06db97e0347237f11a701db349a0fa251fe246858df55404c1df40b818c">DMX_ABSOLUTE_CONFINED</a>, <a class="el" href="dmxinputinit_8h.html#a009c1c06db97e0347237f11a701db349a065d85ca14ad2eb8f7bae4eaffac6412">DMX_RELATIVE</a>, <a class="el" href="dmxinput_8h.html#adf2928cf693dab61adafad503e81d2dc">dmxCoreMotion()</a>, <a class="el" href="dmxevents_8c.html#a8463e76279fff9479a552b69c4754273">dmxExtMotion()</a>, <a class="el" href="dmxevents_8c.html#a6f6d88e8d30622451b8e9fe4ba22c811">dmxGlobalX</a>, <a class="el" href="dmxevents_8c.html#abbf8898981b5b2ac573e68e1a9386f08">dmxGlobalY</a>, and <a class="el" href="dmxcommon_8h.html#a22db91e32f104411c68049e16a93067b">GETDMXLOCALFROMPDEV</a>.</p>
222
223<p>Referenced by <a class="el" href="dmxinputinit_8c.html#a5f11f622380645150bc9ca3a465ca382">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c.html#a7d77ce64f0495ed7bb1f5bfcde316371">dmxSigioHandler()</a>.</p>
224
225</div>
226</div>
227</div>
228</div>
229  <div id="nav-path" class="navpath">
230    <ul>
231      <li class="navelem"><a class="el" href="dmxevents_8h.html">dmxevents.h</a>      </li>
232    <hr>
233    <address>
234      <small>
235        Generated June 29, 2004 for <a
236        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
237        <a href="http://www.doxygen.org/index.html">doxygen</a>
238        1.3.4.
239      </small>
240    </addres>
241    </hr>
242  </body>
243</html>
244