<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>lomoco: lomoco/logitech/lomoco_logitech.h File Reference</title> <style type="text/css"> .cp-doNotDisplay { display: none; } @media aural, braille, handheld, tty { .cp-doNotDisplay { display: inline; speak: normal; }} .cp-edit { text-align: right; } @media print, embossed { .cp-edit { display: none; }} </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="stylesheet" type="text/css" href="doxygen.css" /> <link rel="stylesheet" media="screen" type="text/css" href="csync.css" /> <link rel="stylesheet" media="print, embossed" type="text/css" href="print.css" /> </head> <body> <ul class="cp-doNotDisplay"> <li><a href="#cp-content" accesskey="2">Skip to content</a></li> <li><a href="#cp-menu" accesskey="5">Skip to link menu</a></li> </ul> <div id="container"> <div id="header"> <div id="header_top"><div><div style="padding: 10px 30px;"> <!-- <img alt ="" src="top-kde.jpg"/> --> csync API Reference </div></div></div> <div id="header_bottom"> <div id="location"> <ul> <li><a href="index.html">csync</a></li> </ul> </div> <div id="menu"> <ul><li><a href="http://www.csync.org/">Sitemap</a></li> <li><a href="http://www.csync.org/">Contact Us</a></li> </ul> </div> </div> </div> <!-- End page header --> <div id="body_wrapper"> <div id="body"> <!-- begin main content --> <div id="right"> <div class="content"> <div id="main"> <div class="clearer"> </div> <!-- <h2><a name="content"></a>lomoco</h2> --> <!-- BC --> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="dir_77ee8add767687b3d3811ff476d1a4f3.html">lomoco</a> » <a class="el" href="dir_ef82bd5b9fec120a1e609ed2ad08cc3d.html">logitech</a> </div> <div class="contents"> <h1>lomoco_logitech.h File Reference</h1><code>#include "<a class="el" href="lomoco_8h_source.html">lomoco.h</a>"</code><br> <p> <div class="dynheader"> Include dependency graph for lomoco_logitech.h:</div> <div class="dynsection"> <p><center><img src="lomoco__logitech_8h__incl.png" border="0" usemap="#lomoco/logitech/lomoco_logitech.h_map" alt=""></center> <map name="lomoco/logitech/lomoco_logitech.h_map"> <area shape="rect" id="node3" href="lomoco_8h.html" title="lomoco.h" alt="" coords="131,80,232,107"></map> </div> <p> <a href="lomoco__logitech_8h_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structlogitech__device__s.html">logitech_device_s</a></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lomoco__logitech_8h.html#631eb716f0991472e98b465bf4adaf4d">LOGITECH_CORDED_MOUSE</a> LOGITECH_CORDED_MOUSE</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lomoco__logitech_8h.html#c9ffd50e746281c6ab4711f6ae9205f4">LOGITECH_CORDLESS_MOUSE</a> LOGITECH_CORDLESS_MOUSE</td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <a class="el" href="structlogitech__device__s.html">logitech_device_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="lomoco__logitech_8h.html#19fe5bde8202feb33ba77083b4771e34">logitech_device_t</a></td></tr> <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom">{ <a class="el" href="lomoco__logitech_8h.html#06fc87d81c62e9abb8790b6e5713c55b6fd4c8188c3a2095a588e18f1e77469c">LOGITECH_CORDED_MOUSE</a>, <a class="el" href="lomoco__logitech_8h.html#06fc87d81c62e9abb8790b6e5713c55b6fd4c8188c3a2095a588e18f1e77469c">LOGITECH_CORDED_MOUSE</a> }</td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlomoco__device__s.html">lomoco_device_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="lomoco__logitech_8h.html#84109c1843f914c7c830271f4a4eaf33">lomoco_get_logitech_hid_device</a> (<a class="el" href="structlomoco__base__s.html">lomoco_base_t</a> *base, int pid)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlomoco__device__s.html">lomoco_device_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="lomoco__logitech_8h.html#5b0ff95de97513d3adedce2eb4a65956">lomoco_get_logitech_usb_device</a> (<a class="el" href="structlomoco__base__s.html">lomoco_base_t</a> *base, int pid)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="631eb716f0991472e98b465bf4adaf4d"></a><!-- doxytag: member="lomoco_logitech.h::LOGITECH_CORDED_MOUSE" ref="631eb716f0991472e98b465bf4adaf4d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define LOGITECH_CORDED_MOUSE LOGITECH_CORDED_MOUSE </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="lomoco__logitech_8h_source.html#l00030">30</a> of file <a class="el" href="lomoco__logitech_8h_source.html">lomoco_logitech.h</a>.</p> </div> </div><p> <a class="anchor" name="c9ffd50e746281c6ab4711f6ae9205f4"></a><!-- doxytag: member="lomoco_logitech.h::LOGITECH_CORDLESS_MOUSE" ref="c9ffd50e746281c6ab4711f6ae9205f4" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define LOGITECH_CORDLESS_MOUSE LOGITECH_CORDLESS_MOUSE </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="lomoco__logitech_8h_source.html#l00032">32</a> of file <a class="el" href="lomoco__logitech_8h_source.html">lomoco_logitech.h</a>.</p> </div> </div><p> <hr><h2>Typedef Documentation</h2> <a class="anchor" name="19fe5bde8202feb33ba77083b4771e34"></a><!-- doxytag: member="lomoco_logitech.h::logitech_device_t" ref="19fe5bde8202feb33ba77083b4771e34" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structlogitech__device__s.html">logitech_device_t</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Creates a type name for <a class="el" href="structlogitech__device__s.html">logitech_device_s</a>. <p> </div> </div><p> <hr><h2>Enumeration Type Documentation</h2> <a class="anchor" name="06fc87d81c62e9abb8790b6e5713c55b"></a><!-- doxytag: member="lomoco_logitech.h::@0" ref="06fc87d81c62e9abb8790b6e5713c55b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">anonymous enum </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Enumerator: </b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" name="06fc87d81c62e9abb8790b6e5713c55b6fd4c8188c3a2095a588e18f1e77469c"></a><!-- doxytag: member="LOGITECH_CORDED_MOUSE" ref="06fc87d81c62e9abb8790b6e5713c55b6fd4c8188c3a2095a588e18f1e77469c" args="" -->LOGITECH_CORDED_MOUSE</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="06fc87d81c62e9abb8790b6e5713c55b6fd4c8188c3a2095a588e18f1e77469c"></a><!-- doxytag: member="LOGITECH_CORDED_MOUSE" ref="06fc87d81c62e9abb8790b6e5713c55b6fd4c8188c3a2095a588e18f1e77469c" args="" -->LOGITECH_CORDED_MOUSE</em> </td><td> </td></tr> </table> </dl> <p>Definition at line <a class="el" href="lomoco__logitech_8h_source.html#l00028">28</a> of file <a class="el" href="lomoco__logitech_8h_source.html">lomoco_logitech.h</a>.</p> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="84109c1843f914c7c830271f4a4eaf33"></a><!-- doxytag: member="lomoco_logitech.h::lomoco_get_logitech_hid_device" ref="84109c1843f914c7c830271f4a4eaf33" args="(lomoco_base_t *base, int pid)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structlomoco__device__s.html">lomoco_device_t</a>* lomoco_get_logitech_hid_device </td> <td>(</td> <td class="paramtype"><a class="el" href="structlomoco__base__s.html">lomoco_base_t</a> * </td> <td class="paramname"> <em>base</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>pid</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Check if the the attached Logitech hid device is supported. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>base</em> </td><td>The initialized base structure. </td></tr> <tr><td valign="top"></td><td valign="top"><em>pid</em> </td><td>The product id of the attached device we are looking for.</td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The supported device. </dd></dl> </div> </div><p> <a class="anchor" name="5b0ff95de97513d3adedce2eb4a65956"></a><!-- doxytag: member="lomoco_logitech.h::lomoco_get_logitech_usb_device" ref="5b0ff95de97513d3adedce2eb4a65956" args="(lomoco_base_t *base, int pid)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structlomoco__device__s.html">lomoco_device_t</a>* lomoco_get_logitech_usb_device </td> <td>(</td> <td class="paramtype"><a class="el" href="structlomoco__base__s.html">lomoco_base_t</a> * </td> <td class="paramname"> <em>base</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>pid</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Check if the the attached Logitech device is supported. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>base</em> </td><td>The initialized base structure. </td></tr> <tr><td valign="top"></td><td valign="top"><em>pid</em> </td><td>The product id of the attached device we are looking for.</td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The supported device. </dd></dl> </div> </div><p> </div> </div> </div> </div> <div id="left"> <div class="menu_box"> <a name="cp-menu" /><div class="menutitle"><div> <h2 id="cp-menu-project">lomoco</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "lomoco"</a> </div></div> <!-- menu --> <div class="menu_box"> <a name="cp-menu" /><div class="menutitle"><div> <h2 id="cp-menu-project">API Documentation</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "@topname@"</a> </div></div> <div class="nav_list"> <ul> <!-- gmenu --> </ul></div></div> </div> </div> <div class="clearer"></div> </div> <div class="clearer"></div> </div> <div id="end_body"></div> <div id="footer"><div id="footer_text"> Generated with <a href="http://www.stack.nl/~dimitri/doxygen/" target="_blank">Doxygen</a> </div></div> </div> </body> </html>