<!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>dmxxinput.c File Reference</h1><code>#include &lt;X11/X.h&gt;</code><br/>
<code>#include &lt;X11/Xproto.h&gt;</code><br/>
<code>#include &quot;inputstr.h&quot;</code><br/>
<code>#include &lt;X11/extensions/XI.h&gt;</code><br/>
<code>#include &lt;X11/extensions/XIproto.h&gt;</code><br/>
<code>#include &quot;XIstubs.h&quot;</code><br/>
<code>#include &quot;mipointer.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="dmxinputinit_8h_source.html">dmxinputinit.h</a>&quot;</code><br/>
<code>#include &quot;exevents.h&quot;</code><br/>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxxinput_8c.html#a7aecd63bbe0dfcfad039b983627cfbac">ChangeKeyboardDevice</a> (DeviceIntPtr old_dev, DeviceIntPtr new_dev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxxinput_8c.html#a51cdc3b8533939658513fdd098f8f947">ChangePointerDevice</a> (DeviceIntPtr old_dev, DeviceIntPtr new_dev, unsigned char x, unsigned char y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxxinput_8c.html#a828e60f670f26cad7feaec774526b620">CloseInputDevice</a> (DeviceIntPtr d, ClientPtr client)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxxinput_8c.html#a639d800ee4951307dd70a302c2d68cb9">AddOtherInputDevices</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxxinput_8c.html#aeaa7a5809ae2f38894cae169e25f397d">OpenInputDevice</a> (DeviceIntPtr dev, ClientPtr client, int *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxxinput_8c.html#aa4b20aa4795f3a94339e1748d5a4d1fb">SetDeviceMode</a> (ClientPtr client, DeviceIntPtr dev, int mode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxxinput_8c.html#a1175b57fa9f8cba2b233ffb9e81ed066">SetDeviceValuators</a> (ClientPtr client, DeviceIntPtr dev, int *valuators, int first_valuator, int num_valuators)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxxinput_8c.html#ae8839ac736a195a19dd4b60653b5507b">ChangeDeviceControl</a> (ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This file implements support required by the XINPUT extension. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a639d800ee4951307dd70a302c2d68cb9"></a><!-- doxytag: member="dmxxinput.c::AddOtherInputDevices" ref="a639d800ee4951307dd70a302c2d68cb9" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AddOtherInputDevices </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>This is not required by the XINPUT model that DMX uses. </p>

</div>
</div>
<a class="anchor" id="ae8839ac736a195a19dd4b60653b5507b"></a><!-- doxytag: member="dmxxinput.c::ChangeDeviceControl" ref="ae8839ac736a195a19dd4b60653b5507b" args="(ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ChangeDeviceControl </td>
          <td>(</td>
          <td class="paramtype">ClientPtr&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xDeviceCtl *&nbsp;</td>
          <td class="paramname"> <em>control</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change device control. This is not implemented. </p>

</div>
</div>
<a class="anchor" id="a7aecd63bbe0dfcfad039b983627cfbac"></a><!-- doxytag: member="dmxxinput.c::ChangeKeyboardDevice" ref="a7aecd63bbe0dfcfad039b983627cfbac" args="(DeviceIntPtr old_dev, DeviceIntPtr new_dev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ChangeKeyboardDevice </td>
          <td>(</td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>old_dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>new_dev</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the core keyboard from <em>old_dev</em> to <em>new_dev</em>. Currently this is not implemented. </p>

<p>References <a class="el" href="dmxinputinit_8c_source.html#l00081">dmxLocalCorePointer</a>, <a class="el" href="dmxinputinit_8h_source.html#l00230">_DMXLocalInputInfo::isCore</a>, <a class="el" href="dmxinputinit_8h_source.html#l00255">_DMXLocalInputInfo::savedSendsCore</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00231">_DMXLocalInputInfo::sendsCore</a>.</p>

</div>
</div>
<a class="anchor" id="a51cdc3b8533939658513fdd098f8f947"></a><!-- doxytag: member="dmxxinput.c::ChangePointerDevice" ref="a51cdc3b8533939658513fdd098f8f947" args="(DeviceIntPtr old_dev, DeviceIntPtr new_dev, unsigned char x, unsigned char y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ChangePointerDevice </td>
          <td>(</td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>old_dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>new_dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&nbsp;</td>
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the core pointer from <em>old_dev</em> to <em>new_dev</em>. </p>

<p>References <a class="el" href="dmxinputinit_8c_source.html#l00081">dmxLocalCorePointer</a>, <a class="el" href="dmxinputinit_8h_source.html#l00230">_DMXLocalInputInfo::isCore</a>, <a class="el" href="dmxinputinit_8h_source.html#l00254">_DMXLocalInputInfo::savedMotionEvents</a>, <a class="el" href="struct__DMXLocalInputInfo.html#a27f8606aec1028f80bd9b21c421e78fe">_DMXLocalInputInfo::savedMotionProc</a>, <a class="el" href="dmxinputinit_8h_source.html#l00255">_DMXLocalInputInfo::savedSendsCore</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00231">_DMXLocalInputInfo::sendsCore</a>.</p>

</div>
</div>
<a class="anchor" id="a828e60f670f26cad7feaec774526b620"></a><!-- doxytag: member="dmxxinput.c::CloseInputDevice" ref="a828e60f670f26cad7feaec774526b620" args="(DeviceIntPtr d, ClientPtr client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CloseInputDevice </td>
          <td>(</td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ClientPtr&nbsp;</td>
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Close the input device. This is not required by the XINPUT model that DMX uses. </p>

</div>
</div>
<a class="anchor" id="aeaa7a5809ae2f38894cae169e25f397d"></a><!-- doxytag: member="dmxxinput.c::OpenInputDevice" ref="aeaa7a5809ae2f38894cae169e25f397d" args="(DeviceIntPtr dev, ClientPtr client, int *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpenInputDevice </td>
          <td>(</td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ClientPtr&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Open an input device. This is not required by the XINPUT model that DMX uses. </p>

</div>
</div>
<a class="anchor" id="aa4b20aa4795f3a94339e1748d5a4d1fb"></a><!-- doxytag: member="dmxxinput.c::SetDeviceMode" ref="aa4b20aa4795f3a94339e1748d5a4d1fb" args="(ClientPtr client, DeviceIntPtr dev, int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SetDeviceMode </td>
          <td>(</td>
          <td class="paramtype">ClientPtr&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>mode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set device mode to <em>mode</em>. This is not implemented. </p>

</div>
</div>
<a class="anchor" id="a1175b57fa9f8cba2b233ffb9e81ed066"></a><!-- doxytag: member="dmxxinput.c::SetDeviceValuators" ref="a1175b57fa9f8cba2b233ffb9e81ed066" args="(ClientPtr client, DeviceIntPtr dev, int *valuators, int first_valuator, int num_valuators)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SetDeviceValuators </td>
          <td>(</td>
          <td class="paramtype">ClientPtr&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>valuators</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>first_valuator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>num_valuators</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set device valuators. This is not implemented. </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>