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('lnx-ms_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">lnx-ms.h File Reference</div> </div> 42</div> 43<div class="contents"> 44 45<p><a href="lnx-ms_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">pointer </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#a7d7777681993bc701468245e42c04282">msLinuxCreatePrivate</a> (DeviceIntPtr pMouse)</td></tr> 50<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#a570d96862061388c5649972b2fa22d75">msLinuxDestroyPrivate</a> (pointer priv)</td></tr> 51<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#a9212626ca3092129b094b014e92e0630">msLinuxRead</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> 52<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#a0afb23673c5b1bc695c09f3f3bd75a4b">msLinuxInit</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="lnx-ms_8h.html#ad650b3779315db603085a045405c9d9a">msLinuxGetInfo</a> (DevicePtr pDev, <a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> info)</td></tr> 54<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#ad8f116275f80b5143bc6fe8806cf1298">msLinuxOn</a> (DevicePtr pDev)</td></tr> 55<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#a834a356a0e28d90699a8178154588e09">msLinuxOff</a> (DevicePtr pDev)</td></tr> 56<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#a760648b944ddf26eafb81cf9b54dd976">msLinuxCtrl</a> (DevicePtr pDev, PtrCtrl *ctrl)</td></tr> 57<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#a1ce83df54082f3196ac29e36dea47fc5">msLinuxVTPreSwitch</a> (pointer p)</td></tr> 58<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lnx-ms_8h.html#af83993c8cc498cbd9f91737beefb5ea3">msLinuxVTPostSwitch</a> (pointer p)</td></tr> 59</table> 60<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 61<div class="textblock"><p>Interface to Linux MS mouse driver. </p> 62<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="lnx-ms_8c.html">lnx-ms.c</a> </dd></dl> 63</div><hr/><h2>Function Documentation</h2> 64<a class="anchor" id="a7d7777681993bc701468245e42c04282"></a><!-- doxytag: member="lnx-ms.h::msLinuxCreatePrivate" ref="a7d7777681993bc701468245e42c04282" args="(DeviceIntPtr pMouse)" --> 65<div class="memitem"> 66<div class="memproto"> 67 <table class="memname"> 68 <tr> 69 <td class="memname">pointer msLinuxCreatePrivate </td> 70 <td>(</td> 71 <td class="paramtype">DeviceIntPtr </td> 72 <td class="paramname"><em>pMouse</em></td><td>)</td> 73 <td></td> 74 </tr> 75 </table> 76</div> 77<div class="memdoc"> 78<p>Create a private structure for use within this file. </p> 79 80<p>References <a class="el" href="struct__myPrivate.html#a6b26eb0acc0b932c8dee8277501e6273">_myPrivate::fd</a>, and <a class="el" href="struct__myPrivate.html#a3e46e1ccb546bbadfa5ebb165a8b11d4">_myPrivate::pMouse</a>.</p> 81 82</div> 83</div> 84<a class="anchor" id="a760648b944ddf26eafb81cf9b54dd976"></a><!-- doxytag: member="lnx-ms.h::msLinuxCtrl" ref="a760648b944ddf26eafb81cf9b54dd976" args="(DevicePtr pDev, PtrCtrl *ctrl)" --> 85<div class="memitem"> 86<div class="memproto"> 87 <table class="memname"> 88 <tr> 89 <td class="memname">void msLinuxCtrl </td> 90 <td>(</td> 91 <td class="paramtype">DevicePtr </td> 92 <td class="paramname"><em>pDev</em>, </td> 93 </tr> 94 <tr> 95 <td class="paramkey"></td> 96 <td></td> 97 <td class="paramtype">PtrCtrl * </td> 98 <td class="paramname"><em>ctrl</em> </td> 99 </tr> 100 <tr> 101 <td></td> 102 <td>)</td> 103 <td></td><td></td> 104 </tr> 105 </table> 106</div> 107<div class="memdoc"> 108 109</div> 110</div> 111<a class="anchor" id="a570d96862061388c5649972b2fa22d75"></a><!-- doxytag: member="lnx-ms.h::msLinuxDestroyPrivate" ref="a570d96862061388c5649972b2fa22d75" args="(pointer priv)" --> 112<div class="memitem"> 113<div class="memproto"> 114 <table class="memname"> 115 <tr> 116 <td class="memname">void msLinuxDestroyPrivate </td> 117 <td>(</td> 118 <td class="paramtype">pointer </td> 119 <td class="paramname"><em>priv</em></td><td>)</td> 120 <td></td> 121 </tr> 122 </table> 123</div> 124<div class="memdoc"> 125<p>Destroy a private structure. </p> 126 127</div> 128</div> 129<a class="anchor" id="ad650b3779315db603085a045405c9d9a"></a><!-- doxytag: member="lnx-ms.h::msLinuxGetInfo" ref="ad650b3779315db603085a045405c9d9a" args="(DevicePtr pDev, DMXLocalInitInfoPtr info)" --> 130<div class="memitem"> 131<div class="memproto"> 132 <table class="memname"> 133 <tr> 134 <td class="memname">void msLinuxGetInfo </td> 135 <td>(</td> 136 <td class="paramtype">DevicePtr </td> 137 <td class="paramname"><em>pDev</em>, </td> 138 </tr> 139 <tr> 140 <td class="paramkey"></td> 141 <td></td> 142 <td class="paramtype"><a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> </td> 143 <td class="paramname"><em>info</em> </td> 144 </tr> 145 <tr> 146 <td></td> 147 <td>)</td> 148 <td></td><td></td> 149 </tr> 150 </table> 151</div> 152<div class="memdoc"> 153<p>Fill the <em>info</em> structure with information needed to initialize <em>pDev</em>. </p> 154 155<p>References <a class="el" href="struct__DMXLocalInitInfo.html#a58b2e6764967add7eda1c1f2f0860abc">_DMXLocalInitInfo::buttonClass</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="lnx-ms_8c.html#a04f66d21af929f125fa7d524883700d5">msLinuxGetMap()</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> 156 157</div> 158</div> 159<a class="anchor" id="a0afb23673c5b1bc695c09f3f3bd75a4b"></a><!-- doxytag: member="lnx-ms.h::msLinuxInit" ref="a0afb23673c5b1bc695c09f3f3bd75a4b" args="(DevicePtr pDev)" --> 160<div class="memitem"> 161<div class="memproto"> 162 <table class="memname"> 163 <tr> 164 <td class="memname">void msLinuxInit </td> 165 <td>(</td> 166 <td class="paramtype">DevicePtr </td> 167 <td class="paramname"><em>pDev</em></td><td>)</td> 168 <td></td> 169 </tr> 170 </table> 171</div> 172<div class="memdoc"> 173<p>Initialize <em>pDev</em>. </p> 174 175<p>References <a class="el" href="lnx-ms_8c.html#a11bcea7c6bc7dbe400a3855f5b8676ce">FATAL1</a>, <a class="el" href="lnx-ms_8c.html#aacf069d346230dd96812d5395728eef2">GETPRIV</a>, and <a class="el" href="dmxsigio_8c.html#a39d33ce33804efd4d52606d59071c6d8">O_NONBLOCK</a>.</p> 176 177<p>Referenced by <a class="el" href="lnx-ms_8h.html#ad8f116275f80b5143bc6fe8806cf1298">msLinuxOn()</a>.</p> 178 179</div> 180</div> 181<a class="anchor" id="a834a356a0e28d90699a8178154588e09"></a><!-- doxytag: member="lnx-ms.h::msLinuxOff" ref="a834a356a0e28d90699a8178154588e09" args="(DevicePtr pDev)" --> 182<div class="memitem"> 183<div class="memproto"> 184 <table class="memname"> 185 <tr> 186 <td class="memname">void msLinuxOff </td> 187 <td>(</td> 188 <td class="paramtype">DevicePtr </td> 189 <td class="paramname"><em>pDev</em></td><td>)</td> 190 <td></td> 191 </tr> 192 </table> 193</div> 194<div class="memdoc"> 195<p>Turn <em>pDev</em> off (i.e., stop taking input from <em>pDev</em>). </p> 196 197<p>References <a class="el" href="lnx-ms_8c.html#aacf069d346230dd96812d5395728eef2">GETPRIV</a>.</p> 198 199</div> 200</div> 201<a class="anchor" id="ad8f116275f80b5143bc6fe8806cf1298"></a><!-- doxytag: member="lnx-ms.h::msLinuxOn" ref="ad8f116275f80b5143bc6fe8806cf1298" args="(DevicePtr pDev)" --> 202<div class="memitem"> 203<div class="memproto"> 204 <table class="memname"> 205 <tr> 206 <td class="memname">int msLinuxOn </td> 207 <td>(</td> 208 <td class="paramtype">DevicePtr </td> 209 <td class="paramname"><em>pDev</em></td><td>)</td> 210 <td></td> 211 </tr> 212 </table> 213</div> 214<div class="memdoc"> 215<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p> 216 217<p>References <a class="el" href="lnx-ms_8c.html#a11bcea7c6bc7dbe400a3855f5b8676ce">FATAL1</a>, <a class="el" href="lnx-ms_8c.html#aacf069d346230dd96812d5395728eef2">GETPRIV</a>, and <a class="el" href="lnx-ms_8c.html#a0afb23673c5b1bc695c09f3f3bd75a4b">msLinuxInit()</a>.</p> 218 219</div> 220</div> 221<a class="anchor" id="a9212626ca3092129b094b014e92e0630"></a><!-- doxytag: member="lnx-ms.h::msLinuxRead" ref="a9212626ca3092129b094b014e92e0630" args="(DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)" --> 222<div class="memitem"> 223<div class="memproto"> 224 <table class="memname"> 225 <tr> 226 <td class="memname">void msLinuxRead </td> 227 <td>(</td> 228 <td class="paramtype">DevicePtr </td> 229 <td class="paramname"><em>pDev</em>, </td> 230 </tr> 231 <tr> 232 <td class="paramkey"></td> 233 <td></td> 234 <td class="paramtype"><a class="el" href="dmxinputinit_8h.html#a1279820425966adabf5c77357e4a289c">dmxMotionProcPtr</a> </td> 235 <td class="paramname"><em>motion</em>, </td> 236 </tr> 237 <tr> 238 <td class="paramkey"></td> 239 <td></td> 240 <td class="paramtype"><a class="el" href="dmxinputinit_8h.html#adbd955b9ddbc5ffe38ff65e3f068f205">dmxEnqueueProcPtr</a> </td> 241 <td class="paramname"><em>enqueue</em>, </td> 242 </tr> 243 <tr> 244 <td class="paramkey"></td> 245 <td></td> 246 <td class="paramtype"><a class="el" href="dmxinputinit_8h.html#a838cb45fd92d5cf506e4179b601f7dbc">dmxCheckSpecialProcPtr</a> </td> 247 <td class="paramname"><em>checkspecial</em>, </td> 248 </tr> 249 <tr> 250 <td class="paramkey"></td> 251 <td></td> 252 <td class="paramtype"><a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> </td> 253 <td class="paramname"><em>block</em> </td> 254 </tr> 255 <tr> 256 <td></td> 257 <td>)</td> 258 <td></td><td></td> 259 </tr> 260 </table> 261</div> 262<div class="memdoc"> 263 264</div> 265</div> 266<a class="anchor" id="af83993c8cc498cbd9f91737beefb5ea3"></a><!-- doxytag: member="lnx-ms.h::msLinuxVTPostSwitch" ref="af83993c8cc498cbd9f91737beefb5ea3" args="(pointer p)" --> 267<div class="memitem"> 268<div class="memproto"> 269 <table class="memname"> 270 <tr> 271 <td class="memname">void msLinuxVTPostSwitch </td> 272 <td>(</td> 273 <td class="paramtype">pointer </td> 274 <td class="paramname"><em>p</em></td><td>)</td> 275 <td></td> 276 </tr> 277 </table> 278</div> 279<div class="memdoc"> 280<p>Currently unused hook called after returning from a VT switch. </p> 281 282</div> 283</div> 284<a class="anchor" id="a1ce83df54082f3196ac29e36dea47fc5"></a><!-- doxytag: member="lnx-ms.h::msLinuxVTPreSwitch" ref="a1ce83df54082f3196ac29e36dea47fc5" args="(pointer p)" --> 285<div class="memitem"> 286<div class="memproto"> 287 <table class="memname"> 288 <tr> 289 <td class="memname">void msLinuxVTPreSwitch </td> 290 <td>(</td> 291 <td class="paramtype">pointer </td> 292 <td class="paramname"><em>p</em></td><td>)</td> 293 <td></td> 294 </tr> 295 </table> 296</div> 297<div class="memdoc"> 298<p>Currently unused hook called prior to an VT switch. </p> 299 300</div> 301</div> 302</div> 303</div> 304 <div id="nav-path" class="navpath"> 305 <ul> 306 <li class="navelem"><a class="el" href="lnx-ms_8h.html">lnx-ms.h</a> </li> 307 <hr> 308 <address> 309 <small> 310 Generated June 29, 2004 for <a 311 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by 312 <a href="http://www.doxygen.org/index.html">doxygen</a> 313 1.3.4. 314 </small> 315 </addres> 316 </hr> 317 </body> 318</html> 319