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-ps2_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-ps2.h File Reference</div> </div> 42</div> 43<div class="contents"> 44 45<p><a href="lnx-ps2_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-ps2_8h.html#ab6e438a481e24f8c6ef7d731b8ee4fb8">ps2LinuxCreatePrivate</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-ps2_8h.html#af67bcdd060164de0c3a0d3e69c8483ac">ps2LinuxDestroyPrivate</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-ps2_8h.html#a0cde2ad6c3aad19be778fc97bb7286a7">ps2LinuxRead</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-ps2_8h.html#aa0f0b690de9e5c3a958909000c7f787d">ps2LinuxInit</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-ps2_8h.html#ab914e24acbae5ce49174e06842ac684b">ps2LinuxGetInfo</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-ps2_8h.html#aaf9aaca79e044d91f072901ad3be1863">ps2LinuxOn</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-ps2_8h.html#af955e539213ec85f5b6d5d7b38dae89e">ps2LinuxOff</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-ps2_8h.html#a2c7781cb76c926b5a9648e05bc3a1b59">ps2LinuxCtrl</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-ps2_8h.html#a3a9ac063b46a191b38d92881367d74d4">ps2LinuxVTPreSwitch</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-ps2_8h.html#a11a5bfc4866f86dfe3ea5acb788c4afe">ps2LinuxVTPostSwitch</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 PS/2 mouse driver. </p> 62<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="lnx-ps2_8c.html">lnx-ps2.c</a> </dd></dl> 63</div><hr/><h2>Function Documentation</h2> 64<a class="anchor" id="ab6e438a481e24f8c6ef7d731b8ee4fb8"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxCreatePrivate" ref="ab6e438a481e24f8c6ef7d731b8ee4fb8" args="(DeviceIntPtr pMouse)" --> 65<div class="memitem"> 66<div class="memproto"> 67 <table class="memname"> 68 <tr> 69 <td class="memname">pointer ps2LinuxCreatePrivate </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="a2c7781cb76c926b5a9648e05bc3a1b59"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxCtrl" ref="a2c7781cb76c926b5a9648e05bc3a1b59" args="(DevicePtr pDev, PtrCtrl *ctrl)" --> 85<div class="memitem"> 86<div class="memproto"> 87 <table class="memname"> 88 <tr> 89 <td class="memname">void ps2LinuxCtrl </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="af67bcdd060164de0c3a0d3e69c8483ac"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxDestroyPrivate" ref="af67bcdd060164de0c3a0d3e69c8483ac" args="(pointer priv)" --> 112<div class="memitem"> 113<div class="memproto"> 114 <table class="memname"> 115 <tr> 116 <td class="memname">void ps2LinuxDestroyPrivate </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="ab914e24acbae5ce49174e06842ac684b"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxGetInfo" ref="ab914e24acbae5ce49174e06842ac684b" args="(DevicePtr pDev, DMXLocalInitInfoPtr info)" --> 130<div class="memitem"> 131<div class="memproto"> 132 <table class="memname"> 133 <tr> 134 <td class="memname">void ps2LinuxGetInfo </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="struct__DMXLocalInitInfo.html#a9264f367a1c1e252679299b00f94458c">_DMXLocalInitInfo::numButtons</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a5e192625179bbed020a720e448c789aa">_DMXLocalInitInfo::numRelAxes</a>, <a class="el" href="lnx-ps2_8c.html#a0f65c382ff39d64cd881a919eb566964">ps2LinuxGetMap()</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="aa0f0b690de9e5c3a958909000c7f787d"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxInit" ref="aa0f0b690de9e5c3a958909000c7f787d" args="(DevicePtr pDev)" --> 160<div class="memitem"> 161<div class="memproto"> 162 <table class="memname"> 163 <tr> 164 <td class="memname">void ps2LinuxInit </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-ps2_8c.html#a11bcea7c6bc7dbe400a3855f5b8676ce">FATAL1</a>, <a class="el" href="lnx-ps2_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-ps2_8h.html#aaf9aaca79e044d91f072901ad3be1863">ps2LinuxOn()</a>.</p> 178 179</div> 180</div> 181<a class="anchor" id="af955e539213ec85f5b6d5d7b38dae89e"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxOff" ref="af955e539213ec85f5b6d5d7b38dae89e" args="(DevicePtr pDev)" --> 182<div class="memitem"> 183<div class="memproto"> 184 <table class="memname"> 185 <tr> 186 <td class="memname">void ps2LinuxOff </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-ps2_8c.html#aacf069d346230dd96812d5395728eef2">GETPRIV</a>.</p> 198 199</div> 200</div> 201<a class="anchor" id="aaf9aaca79e044d91f072901ad3be1863"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxOn" ref="aaf9aaca79e044d91f072901ad3be1863" args="(DevicePtr pDev)" --> 202<div class="memitem"> 203<div class="memproto"> 204 <table class="memname"> 205 <tr> 206 <td class="memname">int ps2LinuxOn </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-ps2_8c.html#aacf069d346230dd96812d5395728eef2">GETPRIV</a>, and <a class="el" href="lnx-ps2_8c.html#aa0f0b690de9e5c3a958909000c7f787d">ps2LinuxInit()</a>.</p> 218 219</div> 220</div> 221<a class="anchor" id="a0cde2ad6c3aad19be778fc97bb7286a7"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxRead" ref="a0cde2ad6c3aad19be778fc97bb7286a7" 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 ps2LinuxRead </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="a11a5bfc4866f86dfe3ea5acb788c4afe"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxVTPostSwitch" ref="a11a5bfc4866f86dfe3ea5acb788c4afe" args="(pointer p)" --> 267<div class="memitem"> 268<div class="memproto"> 269 <table class="memname"> 270 <tr> 271 <td class="memname">void ps2LinuxVTPostSwitch </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="a3a9ac063b46a191b38d92881367d74d4"></a><!-- doxytag: member="lnx-ps2.h::ps2LinuxVTPreSwitch" ref="a3a9ac063b46a191b38d92881367d74d4" args="(pointer p)" --> 285<div class="memitem"> 286<div class="memproto"> 287 <table class="memname"> 288 <tr> 289 <td class="memname">void ps2LinuxVTPreSwitch </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-ps2_8h.html">lnx-ps2.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