<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
    <title>File Index</title>
    <link href="doxygen.css" rel="stylesheet" type="text/css">
  </head>
  <body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>dmxevents.h File Reference</h1>
<p><a href="dmxevents_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#a082f21151ec3d66b75d4613a3612c755">dmxCheckSpecialKeys</a> (DevicePtr pDev, KeySym keySym)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#a344419a01be02621ec99942c6cfd45ea">dmxInvalidateGlobalPosition</a> (void)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface to event processing functions. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxevents_8h.html">dmxevents.h</a> </dd></dl>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a082f21151ec3d66b75d4613a3612c755"></a><!-- doxytag: member="dmxevents.h::dmxCheckSpecialKeys" ref="a082f21151ec3d66b75d4613a3612c755" args="(DevicePtr pDev, KeySym keySym)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dmxCheckSpecialKeys </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">KeySym&nbsp;</td>
          <td class="paramname"> <em>keySym</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<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>

<p>References <a class="el" href="dmxcursor_8c_source.html#l00107">DMXDBG2</a>, <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, <a class="el" href="dmxinputinit_8c_source.html#l00081">dmxLocalCoreKeyboard</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxcommon_8h_source.html#l00087">GETDMXINPUTFROMPDEV</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00235">_DMXLocalInputInfo::pDevice</a>.</p>

<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00599">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00065">dmxSigioHandler()</a>.</p>

</div>
</div>
<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)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxEnqueue </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>detail</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">KeySym&nbsp;</td>
          <td class="paramname"> <em>keySym</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XEvent *&nbsp;</td>
          <td class="paramname"> <em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a>&nbsp;</td>
          <td class="paramname"> <em>block</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<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>
<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>

<p>References <a class="el" href="dmxevents_8c_source.html#l00098">dmxCheckFunctionKeys()</a>, <a class="el" href="dmxcursor_8c_source.html#l00107">DMXDBG2</a>, <a class="el" href="dmxlog_8c_source.html#l00307">dmxEventName()</a>, <a class="el" href="dmxevents_8c_source.html#l00632">dmxFixup()</a>, <a class="el" href="dmxevents_8c_source.html#l00520">dmxGetButtonMapping()</a>, <a class="el" href="dmxevents_8c_source.html#l00580">dmxKeyCodeToKeySym()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00081">dmxLocalCoreKeyboard</a>, <a class="el" href="dmxlog_8c_source.html#l00219">dmxLogInput()</a>, <a class="el" href="dmxevents_8c_source.html#l00383">dmxTranslateAndEnqueueExtEvent()</a>, <a class="el" href="dmxcommon_8h_source.html#l00087">GETDMXINPUTFROMPDEV</a>, <a class="el" href="dmxclient_8h.html#ac1fa54a853b3edb8cbf6378dfaa962a6">ProximityIn</a>, and <a class="el" href="dmxclient_8h.html#a606f455d31c949b7f57a51a0e0b5f351">ProximityOut</a>.</p>

<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00599">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00065">dmxSigioHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a344419a01be02621ec99942c6cfd45ea"></a><!-- doxytag: member="dmxevents.h::dmxInvalidateGlobalPosition" ref="a344419a01be02621ec99942c6cfd45ea" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxInvalidateGlobalPosition </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Invalidate the global position for <a class="el" href="dmxevents_8c.html#adf2928cf693dab61adafad503e81d2dc">dmxCoreMotion</a>. </p>

<p>References <a class="el" href="dmxevents_8c_source.html#l00064">dmxGlobalInvalid</a>.</p>

<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00535">dmxBackendLateReInit()</a>.</p>

</div>
</div>
<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)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxMotion </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>firstAxes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>axesCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dmxinputinit_8h.html#a009c1c06db97e0347237f11a701db349">DMXMotionType</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a>&nbsp;</td>
          <td class="paramname"> <em>block</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<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>
<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>
<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>

<p>References <a class="el" href="dmxinputinit_8h_source.html#l00077">DMX_ABSOLUTE</a>, <a class="el" href="dmxinputinit_8h_source.html#l00078">DMX_ABSOLUTE_CONFINED</a>, <a class="el" href="dmxinputinit_8h_source.html#l00076">DMX_RELATIVE</a>, <a class="el" href="dmxevents_8c_source.html#l00194">dmxCoreMotion()</a>, <a class="el" href="dmxevents_8c_source.html#l00281">dmxExtMotion()</a>, <a class="el" href="dmxevents_8c_source.html#l00063">dmxGlobalX</a>, <a class="el" href="dmxevents_8c_source.html#l00063">dmxGlobalY</a>, and <a class="el" href="dmxcommon_8h_source.html#l00084">GETDMXLOCALFROMPDEV</a>.</p>

<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00599">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00065">dmxSigioHandler()</a>.</p>

</div>
</div>
</div>
    <hr>
    <address>
      <small>
        Generated June 29, 2004 for <a
        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
        <a href="http://www.doxygen.org/index.html">doxygen</a>
        1.3.4.
      </small>
    </addres>
    </hr>
  </body>
</html>