diff options
Diffstat (limited to 'xorg-server/hw/dmx/doc/html/usb-mouse_8c.html')
-rw-r--r-- | xorg-server/hw/dmx/doc/html/usb-mouse_8c.html | 460 |
1 files changed, 0 insertions, 460 deletions
diff --git a/xorg-server/hw/dmx/doc/html/usb-mouse_8c.html b/xorg-server/hw/dmx/doc/html/usb-mouse_8c.html deleted file mode 100644 index 956624145..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-mouse_8c.html +++ /dev/null @@ -1,460 +0,0 @@ -<!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 Page</span></a></li> - <li><a href="annotated.html"><span>Data 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 List</span></a></li> - <li><a href="globals.html"><span>Globals</span></a></li> - </ul> - </div> -</div> -<div class="contents"> -<h1>usb-mouse.c File Reference</h1><code>#include "<a class="el" href="usb-private_8h_source.html">usb-private.h</a>"</code><br/> -<code>#include "<a class="el" href="usb-mouse_8h_source.html">usb-mouse.h</a>"</code><br/> -<table border="0" cellpadding="0" cellspacing="0"> -<tr><td colspan="2"><h2>Defines</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#aacf069d346230dd96812d5395728eef2">GETPRIV</a></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a837722a322e811d5e42242655f277b87">LOG0</a>(f) dmxLog(dmxDebug,f)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#aab4b3434c36117a2ecdddec40716d97a">LOG1</a>(f, a) dmxLog(dmxDebug,f,a)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a16da5d597d9bfb9e569a9bfb6996382c">LOG2</a>(f, a, b) dmxLog(dmxDebug,f,a,b)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a8247f0bca25789d2ac27674eb26e223f">LOG3</a>(f, a, b, c) dmxLog(dmxDebug,f,a,b,c)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a6bce6020b913db8afe5d94bc63d1b355">FATAL0</a>(f) dmxLog(dmxFatal,f)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a11bcea7c6bc7dbe400a3855f5b8676ce">FATAL1</a>(f, a) dmxLog(dmxFatal,f,a)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a7952c9e9fe9c75be4964fc53a4299183">FATAL2</a>(f, a, b) dmxLog(dmxFatal,f,a,b)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a11a17082bee3b1b8217ce8a12adcf814">MOTIONPROC</a> <a class="el" href="dmxinputinit_8h.html#a1279820425966adabf5c77357e4a289c">dmxMotionProcPtr</a></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a017080ce5e42667a6582cf858e7185cd">ENQUEUEPROC</a> <a class="el" href="dmxinputinit_8h.html#adbd955b9ddbc5ffe38ff65e3f068f205">dmxEnqueueProcPtr</a></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#aa35a985e998ad5e2187e13434dca118a">CHECKPROC</a> <a class="el" href="dmxinputinit_8h.html#a838cb45fd92d5cf506e4179b601f7dbc">dmxCheckSpecialProcPtr</a></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a52220397ecea855b3a99746e451426e1">BLOCK</a> <a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a></td></tr> -<tr><td colspan="2"><h2>Functions</h2></td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#ae823cb66bf7678148ffadf3202034921">mouUSBRead</a> (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a6c0a19ce4ec02df96f781152a8cc5d36">mouUSBInit</a> (DevicePtr pDev)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a919a8e16f26a0742cda7c9824270501b">mouUSBOn</a> (DevicePtr pDev)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a006f4bb1b13582dc5d54ba662b84a4d7">mouUSBGetMap</a> (DevicePtr pDev, unsigned char *<a class="el" href="usb-keyboard_8c.html#a2187a19657fb0b38c67dbafc7dd74c4d">map</a>, int *nButtons)</td></tr> -<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="usb-mouse_8c.html#a422205f883732c44c29093a832254579">mouUSBGetInfo</a> (DevicePtr pDev, <a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> info)</td></tr> -</table> -<hr/><a name="_details"></a><h2>Detailed Description</h2> -<p>This code implements a low-level device driver for a USB mouse. </p> -<hr/><h2>Define Documentation</h2> -<a class="anchor" id="a52220397ecea855b3a99746e451426e1"></a><!-- doxytag: member="usb-mouse.c::BLOCK" ref="a52220397ecea855b3a99746e451426e1" args="" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define BLOCK <a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a></td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="aa35a985e998ad5e2187e13434dca118a"></a><!-- doxytag: member="usb-mouse.c::CHECKPROC" ref="aa35a985e998ad5e2187e13434dca118a" args="" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define CHECKPROC <a class="el" href="dmxinputinit_8h.html#a838cb45fd92d5cf506e4179b601f7dbc">dmxCheckSpecialProcPtr</a></td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="a017080ce5e42667a6582cf858e7185cd"></a><!-- doxytag: member="usb-mouse.c::ENQUEUEPROC" ref="a017080ce5e42667a6582cf858e7185cd" args="" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define ENQUEUEPROC <a class="el" href="dmxinputinit_8h.html#adbd955b9ddbc5ffe38ff65e3f068f205">dmxEnqueueProcPtr</a></td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="a6bce6020b913db8afe5d94bc63d1b355"></a><!-- doxytag: member="usb-mouse.c::FATAL0" ref="a6bce6020b913db8afe5d94bc63d1b355" args="(f)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define FATAL0</td> - <td>(</td> - <td class="paramtype">f </td> - <td class="paramname"></td> - <td> ) </td> - <td> dmxLog(dmxFatal,f)</td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="a11bcea7c6bc7dbe400a3855f5b8676ce"></a><!-- doxytag: member="usb-mouse.c::FATAL1" ref="a11bcea7c6bc7dbe400a3855f5b8676ce" args="(f, a)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define FATAL1</td> - <td>(</td> - <td class="paramtype">f, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">a </td> - <td class="paramname"></td> - <td> ) </td> - <td> dmxLog(dmxFatal,f,a)</td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="a7952c9e9fe9c75be4964fc53a4299183"></a><!-- doxytag: member="usb-mouse.c::FATAL2" ref="a7952c9e9fe9c75be4964fc53a4299183" args="(f, a, b)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define FATAL2</td> - <td>(</td> - <td class="paramtype">f, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">a, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">b </td> - <td class="paramname"></td> - <td> ) </td> - <td> dmxLog(dmxFatal,f,a,b)</td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="aacf069d346230dd96812d5395728eef2"></a><!-- doxytag: member="usb-mouse.c::GETPRIV" ref="aacf069d346230dd96812d5395728eef2" args="" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define GETPRIV</td> - </tr> - </table> -</div> -<div class="memdoc"> -<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="struct__myPrivate.html">myPrivate</a> *priv \ - = ((<a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a>)(pDev->devicePrivate))->private -</pre></div> -</div> -</div> -<a class="anchor" id="a837722a322e811d5e42242655f277b87"></a><!-- doxytag: member="usb-mouse.c::LOG0" ref="a837722a322e811d5e42242655f277b87" args="(f)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define LOG0</td> - <td>(</td> - <td class="paramtype">f </td> - <td class="paramname"></td> - <td> ) </td> - <td> dmxLog(dmxDebug,f)</td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="aab4b3434c36117a2ecdddec40716d97a"></a><!-- doxytag: member="usb-mouse.c::LOG1" ref="aab4b3434c36117a2ecdddec40716d97a" args="(f, a)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define LOG1</td> - <td>(</td> - <td class="paramtype">f, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">a </td> - <td class="paramname"></td> - <td> ) </td> - <td> dmxLog(dmxDebug,f,a)</td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="a16da5d597d9bfb9e569a9bfb6996382c"></a><!-- doxytag: member="usb-mouse.c::LOG2" ref="a16da5d597d9bfb9e569a9bfb6996382c" args="(f, a, b)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define LOG2</td> - <td>(</td> - <td class="paramtype">f, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">a, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">b </td> - <td class="paramname"></td> - <td> ) </td> - <td> dmxLog(dmxDebug,f,a,b)</td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="a8247f0bca25789d2ac27674eb26e223f"></a><!-- doxytag: member="usb-mouse.c::LOG3" ref="a8247f0bca25789d2ac27674eb26e223f" args="(f, a, b, c)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define LOG3</td> - <td>(</td> - <td class="paramtype">f, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">a, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">b, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">c </td> - <td class="paramname"></td> - <td> ) </td> - <td> dmxLog(dmxDebug,f,a,b,c)</td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<a class="anchor" id="a11a17082bee3b1b8217ce8a12adcf814"></a><!-- doxytag: member="usb-mouse.c::MOTIONPROC" ref="a11a17082bee3b1b8217ce8a12adcf814" args="" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">#define MOTIONPROC <a class="el" href="dmxinputinit_8h.html#a1279820425966adabf5c77357e4a289c">dmxMotionProcPtr</a></td> - </tr> - </table> -</div> -<div class="memdoc"> - -</div> -</div> -<hr/><h2>Function Documentation</h2> -<a class="anchor" id="a422205f883732c44c29093a832254579"></a><!-- doxytag: member="usb-mouse.c::mouUSBGetInfo" ref="a422205f883732c44c29093a832254579" args="(DevicePtr pDev, DMXLocalInitInfoPtr info)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void mouUSBGetInfo </td> - <td>(</td> - <td class="paramtype">DevicePtr </td> - <td class="paramname"> <em>pDev</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype"><a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> </td> - <td class="paramname"> <em>info</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> -<p>Fill the <em>info</em> structure with information needed to initialize <em>pDev</em>. </p> - -<p>References <a class="el" href="dmxinputinit_8h_source.html#l00095">_DMXLocalInitInfo::buttonClass</a>, <a class="el" href="dmxinputinit_8h_source.html#l00086">_DMXLocalInitInfo::keyClass</a>, <a class="el" href="dmxinputinit_8h_source.html#l00087">_DMXLocalInitInfo::keySyms</a>, <a class="el" href="dmxinputinit_8h_source.html#l00097">_DMXLocalInitInfo::map</a>, <a class="el" href="dmxinputinit_8h_source.html#l00107">_DMXLocalInitInfo::maxres</a>, <a class="el" href="dmxinputinit_8h_source.html#l00104">_DMXLocalInitInfo::maxval</a>, <a class="el" href="dmxinputinit_8h_source.html#l00106">_DMXLocalInitInfo::minres</a>, <a class="el" href="dmxinputinit_8h_source.html#l00103">_DMXLocalInitInfo::minval</a>, <a class="el" href="usb-mouse_8c_source.html#l00093">mouUSBGetMap()</a>, <a class="el" href="dmxinputinit_8h_source.html#l00096">_DMXLocalInitInfo::numButtons</a>, <a class="el" href="dmxinputinit_8h_source.html#l00101">_DMXLocalInitInfo::numRelAxes</a>, <a class="el" href="dmxinputinit_8h_source.html#l00115">_DMXLocalInitInfo::ptrFeedbackClass</a>, <a class="el" href="dmxinputinit_8h_source.html#l00105">_DMXLocalInitInfo::res</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00099">_DMXLocalInitInfo::valuatorClass</a>.</p> - -</div> -</div> -<a class="anchor" id="a006f4bb1b13582dc5d54ba662b84a4d7"></a><!-- doxytag: member="usb-mouse.c::mouUSBGetMap" ref="a006f4bb1b13582dc5d54ba662b84a4d7" args="(DevicePtr pDev, unsigned char *map, int *nButtons)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">static void mouUSBGetMap </td> - <td>(</td> - <td class="paramtype">DevicePtr </td> - <td class="paramname"> <em>pDev</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">unsigned char * </td> - <td class="paramname"> <em>map</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int * </td> - <td class="paramname"> <em>nButtons</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td><code> [static]</code></td> - </tr> - </table> -</div> -<div class="memdoc"> - -<p>Referenced by <a class="el" href="usb-mouse_8c_source.html#l00103">mouUSBGetInfo()</a>.</p> - -</div> -</div> -<a class="anchor" id="a6c0a19ce4ec02df96f781152a8cc5d36"></a><!-- doxytag: member="usb-mouse.c::mouUSBInit" ref="a6c0a19ce4ec02df96f781152a8cc5d36" args="(DevicePtr pDev)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void mouUSBInit </td> - <td>(</td> - <td class="paramtype">DevicePtr </td> - <td class="paramname"> <em>pDev</em></td> - <td> ) </td> - <td></td> - </tr> - </table> -</div> -<div class="memdoc"> -<p>Initialize <em>pDev</em> using <a class="el" href="usb-common_8h.html#a7f9b3a6d320a9ddbed689f4e12acb443">usbInit</a>. </p> - -<p>References <a class="el" href="usb-common_8c_source.html#l00272">usbInit()</a>, and <a class="el" href="usb-common_8h_source.html#l00041">usbMouse</a>.</p> - -<p>Referenced by <a class="el" href="usb-mouse_8c_source.html#l00085">mouUSBOn()</a>.</p> - -</div> -</div> -<a class="anchor" id="a919a8e16f26a0742cda7c9824270501b"></a><!-- doxytag: member="usb-mouse.c::mouUSBOn" ref="a919a8e16f26a0742cda7c9824270501b" args="(DevicePtr pDev)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">int mouUSBOn </td> - <td>(</td> - <td class="paramtype">DevicePtr </td> - <td class="paramname"> <em>pDev</em></td> - <td> ) </td> - <td></td> - </tr> - </table> -</div> -<div class="memdoc"> -<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p> - -<p>References <a class="el" href="lnx-keyboard_8c_source.html#l00136">GETPRIV</a>, and <a class="el" href="usb-mouse_8c_source.html#l00079">mouUSBInit()</a>.</p> - -</div> -</div> -<a class="anchor" id="ae823cb66bf7678148ffadf3202034921"></a><!-- doxytag: member="usb-mouse.c::mouUSBRead" ref="ae823cb66bf7678148ffadf3202034921" args="(DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)" --> -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">void mouUSBRead </td> - <td>(</td> - <td class="paramtype">DevicePtr </td> - <td class="paramname"> <em>pDev</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">MOTIONPROC </td> - <td class="paramname"> <em>motion</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">ENQUEUEPROC </td> - <td class="paramname"> <em>enqueue</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">CHECKPROC </td> - <td class="paramname"> <em>checkspecial</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">BLOCK </td> - <td class="paramname"> <em>block</em></td><td> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td><td></td> - </tr> - </table> -</div> -<div class="memdoc"> -<p>Read the USB device using <a class="el" href="usb-common_8h.html#aea8c9cef438c8851ef7f47d7167152cb">usbRead</a>. </p> - -<p>References <a class="el" href="usb-common_8c_source.html#l00087">usbRead()</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> |