mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-10 12:16:03 -05:00
152 lines
14 KiB
HTML
152 lines
14 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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: /home/runner/work/wut/wut/include/nsysccr/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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">wut<span id="projectnumber"> v1.9.1</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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_119ad73d34431a7511add0f199ebb3a8.html">nsysccr</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="nsysccr_2hid_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a id="l00002" 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 id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include <<a class="code" href="ios_8h.html">coreinit/ios.h</a>></span></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="group__nsysccr__hid.html#gac98f771110d9f378af520995a0205d33"> 16</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a> <a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a>;</div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
|
|
<div class="foldopen" id="foldopen00018" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="group__nsysccr__hid.html"> 18</a></span><span class="keyword">struct </span>WUT_PACKED <a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span>{</div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> WUT_UNKNOWN_BYTES(0x80);</div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span>WUT_CHECK_SIZE(<a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a>, 0x80);</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>int32_t</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="group__nsysccr__hid.html#ga98244662ebb0993f61e78c6ca3e527f9"> 40</a></span><a class="code hl_function" href="group__nsysccr__hid.html#ga98244662ebb0993f61e78c6ca3e527f9">CCRHIDStart</a>(uint32_t drcSlot,</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a> *reportsBuffer,</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> uint32_t numReports,</div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_typedef" href="group__coreinit__ios.html#ga9695fdf638a2c5cde49367871416665d">IOSAsyncCallbackFn</a> callback,</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordtype">void</span> *arg);</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span>int32_t</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="group__nsysccr__hid.html#ga738e9f22c562f3b0c54e9caf758152ec"> 56</a></span><a class="code hl_function" href="group__nsysccr__hid.html#ga738e9f22c562f3b0c54e9caf758152ec">CCRHIDStop</a>(uint32_t drcSlot,</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_typedef" href="group__coreinit__ios.html#ga9695fdf638a2c5cde49367871416665d">IOSAsyncCallbackFn</a> callback,</div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keywordtype">void</span> *arg);</div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span>int32_t</div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="group__nsysccr__hid.html#ga94d5fe091e918e9a28cc69490471b05b"> 61</a></span><a class="code hl_function" href="group__nsysccr__hid.html#ga94d5fe091e918e9a28cc69490471b05b">CCRHIDGetData</a>(uint32_t drcSlot,</div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a> *reportData);</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span>int32_t</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="group__nsysccr__hid.html#gaa3a8aa51d597564516f66124cf3d8c4c"> 65</a></span><a class="code hl_function" href="group__nsysccr__hid.html#gaa3a8aa51d597564516f66124cf3d8c4c">CCRHIDGetBufferedData</a>(uint32_t drcSlot,</div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a> *reportData);</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span>int32_t</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="group__nsysccr__hid.html#gae9b592dc7361aace7c03d54f6f2538a8"> 69</a></span><a class="code hl_function" href="group__nsysccr__hid.html#gae9b592dc7361aace7c03d54f6f2538a8">CCRHIDGetFirmwareVersion</a>(<a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a> *report,</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> uint32_t *firmwareVersion);</div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span>int32_t</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="group__nsysccr__hid.html#ga6a8976d3db7cf0f45c85fd403abc1ce3"> 73</a></span><a class="code hl_function" href="group__nsysccr__hid.html#ga6a8976d3db7cf0f45c85fd403abc1ce3">CCRHIDGetSequence</a>(<a class="code hl_struct" href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a> *report,</div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> uint32_t *sequence);</div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span>}</div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
|
|
<div class="ttc" id="agroup__coreinit__ios_html_ga9695fdf638a2c5cde49367871416665d"><div class="ttname"><a href="group__coreinit__ios.html#ga9695fdf638a2c5cde49367871416665d">IOSAsyncCallbackFn</a></div><div class="ttdeci">void(* IOSAsyncCallbackFn)(IOSError, void *)</div><div class="ttdef"><b>Definition</b> <a href="ios_8h_source.html#l00087">ios.h:87</a></div></div>
|
|
<div class="ttc" id="agroup__nsysccr__hid_html_ga6a8976d3db7cf0f45c85fd403abc1ce3"><div class="ttname"><a href="group__nsysccr__hid.html#ga6a8976d3db7cf0f45c85fd403abc1ce3">CCRHIDGetSequence</a></div><div class="ttdeci">int32_t CCRHIDGetSequence(CCRHIDReport *report, uint32_t *sequence)</div></div>
|
|
<div class="ttc" id="agroup__nsysccr__hid_html_ga738e9f22c562f3b0c54e9caf758152ec"><div class="ttname"><a href="group__nsysccr__hid.html#ga738e9f22c562f3b0c54e9caf758152ec">CCRHIDStop</a></div><div class="ttdeci">int32_t CCRHIDStop(uint32_t drcSlot, IOSAsyncCallbackFn callback, void *arg)</div><div class="ttdoc">Stop HID report transmission.</div></div>
|
|
<div class="ttc" id="agroup__nsysccr__hid_html_ga94d5fe091e918e9a28cc69490471b05b"><div class="ttname"><a href="group__nsysccr__hid.html#ga94d5fe091e918e9a28cc69490471b05b">CCRHIDGetData</a></div><div class="ttdeci">int32_t CCRHIDGetData(uint32_t drcSlot, CCRHIDReport *reportData)</div></div>
|
|
<div class="ttc" id="agroup__nsysccr__hid_html_ga98244662ebb0993f61e78c6ca3e527f9"><div class="ttname"><a href="group__nsysccr__hid.html#ga98244662ebb0993f61e78c6ca3e527f9">CCRHIDStart</a></div><div class="ttdeci">int32_t CCRHIDStart(uint32_t drcSlot, CCRHIDReport *reportsBuffer, uint32_t numReports, IOSAsyncCallbackFn callback, void *arg)</div><div class="ttdoc">Start transmission of HID reports from the specified DRC.</div></div>
|
|
<div class="ttc" id="agroup__nsysccr__hid_html_gaa3a8aa51d597564516f66124cf3d8c4c"><div class="ttname"><a href="group__nsysccr__hid.html#gaa3a8aa51d597564516f66124cf3d8c4c">CCRHIDGetBufferedData</a></div><div class="ttdeci">int32_t CCRHIDGetBufferedData(uint32_t drcSlot, CCRHIDReport *reportData)</div></div>
|
|
<div class="ttc" id="agroup__nsysccr__hid_html_gae9b592dc7361aace7c03d54f6f2538a8"><div class="ttname"><a href="group__nsysccr__hid.html#gae9b592dc7361aace7c03d54f6f2538a8">CCRHIDGetFirmwareVersion</a></div><div class="ttdeci">int32_t CCRHIDGetFirmwareVersion(CCRHIDReport *report, uint32_t *firmwareVersion)</div></div>
|
|
<div class="ttc" id="agroup__nsysccr__hid_html_structCCRHIDReport"><div class="ttname"><a href="group__nsysccr__hid.html#structCCRHIDReport">CCRHIDReport</a></div><div class="ttdef"><b>Definition</b> <a href="nsysccr_2hid_8h_source.html#l00018">hid.h:19</a></div></div>
|
|
<div class="ttc" id="aios_8h_html"><div class="ttname"><a href="ios_8h.html">ios.h</a></div></div>
|
|
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|