mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
267 lines
38 KiB
HTML
267 lines
38 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: /home/ash/Code/wut2/include/nsyshid/hid.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">wut
|
|
 <span id="projectnumber">1.0.0-beta9</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_aa7b4105f8f352642a35fbab8db37b7b.html">nsyshid</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">hid.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="hid_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <<a class="code" href="wut_8h.html">wut.h</a>></span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#ga26f9ce29d0bf4bb782919e78756dfbdf"> 13</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a> <a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a>;</div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#gaa80ad69f23fd454a293cd606a6d9d953"> 14</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a> <a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>;</div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#ga01cfa0df94f3e3870562d1d4f8d35005"> 16</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__nsyshid__hid.html#ga01cfa0df94f3e3870562d1d4f8d35005">HIDAttachEvent</a></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#gga01cfa0df94f3e3870562d1d4f8d35005a1eafdd0a8215fb85f364425fc5115ca2"> 18</a></span>  <a class="code" href="group__nsyshid__hid.html#gga01cfa0df94f3e3870562d1d4f8d35005a1eafdd0a8215fb85f364425fc5115ca2">HID_DEVICE_DETACH</a> = 0,</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#gga01cfa0df94f3e3870562d1d4f8d35005a507069db7a30c1b0e383fce3a51604bf"> 19</a></span>  <a class="code" href="group__nsyshid__hid.html#gga01cfa0df94f3e3870562d1d4f8d35005a507069db7a30c1b0e383fce3a51604bf">HID_DEVICE_ATTACH</a> = 1,</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> } <a class="code" href="group__nsyshid__hid.html#ga01cfa0df94f3e3870562d1d4f8d35005">HIDAttachEvent</a>;</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">typedef</span> int32_t</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#ga2907c52bbbb78a84b675425097ec55cf"> 23</a></span> (*<a class="code" href="group__nsyshid__hid.html#ga2907c52bbbb78a84b675425097ec55cf">HIDAttachCallback</a>)(<a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a> *client,</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a> *device,</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="group__nsyshid__hid.html#ga01cfa0df94f3e3870562d1d4f8d35005">HIDAttachEvent</a> attach);</div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">typedef</span> void</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8"> 28</a></span> (*<a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a>)(uint32_t <a class="code" href="group__nsyshid__hid.html#aa8bec03983fc2371ab6afa98ae6ddd45">handle</a>,</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  int32_t error,</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  uint8_t *buffer,</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  uint32_t bytesTransferred,</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html"> 34</a></span> <span class="keyword">struct </span><a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#aa8bec03983fc2371ab6afa98ae6ddd45"> 36</a></span>  uint32_t <a class="code" href="group__nsyshid__hid.html#aa8bec03983fc2371ab6afa98ae6ddd45">handle</a>;</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#af64b183c62a46421de4759f198e64fd3"> 37</a></span>  uint32_t <a class="code" href="group__nsyshid__hid.html#af64b183c62a46421de4759f198e64fd3">physicalDeviceInst</a>;</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#aac5ffad7f07bfef80deaef77e0eeca69"> 38</a></span>  uint16_t <a class="code" href="group__nsyshid__hid.html#aac5ffad7f07bfef80deaef77e0eeca69">vid</a>;</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#a9089e9c40db82122a499b9620e2cb54e"> 39</a></span>  uint16_t <a class="code" href="group__nsyshid__hid.html#a9089e9c40db82122a499b9620e2cb54e">pid</a>;</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#a5a3fc280d64e7ac506df87207fd8188f"> 40</a></span>  uint8_t <a class="code" href="group__nsyshid__hid.html#a5a3fc280d64e7ac506df87207fd8188f">interfaceIndex</a>;</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#a145e5c192b5b2fc3c55934b5c47f3f2d"> 41</a></span>  uint8_t <a class="code" href="group__nsyshid__hid.html#a145e5c192b5b2fc3c55934b5c47f3f2d">subClass</a>;</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#ad124d3d2e02c729afa303c775295278e"> 42</a></span>  uint8_t <a class="code" href="group__nsyshid__hid.html#ad124d3d2e02c729afa303c775295278e">protocol</a>;</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  WUT_PADDING_BYTES(1);</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#a46d4715e17b4ac5529b7009c91c9d978"> 44</a></span>  uint16_t <a class="code" href="group__nsyshid__hid.html#a46d4715e17b4ac5529b7009c91c9d978">maxPacketSizeRx</a>;</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#a7dbc37969d132e2518795afd7aa5fa09"> 45</a></span>  uint16_t <a class="code" href="group__nsyshid__hid.html#a7dbc37969d132e2518795afd7aa5fa09">maxPacketSizeTx</a>;</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> };</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x00, handle);</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x04, physicalDeviceInst);</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x08, vid);</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x0A, pid);</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x0C, interfaceIndex);</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x0D, subClass);</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x0E, protocol);</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x10, maxPacketSizeRx);</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x12, maxPacketSizeTx);</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> WUT_CHECK_SIZE(<a class="code" href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a>, 0x14);</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html"> 58</a></span> <span class="keyword">struct </span><a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#a4d06264f4e8a3ab8e095f260d5ee1ecd"> 60</a></span>  <a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a> *<a class="code" href="group__nsyshid__hid.html#a4d06264f4e8a3ab8e095f260d5ee1ecd">next</a>;</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__nsyshid__hid.html#a273089b169843b07232ae9fdcc0b5019"> 61</a></span>  <a class="code" href="group__nsyshid__hid.html#ga2907c52bbbb78a84b675425097ec55cf">HIDAttachCallback</a> <a class="code" href="group__nsyshid__hid.html#a273089b169843b07232ae9fdcc0b5019">attachCallback</a>;</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> };</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a>, 0x00, next);</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> WUT_CHECK_OFFSET(<a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a>, 0x04, attachCallback);</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> WUT_CHECK_SIZE(<a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a>, 0x08);</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> int32_t</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <a class="code" href="group__nsyshid__hid.html#gaa81b1b19467d27b76d689490bfe1c65f">HIDSetup</a>();</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> int32_t</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <a class="code" href="group__nsyshid__hid.html#ga514782cac13a1d21579abedfb94b16af">HIDTeardown</a>();</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> int32_t</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <a class="code" href="group__nsyshid__hid.html#ga4bd8a1a2fce63c49cbd79e17d569ae38">HIDAddClient</a>(<a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a> *client,</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="group__nsyshid__hid.html#ga2907c52bbbb78a84b675425097ec55cf">HIDAttachCallback</a> attachCallback);</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> int32_t</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <a class="code" href="group__nsyshid__hid.html#ga87122a013c0c0acfd54059902b514e0c">HIDDelClient</a>(<a class="code" href="group__nsyshid__hid.html#structHIDClient">HIDClient</a> *client);</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> int32_t</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <a class="code" href="group__nsyshid__hid.html#ga12113ad83015db2e70ba5c342a4e2e17">HIDGetDescriptor</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  uint8_t descriptorType,</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  uint8_t descriptorIndex,</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  uint16_t languageId,</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  uint8_t *buffer,</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  uint32_t bufferLength,</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> callback,</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> int32_t</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <a class="code" href="group__nsyshid__hid.html#gafbc73f057275c70cfacd8203bbe026d9">HIDSetDescriptor</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  uint8_t descriptorType,</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  uint8_t descriptorIndex,</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  uint16_t languageId,</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  uint8_t *buffer,</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  uint32_t bufferLength,</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> callback,</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> int32_t</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <a class="code" href="group__nsyshid__hid.html#ga5f524c938237c23b3c8c1b4e21613ba9">HIDGetReport</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  uint8_t reportType,</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  uint8_t reportId,</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  uint8_t *buffer,</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  uint32_t bufferLength,</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> callback,</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> int32_t</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <a class="code" href="group__nsyshid__hid.html#ga3039149a2bb4b95ac00dac07f08224cd">HIDSetReport</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  uint8_t reportType,</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  uint8_t reportId,</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  uint8_t *buffer,</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  uint32_t bufferLength,</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> callback,</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> int32_t</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <a class="code" href="group__nsyshid__hid.html#ga8812a717621f2122e5d8cd5fb87126bd">HIDSetIdle</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  uint8_t interfaceIndex,</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  uint8_t duration,</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> callback,</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> int32_t</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <a class="code" href="group__nsyshid__hid.html#gaffb543d582fe46701c450049962ec6b2">HIDSetProtocol</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  uint8_t interfaceIndex,</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  uint8_t protocol,</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> callback,</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> int32_t</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <a class="code" href="group__nsyshid__hid.html#gae29f4d9f222de91b19f9d2c43c8b27b7">HIDGetProtocol</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  uint8_t interfaceIndex,</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  uint8_t *protocol,</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> callback,</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> int32_t</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <a class="code" href="group__nsyshid__hid.html#gaa274a2eafa9e8dc2658ddc778a992c21">HIDRead</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  uint8_t *buffer,</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  uint32_t bufferLength,</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> callback,</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  </div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> int32_t</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <a class="code" href="group__nsyshid__hid.html#ga7913fc0a9551c55ea2f38534acc1eaa9">HIDWrite</a>(uint32_t handle,</div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  uint8_t *buffer,</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  uint32_t bufferLength,</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a> hc,</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordtype">void</span> *userContext);</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> }</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  </div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga01cfa0df94f3e3870562d1d4f8d35005"><div class="ttname"><a href="group__nsyshid__hid.html#ga01cfa0df94f3e3870562d1d4f8d35005">HIDAttachEvent</a></div><div class="ttdeci">HIDAttachEvent</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00016">hid.h:16</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_a46d4715e17b4ac5529b7009c91c9d978"><div class="ttname"><a href="group__nsyshid__hid.html#a46d4715e17b4ac5529b7009c91c9d978">HIDDevice::maxPacketSizeRx</a></div><div class="ttdeci">uint16_t maxPacketSizeRx</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00044">hid.h:44</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_gaffb543d582fe46701c450049962ec6b2"><div class="ttname"><a href="group__nsyshid__hid.html#gaffb543d582fe46701c450049962ec6b2">HIDSetProtocol</a></div><div class="ttdeci">int32_t HIDSetProtocol(uint32_t handle, uint8_t interfaceIndex, uint8_t protocol, HIDCallback callback, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_a4d06264f4e8a3ab8e095f260d5ee1ecd"><div class="ttname"><a href="group__nsyshid__hid.html#a4d06264f4e8a3ab8e095f260d5ee1ecd">HIDClient::next</a></div><div class="ttdeci">HIDClient * next</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00060">hid.h:60</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga3039149a2bb4b95ac00dac07f08224cd"><div class="ttname"><a href="group__nsyshid__hid.html#ga3039149a2bb4b95ac00dac07f08224cd">HIDSetReport</a></div><div class="ttdeci">int32_t HIDSetReport(uint32_t handle, uint8_t reportType, uint8_t reportId, uint8_t *buffer, uint32_t bufferLength, HIDCallback callback, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_gaa81b1b19467d27b76d689490bfe1c65f"><div class="ttname"><a href="group__nsyshid__hid.html#gaa81b1b19467d27b76d689490bfe1c65f">HIDSetup</a></div><div class="ttdeci">int32_t HIDSetup()</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_gafbc73f057275c70cfacd8203bbe026d9"><div class="ttname"><a href="group__nsyshid__hid.html#gafbc73f057275c70cfacd8203bbe026d9">HIDSetDescriptor</a></div><div class="ttdeci">int32_t HIDSetDescriptor(uint32_t handle, uint8_t descriptorType, uint8_t descriptorIndex, uint16_t languageId, uint8_t *buffer, uint32_t bufferLength, HIDCallback callback, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_a145e5c192b5b2fc3c55934b5c47f3f2d"><div class="ttname"><a href="group__nsyshid__hid.html#a145e5c192b5b2fc3c55934b5c47f3f2d">HIDDevice::subClass</a></div><div class="ttdeci">uint8_t subClass</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00041">hid.h:41</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_gga01cfa0df94f3e3870562d1d4f8d35005a507069db7a30c1b0e383fce3a51604bf"><div class="ttname"><a href="group__nsyshid__hid.html#gga01cfa0df94f3e3870562d1d4f8d35005a507069db7a30c1b0e383fce3a51604bf">HID_DEVICE_ATTACH</a></div><div class="ttdeci">@ HID_DEVICE_ATTACH</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00019">hid.h:19</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_gaa274a2eafa9e8dc2658ddc778a992c21"><div class="ttname"><a href="group__nsyshid__hid.html#gaa274a2eafa9e8dc2658ddc778a992c21">HIDRead</a></div><div class="ttdeci">int32_t HIDRead(uint32_t handle, uint8_t *buffer, uint32_t bufferLength, HIDCallback callback, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_structHIDDevice"><div class="ttname"><a href="group__nsyshid__hid.html#structHIDDevice">HIDDevice</a></div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00034">hid.h:34</a></div></div>
|
|
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga4bd8a1a2fce63c49cbd79e17d569ae38"><div class="ttname"><a href="group__nsyshid__hid.html#ga4bd8a1a2fce63c49cbd79e17d569ae38">HIDAddClient</a></div><div class="ttdeci">int32_t HIDAddClient(HIDClient *client, HIDAttachCallback attachCallback)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_a5a3fc280d64e7ac506df87207fd8188f"><div class="ttname"><a href="group__nsyshid__hid.html#a5a3fc280d64e7ac506df87207fd8188f">HIDDevice::interfaceIndex</a></div><div class="ttdeci">uint8_t interfaceIndex</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00040">hid.h:40</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_gae29f4d9f222de91b19f9d2c43c8b27b7"><div class="ttname"><a href="group__nsyshid__hid.html#gae29f4d9f222de91b19f9d2c43c8b27b7">HIDGetProtocol</a></div><div class="ttdeci">int32_t HIDGetProtocol(uint32_t handle, uint8_t interfaceIndex, uint8_t *protocol, HIDCallback callback, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_structHIDClient"><div class="ttname"><a href="group__nsyshid__hid.html#structHIDClient">HIDClient</a></div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00058">hid.h:58</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_aac5ffad7f07bfef80deaef77e0eeca69"><div class="ttname"><a href="group__nsyshid__hid.html#aac5ffad7f07bfef80deaef77e0eeca69">HIDDevice::vid</a></div><div class="ttdeci">uint16_t vid</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00038">hid.h:38</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_gga01cfa0df94f3e3870562d1d4f8d35005a1eafdd0a8215fb85f364425fc5115ca2"><div class="ttname"><a href="group__nsyshid__hid.html#gga01cfa0df94f3e3870562d1d4f8d35005a1eafdd0a8215fb85f364425fc5115ca2">HID_DEVICE_DETACH</a></div><div class="ttdeci">@ HID_DEVICE_DETACH</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00018">hid.h:18</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_aa8bec03983fc2371ab6afa98ae6ddd45"><div class="ttname"><a href="group__nsyshid__hid.html#aa8bec03983fc2371ab6afa98ae6ddd45">HIDDevice::handle</a></div><div class="ttdeci">uint32_t handle</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00036">hid.h:36</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga8812a717621f2122e5d8cd5fb87126bd"><div class="ttname"><a href="group__nsyshid__hid.html#ga8812a717621f2122e5d8cd5fb87126bd">HIDSetIdle</a></div><div class="ttdeci">int32_t HIDSetIdle(uint32_t handle, uint8_t interfaceIndex, uint8_t duration, HIDCallback callback, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_a9089e9c40db82122a499b9620e2cb54e"><div class="ttname"><a href="group__nsyshid__hid.html#a9089e9c40db82122a499b9620e2cb54e">HIDDevice::pid</a></div><div class="ttdeci">uint16_t pid</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00039">hid.h:39</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_a273089b169843b07232ae9fdcc0b5019"><div class="ttname"><a href="group__nsyshid__hid.html#a273089b169843b07232ae9fdcc0b5019">HIDClient::attachCallback</a></div><div class="ttdeci">HIDAttachCallback attachCallback</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00061">hid.h:61</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga12113ad83015db2e70ba5c342a4e2e17"><div class="ttname"><a href="group__nsyshid__hid.html#ga12113ad83015db2e70ba5c342a4e2e17">HIDGetDescriptor</a></div><div class="ttdeci">int32_t HIDGetDescriptor(uint32_t handle, uint8_t descriptorType, uint8_t descriptorIndex, uint16_t languageId, uint8_t *buffer, uint32_t bufferLength, HIDCallback callback, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga2907c52bbbb78a84b675425097ec55cf"><div class="ttname"><a href="group__nsyshid__hid.html#ga2907c52bbbb78a84b675425097ec55cf">HIDAttachCallback</a></div><div class="ttdeci">int32_t(* HIDAttachCallback)(HIDClient *client, HIDDevice *device, HIDAttachEvent attach)</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00023">hid.h:23</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga7913fc0a9551c55ea2f38534acc1eaa9"><div class="ttname"><a href="group__nsyshid__hid.html#ga7913fc0a9551c55ea2f38534acc1eaa9">HIDWrite</a></div><div class="ttdeci">int32_t HIDWrite(uint32_t handle, uint8_t *buffer, uint32_t bufferLength, HIDCallback hc, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ad124d3d2e02c729afa303c775295278e"><div class="ttname"><a href="group__nsyshid__hid.html#ad124d3d2e02c729afa303c775295278e">HIDDevice::protocol</a></div><div class="ttdeci">uint8_t protocol</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00042">hid.h:42</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga5f524c938237c23b3c8c1b4e21613ba9"><div class="ttname"><a href="group__nsyshid__hid.html#ga5f524c938237c23b3c8c1b4e21613ba9">HIDGetReport</a></div><div class="ttdeci">int32_t HIDGetReport(uint32_t handle, uint8_t reportType, uint8_t reportId, uint8_t *buffer, uint32_t bufferLength, HIDCallback callback, void *userContext)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga514782cac13a1d21579abedfb94b16af"><div class="ttname"><a href="group__nsyshid__hid.html#ga514782cac13a1d21579abedfb94b16af">HIDTeardown</a></div><div class="ttdeci">int32_t HIDTeardown()</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga87122a013c0c0acfd54059902b514e0c"><div class="ttname"><a href="group__nsyshid__hid.html#ga87122a013c0c0acfd54059902b514e0c">HIDDelClient</a></div><div class="ttdeci">int32_t HIDDelClient(HIDClient *client)</div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_af64b183c62a46421de4759f198e64fd3"><div class="ttname"><a href="group__nsyshid__hid.html#af64b183c62a46421de4759f198e64fd3">HIDDevice::physicalDeviceInst</a></div><div class="ttdeci">uint32_t physicalDeviceInst</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00037">hid.h:37</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_ga4f843e0018e8f49785d5c8db103228f8"><div class="ttname"><a href="group__nsyshid__hid.html#ga4f843e0018e8f49785d5c8db103228f8">HIDCallback</a></div><div class="ttdeci">void(* HIDCallback)(uint32_t handle, int32_t error, uint8_t *buffer, uint32_t bytesTransferred, void *userContext)</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00028">hid.h:28</a></div></div>
|
|
<div class="ttc" id="agroup__nsyshid__hid_html_a7dbc37969d132e2518795afd7aa5fa09"><div class="ttname"><a href="group__nsyshid__hid.html#a7dbc37969d132e2518795afd7aa5fa09">HIDDevice::maxPacketSizeTx</a></div><div class="ttdeci">uint16_t maxPacketSizeTx</div><div class="ttdef"><b>Definition:</b> <a href="hid_8h_source.html#l00045">hid.h:45</a></div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|