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 Page</span></a></li> 13 <li><a href="annotated.html"><span>Data 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 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('usb-mouse_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">usb-mouse.h File Reference</div> </div> 42</div> 43<div class="contents"> 44 45<p><a href="usb-mouse_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 </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8h.html#afb9d774d978b63fed427dc72d94f632d">mouUSBRead</a> (DevicePtr pDev, <a class="el" href="dmxinputinit_8h.html#a1279820425966adabf5c77357e4a289c">dmxMotionProcPtr</a> motion, <a class="el" href="dmxinputinit_8h.html#adbd955b9ddbc5ffe38ff65e3f068f205">dmxEnqueueProcPtr</a> enqueue, <a class="el" href="dmxinputinit_8h.html#a838cb45fd92d5cf506e4179b601f7dbc">dmxCheckSpecialProcPtr</a> checkspecial, <a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> block)</td></tr> 50<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8h.html#a6c0a19ce4ec02df96f781152a8cc5d36">mouUSBInit</a> (DevicePtr pDev)</td></tr> 51<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8h.html#a422205f883732c44c29093a832254579">mouUSBGetInfo</a> (DevicePtr pDev, <a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> info)</td></tr> 52<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8h.html#a919a8e16f26a0742cda7c9824270501b">mouUSBOn</a> (DevicePtr pDev)</td></tr> 53<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8h.html#a62cd25ae1a19bea910edcbf10c2d8686">mouUSBCtrl</a> (DevicePtr pDev, PtrCtrl *ctrl)</td></tr> 54</table> 55<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 56<div class="textblock"><p>Interface to USB mouse driver. </p> 57<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="usb-mouse_8c.html">usb-mouse.c</a> </dd> 58<dd> 59<a class="el" href="usb-common_8c.html">usb-common.c</a> </dd></dl> 60</div><hr/><h2>Function Documentation</h2> 61<a class="anchor" id="a62cd25ae1a19bea910edcbf10c2d8686"></a><!-- doxytag: member="usb-mouse.h::mouUSBCtrl" ref="a62cd25ae1a19bea910edcbf10c2d8686" args="(DevicePtr pDev, PtrCtrl *ctrl)" --> 62<div class="memitem"> 63<div class="memproto"> 64 <table class="memname"> 65 <tr> 66 <td class="memname">void mouUSBCtrl </td> 67 <td>(</td> 68 <td class="paramtype">DevicePtr </td> 69 <td class="paramname"><em>pDev</em>, </td> 70 </tr> 71 <tr> 72 <td class="paramkey"></td> 73 <td></td> 74 <td class="paramtype">PtrCtrl * </td> 75 <td class="paramname"><em>ctrl</em> </td> 76 </tr> 77 <tr> 78 <td></td> 79 <td>)</td> 80 <td></td><td></td> 81 </tr> 82 </table> 83</div> 84<div class="memdoc"> 85 86</div> 87</div> 88<a class="anchor" id="a422205f883732c44c29093a832254579"></a><!-- doxytag: member="usb-mouse.h::mouUSBGetInfo" ref="a422205f883732c44c29093a832254579" args="(DevicePtr pDev, DMXLocalInitInfoPtr info)" --> 89<div class="memitem"> 90<div class="memproto"> 91 <table class="memname"> 92 <tr> 93 <td class="memname">void mouUSBGetInfo </td> 94 <td>(</td> 95 <td class="paramtype">DevicePtr </td> 96 <td class="paramname"><em>pDev</em>, </td> 97 </tr> 98 <tr> 99 <td class="paramkey"></td> 100 <td></td> 101 <td class="paramtype"><a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> </td> 102 <td class="paramname"><em>info</em> </td> 103 </tr> 104 <tr> 105 <td></td> 106 <td>)</td> 107 <td></td><td></td> 108 </tr> 109 </table> 110</div> 111<div class="memdoc"> 112<p>Fill the <em>info</em> structure with information needed to initialize <em>pDev</em>. </p> 113 114<p>References <a class="el" href="struct__DMXLocalInitInfo.html#a58b2e6764967add7eda1c1f2f0860abc">_DMXLocalInitInfo::buttonClass</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a06626a99542714bbd032e9e12a8c6b55">_DMXLocalInitInfo::keyClass</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a02861e7e9c24381a229567d36e7a68b7">_DMXLocalInitInfo::keySyms</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a43d86cc82219794bba7ba1ee66472a45">_DMXLocalInitInfo::map</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a5de8a5ac80a30840cba0d9f3074289ca">_DMXLocalInitInfo::maxres</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a63477e691c43eca2dbf569fb0feb74be">_DMXLocalInitInfo::maxval</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a139fed62b89a92d80997166c8cfcdebf">_DMXLocalInitInfo::minres</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a0c47ee21909227a1ea5d40ba473e0e25">_DMXLocalInitInfo::minval</a>, <a class="el" href="usb-mouse_8c.html#a006f4bb1b13582dc5d54ba662b84a4d7">mouUSBGetMap()</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a9264f367a1c1e252679299b00f94458c">_DMXLocalInitInfo::numButtons</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a5e192625179bbed020a720e448c789aa">_DMXLocalInitInfo::numRelAxes</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a1c52bc6e1c328ef9e808a111dd050fc2">_DMXLocalInitInfo::ptrFeedbackClass</a>, <a class="el" href="struct__DMXLocalInitInfo.html#abb910012dc1abde90f954354f8ceb2a1">_DMXLocalInitInfo::res</a>, and <a class="el" href="struct__DMXLocalInitInfo.html#a9af277d2da1ade2138488a413e9c5ceb">_DMXLocalInitInfo::valuatorClass</a>.</p> 115 116</div> 117</div> 118<a class="anchor" id="a6c0a19ce4ec02df96f781152a8cc5d36"></a><!-- doxytag: member="usb-mouse.h::mouUSBInit" ref="a6c0a19ce4ec02df96f781152a8cc5d36" args="(DevicePtr pDev)" --> 119<div class="memitem"> 120<div class="memproto"> 121 <table class="memname"> 122 <tr> 123 <td class="memname">void mouUSBInit </td> 124 <td>(</td> 125 <td class="paramtype">DevicePtr </td> 126 <td class="paramname"><em>pDev</em></td><td>)</td> 127 <td></td> 128 </tr> 129 </table> 130</div> 131<div class="memdoc"> 132<p>Initialize <em>pDev</em> using <a class="el" href="usb-common_8h.html#a7f9b3a6d320a9ddbed689f4e12acb443">usbInit</a>. </p> 133 134<p>References <a class="el" href="usb-common_8c.html#a7f9b3a6d320a9ddbed689f4e12acb443">usbInit()</a>, and <a class="el" href="usb-common_8h.html#a5e4410bf95babe73bcecc612691fc2d0a6bd9e53b1b5835e304e54ba13a227de7">usbMouse</a>.</p> 135 136<p>Referenced by <a class="el" href="usb-mouse_8h.html#a919a8e16f26a0742cda7c9824270501b">mouUSBOn()</a>.</p> 137 138</div> 139</div> 140<a class="anchor" id="a919a8e16f26a0742cda7c9824270501b"></a><!-- doxytag: member="usb-mouse.h::mouUSBOn" ref="a919a8e16f26a0742cda7c9824270501b" args="(DevicePtr pDev)" --> 141<div class="memitem"> 142<div class="memproto"> 143 <table class="memname"> 144 <tr> 145 <td class="memname">int mouUSBOn </td> 146 <td>(</td> 147 <td class="paramtype">DevicePtr </td> 148 <td class="paramname"><em>pDev</em></td><td>)</td> 149 <td></td> 150 </tr> 151 </table> 152</div> 153<div class="memdoc"> 154<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p> 155 156<p>References <a class="el" href="usb-mouse_8c.html#aacf069d346230dd96812d5395728eef2">GETPRIV</a>, and <a class="el" href="usb-mouse_8c.html#a6c0a19ce4ec02df96f781152a8cc5d36">mouUSBInit()</a>.</p> 157 158</div> 159</div> 160<a class="anchor" id="afb9d774d978b63fed427dc72d94f632d"></a><!-- doxytag: member="usb-mouse.h::mouUSBRead" ref="afb9d774d978b63fed427dc72d94f632d" args="(DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)" --> 161<div class="memitem"> 162<div class="memproto"> 163 <table class="memname"> 164 <tr> 165 <td class="memname">void mouUSBRead </td> 166 <td>(</td> 167 <td class="paramtype">DevicePtr </td> 168 <td class="paramname"><em>pDev</em>, </td> 169 </tr> 170 <tr> 171 <td class="paramkey"></td> 172 <td></td> 173 <td class="paramtype"><a class="el" href="dmxinputinit_8h.html#a1279820425966adabf5c77357e4a289c">dmxMotionProcPtr</a> </td> 174 <td class="paramname"><em>motion</em>, </td> 175 </tr> 176 <tr> 177 <td class="paramkey"></td> 178 <td></td> 179 <td class="paramtype"><a class="el" href="dmxinputinit_8h.html#adbd955b9ddbc5ffe38ff65e3f068f205">dmxEnqueueProcPtr</a> </td> 180 <td class="paramname"><em>enqueue</em>, </td> 181 </tr> 182 <tr> 183 <td class="paramkey"></td> 184 <td></td> 185 <td class="paramtype"><a class="el" href="dmxinputinit_8h.html#a838cb45fd92d5cf506e4179b601f7dbc">dmxCheckSpecialProcPtr</a> </td> 186 <td class="paramname"><em>checkspecial</em>, </td> 187 </tr> 188 <tr> 189 <td class="paramkey"></td> 190 <td></td> 191 <td class="paramtype"><a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> </td> 192 <td class="paramname"><em>block</em> </td> 193 </tr> 194 <tr> 195 <td></td> 196 <td>)</td> 197 <td></td><td></td> 198 </tr> 199 </table> 200</div> 201<div class="memdoc"> 202 203</div> 204</div> 205</div> 206</div> 207 <div id="nav-path" class="navpath"> 208 <ul> 209 <li class="navelem"><a class="el" href="usb-mouse_8h.html">usb-mouse.h</a> </li> 210 <hr> 211 <address> 212 <small> 213 Generated June 29, 2004 for <a 214 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by 215 <a href="http://www.doxygen.org/index.html">doxygen</a> 216 1.3.4. 217 </small> 218 </addres> 219 </hr> 220 </body> 221</html> 222