mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
2030 lines
104 KiB
HTML
2030 lines
104 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>USB Host Shield 2.0: WII Class Reference</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" />
|
|
<link href="imageStyle.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">USB Host Shield 2.0
|
|
</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><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="class_w_i_i-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">WII Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="_wii_8h_source.html">Wii.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for WII:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_w_i_i__inherit__graph.png" border="0" usemap="#_w_i_i_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="_w_i_i_inherit__map" id="_w_i_i_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="51,80,93,107"/>
|
|
<area shape="rect" href="class_bluetooth_service.html" title=" " alt="" coords="5,5,139,32"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for WII:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_w_i_i__coll__graph.png" border="0" usemap="#_w_i_i_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="_w_i_i_coll__map" id="_w_i_i_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="253,336,295,363"/>
|
|
<area shape="rect" href="class_bluetooth_service.html" title=" " alt="" coords="207,260,341,287"/>
|
|
<area shape="rect" href="class_b_t_d.html" title=" " alt="" coords="249,171,299,197"/>
|
|
<area shape="rect" href="class_u_s_b_device_config.html" title=" " alt="" coords="5,81,140,108"/>
|
|
<area shape="rect" href="class_usb_config_xtracter.html" title=" " alt="" coords="164,81,304,108"/>
|
|
<area shape="rect" href="class_u_s_b.html" title=" " alt="" coords="328,81,377,108"/>
|
|
<area shape="rect" href="class_m_a_x3421e.html" title=" " alt="" coords="307,5,399,32"/>
|
|
<area shape="rect" href="struct_ep_info.html" title=" " alt="" coords="401,81,464,108"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a6597cb0e240a8ccb4ebdb236daef712e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII</a> (<a class="el" href="class_b_t_d.html">BTD</a> *p, bool <a class="el" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">pair</a>=false)</td></tr>
|
|
<tr class="separator:a6597cb0e240a8ccb4ebdb236daef712e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Wii Controller functions</div></td></tr>
|
|
<tr class="memitem:a7b183fe1809c1c595438e930b8f3f4de"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a7b183fe1809c1c595438e930b8f3f4de">getButtonPress</a> (<a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> b)</td></tr>
|
|
<tr class="separator:a7b183fe1809c1c595438e930b8f3f4de"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac94e8b9ce6d3f914f0e3ee4fba82efa3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ac94e8b9ce6d3f914f0e3ee4fba82efa3">getButtonClick</a> (<a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> b)</td></tr>
|
|
<tr class="separator:ac94e8b9ce6d3f914f0e3ee4fba82efa3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a39c3101b26cc549d5258018b3d05c608"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">pair</a> (void)</td></tr>
|
|
<tr class="separator:a39c3101b26cc549d5258018b3d05c608"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8e34abf62a9631ca3efba0150ca91b93"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a8e34abf62a9631ca3efba0150ca91b93">getAnalogHat</a> (<a class="el" href="_wii_8h.html#ad79e49e27b025d6ac9d695c4816f84d4">HatEnum</a> a)</td></tr>
|
|
<tr class="separator:a8e34abf62a9631ca3efba0150ca91b93"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9f88f608bd002270797dd3bc25900f1e"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a9f88f608bd002270797dd3bc25900f1e">getAnalogHat</a> (<a class="el" href="controller_enums_8h.html#a34dad8f0a0927471137c403216597093">AnalogHatEnum</a> a)</td></tr>
|
|
<tr class="separator:a9f88f608bd002270797dd3bc25900f1e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2df9544486403b369836a10bf8af6dfa"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a2df9544486403b369836a10bf8af6dfa">getPitch</a> ()</td></tr>
|
|
<tr class="separator:a2df9544486403b369836a10bf8af6dfa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9463c27f6e683634571928a29f13824f"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a9463c27f6e683634571928a29f13824f">getRoll</a> ()</td></tr>
|
|
<tr class="separator:a9463c27f6e683634571928a29f13824f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad8c2d7acc64b32272de0ec9c1675e1fa"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ad8c2d7acc64b32272de0ec9c1675e1fa">getYaw</a> ()</td></tr>
|
|
<tr class="separator:ad8c2d7acc64b32272de0ec9c1675e1fa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6e97bfcfb134b63d7190ba1bc326e1d3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a> ()</td></tr>
|
|
<tr class="separator:a6e97bfcfb134b63d7190ba1bc326e1d3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2c5c32841b020b248f757cb793acb936"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a> ()</td></tr>
|
|
<tr class="separator:a2c5c32841b020b248f757cb793acb936"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0d9c869bd3677c4488a586c38558a137"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a> ()</td></tr>
|
|
<tr class="separator:a0d9c869bd3677c4488a586c38558a137"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a841396b533cccccb05db37d35f6fef9c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a> ()</td></tr>
|
|
<tr class="separator:a841396b533cccccb05db37d35f6fef9c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae7e07f929fba8f0ff061a1405baa2b58"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a> (uint8_t value)</td></tr>
|
|
<tr class="separator:ae7e07f929fba8f0ff061a1405baa2b58"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae3eb7942181a9c9e681e18bd5c8eaef4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae3eb7942181a9c9e681e18bd5c8eaef4">setLedOff</a> ()</td></tr>
|
|
<tr class="separator:ae3eb7942181a9c9e681e18bd5c8eaef4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a60e552c026ac99f2c74b9c3eb9c3a7c9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a60e552c026ac99f2c74b9c3eb9c3a7c9">setLedOff</a> (<a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> a)</td></tr>
|
|
<tr class="separator:a60e552c026ac99f2c74b9c3eb9c3a7c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a38507c76e5d7375a7971bc3a17b87338"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a38507c76e5d7375a7971bc3a17b87338">setLedOn</a> (<a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> a)</td></tr>
|
|
<tr class="separator:a38507c76e5d7375a7971bc3a17b87338"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8e81eb7d2d78680df0dee1869695ff05"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a8e81eb7d2d78680df0dee1869695ff05">setLedToggle</a> (<a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> a)</td></tr>
|
|
<tr class="separator:a8e81eb7d2d78680df0dee1869695ff05"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5d3b4a33ebc2ca9ebb154e10a05dbdd4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a> ()</td></tr>
|
|
<tr class="separator:a5d3b4a33ebc2ca9ebb154e10a05dbdd4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae946f7d6e9ce89fb083f5f138c0736c2"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a> ()</td></tr>
|
|
<tr class="separator:ae946f7d6e9ce89fb083f5f138c0736c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8e9ac1d379db5c07c478401046a1c0ac"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">getWiiState</a> ()</td></tr>
|
|
<tr class="separator:a8e9ac1d379db5c07c478401046a1c0ac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:a7646584a691279fbdb688e7f35f6a5b3"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a7646584a691279fbdb688e7f35f6a5b3">getWiimotePitch</a> ()</td></tr>
|
|
<tr class="separator:a7646584a691279fbdb688e7f35f6a5b3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2e1236eaee605bd5a6fa581c501cf406"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a2e1236eaee605bd5a6fa581c501cf406">getWiimoteRoll</a> ()</td></tr>
|
|
<tr class="separator:a2e1236eaee605bd5a6fa581c501cf406"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:ad0a061fd6715690914c922911106b813"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ad0a061fd6715690914c922911106b813">getNunchuckPitch</a> ()</td></tr>
|
|
<tr class="separator:ad0a061fd6715690914c922911106b813"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac2f0e9f96d0a4b0dd7044b7f3ffc24bd"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ac2f0e9f96d0a4b0dd7044b7f3ffc24bd">getNunchuckRoll</a> ()</td></tr>
|
|
<tr class="separator:ac2f0e9f96d0a4b0dd7044b7f3ffc24bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Wii Balance Board functions</div></td></tr>
|
|
<tr class="memitem:ac1fef8ad0f7d5c36fa61ee91422629f9"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ac1fef8ad0f7d5c36fa61ee91422629f9">getWeight</a> (<a class="el" href="_wii_8h.html#a1f2e8277faa24c51a9c99f3fbac8d80b">BalanceBoardEnum</a> pos)</td></tr>
|
|
<tr class="separator:ac1fef8ad0f7d5c36fa61ee91422629f9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a966e34bb434984de59706384c8efc1f1"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a966e34bb434984de59706384c8efc1f1">getTotalWeight</a> ()</td></tr>
|
|
<tr class="separator:a966e34bb434984de59706384c8efc1f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5f554cc77f108336981f7774761b9279"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a5f554cc77f108336981f7774761b9279">getWeightRaw</a> (<a class="el" href="_wii_8h.html#a1f2e8277faa24c51a9c99f3fbac8d80b">BalanceBoardEnum</a> pos)</td></tr>
|
|
<tr class="separator:a5f554cc77f108336981f7774761b9279"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Wiimote IR camera functions</div></td></tr>
|
|
<tr><td colspan="2"><div class="groupText"><p>You will have to set <a class="el" href="settings_8h.html#a251a8e974ddd0680dbcefaa3a4ae9ae8">ENABLE_WII_IR_CAMERA</a> in <a class="el" href="settings_8h.html">settings.h</a> to 1 in order use the IR camera. </p>
|
|
</div></td></tr>
|
|
<tr class="memitem:a3505abbc01c71d134ce301dfb7c0c5b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">IRinitialize</a> ()</td></tr>
|
|
<tr class="separator:a3505abbc01c71d134ce301dfb7c0c5b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af380eb3bf65ce33a60aaf35f74a44f6d"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">getIRx1</a> ()</td></tr>
|
|
<tr class="separator:af380eb3bf65ce33a60aaf35f74a44f6d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a341b9a50bfdb18af9c66a3079e5804d9"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">getIRy1</a> ()</td></tr>
|
|
<tr class="separator:a341b9a50bfdb18af9c66a3079e5804d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2d8fd822e6e9c271d59c71dc7b757421"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">getIRs1</a> ()</td></tr>
|
|
<tr class="separator:a2d8fd822e6e9c271d59c71dc7b757421"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a551e48a50c7b60722e807e68ae25f084"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">getIRx2</a> ()</td></tr>
|
|
<tr class="separator:a551e48a50c7b60722e807e68ae25f084"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae148de3c99b3fb4ef65ea62d2848df7d"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">getIRy2</a> ()</td></tr>
|
|
<tr class="separator:ae148de3c99b3fb4ef65ea62d2848df7d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:accf6ca623ffe93b3c78aaf60c7fd1f46"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">getIRs2</a> ()</td></tr>
|
|
<tr class="separator:accf6ca623ffe93b3c78aaf60c7fd1f46"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5648a03968d0c2331867f9b7bcaa3e3e"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">getIRx3</a> ()</td></tr>
|
|
<tr class="separator:a5648a03968d0c2331867f9b7bcaa3e3e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5e778f879c6d0a73a94bd61e42d05b8d"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">getIRy3</a> ()</td></tr>
|
|
<tr class="separator:a5e778f879c6d0a73a94bd61e42d05b8d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a05841e1975803d561f80aeb3dd0a4a1e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">getIRs3</a> ()</td></tr>
|
|
<tr class="separator:a05841e1975803d561f80aeb3dd0a4a1e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">getIRx4</a> ()</td></tr>
|
|
<tr class="separator:a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a759837b933f63ce7c3235639be29250a"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a">getIRy4</a> ()</td></tr>
|
|
<tr class="separator:a759837b933f63ce7c3235639be29250a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aef56b9f37422b0a41642b39d10db0735"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">getIRs4</a> ()</td></tr>
|
|
<tr class="separator:aef56b9f37422b0a41642b39d10db0735"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0a444d7e348026e062751cf723877e8f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">isIRCameraEnabled</a> ()</td></tr>
|
|
<tr class="separator:a0a444d7e348026e062751cf723877e8f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_bluetooth_service"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_bluetooth_service')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_bluetooth_service.html">BluetoothService</a></td></tr>
|
|
<tr class="memitem:a410c7df1e49328de23a89921c89f9573 inherit pub_methods_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a410c7df1e49328de23a89921c89f9573">BluetoothService</a> (<a class="el" href="class_b_t_d.html">BTD</a> *p)</td></tr>
|
|
<tr class="separator:a410c7df1e49328de23a89921c89f9573 inherit pub_methods_class_bluetooth_service"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a488e219cf0a90d39e643615b1f12e91f inherit pub_methods_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a488e219cf0a90d39e643615b1f12e91f">attachOnInit</a> (void(*funcOnInit)(void))</td></tr>
|
|
<tr class="separator:a488e219cf0a90d39e643615b1f12e91f inherit pub_methods_class_bluetooth_service"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:ab4da8502042b18c71fbef321ed213d25"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ab4da8502042b18c71fbef321ed213d25">gyroPitch</a></td></tr>
|
|
<tr class="separator:ab4da8502042b18c71fbef321ed213d25"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd16def2e2100b0ccb590d57a50fa742"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#acd16def2e2100b0ccb590d57a50fa742">gyroRoll</a></td></tr>
|
|
<tr class="separator:acd16def2e2100b0ccb590d57a50fa742"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac3df2ac430112b4a6803d20105e88e67"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ac3df2ac430112b4a6803d20105e88e67">gyroYaw</a></td></tr>
|
|
<tr class="separator:ac3df2ac430112b4a6803d20105e88e67"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:ae25a8ea1b0713801e0209e795b4596fa"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a></td></tr>
|
|
<tr class="separator:ae25a8ea1b0713801e0209e795b4596fa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7cb4cec343c65fd350e6b05043d7f1a8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a></td></tr>
|
|
<tr class="separator:a7cb4cec343c65fd350e6b05043d7f1a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a72bd4fad2e524276712a154b8cc2a16c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a></td></tr>
|
|
<tr class="separator:a72bd4fad2e524276712a154b8cc2a16c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a461f5b7a5f2bc874e107fc776c284b16"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a></td></tr>
|
|
<tr class="separator:a461f5b7a5f2bc874e107fc776c284b16"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1a1bdeef9ca069a1d14887182a2664a4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a1a1bdeef9ca069a1d14887182a2664a4">wiiBalanceBoardConnected</a></td></tr>
|
|
<tr class="separator:a1a1bdeef9ca069a1d14887182a2664a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:afaafee11ac191ba43b6a2b989cdd137c"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#afaafee11ac191ba43b6a2b989cdd137c">accXwiimote</a></td></tr>
|
|
<tr class="separator:afaafee11ac191ba43b6a2b989cdd137c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa2c14275d9e482e6add06cb34ccf1197"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">accYwiimote</a></td></tr>
|
|
<tr class="separator:aa2c14275d9e482e6add06cb34ccf1197"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acdebdaab544ffcecf8ab09adacbd28c8"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">accZwiimote</a></td></tr>
|
|
<tr class="separator:acdebdaab544ffcecf8ab09adacbd28c8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3a13b5931284d5bcd6647f681cda95b4"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">accXnunchuck</a></td></tr>
|
|
<tr class="separator:a3a13b5931284d5bcd6647f681cda95b4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae657585a560e9d214e6c0219f8b47aeb"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">accYnunchuck</a></td></tr>
|
|
<tr class="separator:ae657585a560e9d214e6c0219f8b47aeb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a42af5743d2e3c2dbc01ea0b5531cc7c6"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">accZnunchuck</a></td></tr>
|
|
<tr class="separator:a42af5743d2e3c2dbc01ea0b5531cc7c6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:aa47478ccdfe009dabb7c21232e07bfd5"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#aa47478ccdfe009dabb7c21232e07bfd5">pitchGyroSpeed</a></td></tr>
|
|
<tr class="separator:aa47478ccdfe009dabb7c21232e07bfd5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7ddd67a8797d582e324cffe2847a4288"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a7ddd67a8797d582e324cffe2847a4288">rollGyroSpeed</a></td></tr>
|
|
<tr class="separator:a7ddd67a8797d582e324cffe2847a4288"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4c373f956eddf2dd3a66d4a000459b85"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a4c373f956eddf2dd3a66d4a000459b85">yawGyroSpeed</a></td></tr>
|
|
<tr class="separator:a4c373f956eddf2dd3a66d4a000459b85"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:aea6ce6f3222df3e547e9957673c7a07a"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a></td></tr>
|
|
<tr class="separator:aea6ce6f3222df3e547e9957673c7a07a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6c0971ae4c9ab752888a5871020c8331"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">rollGyroScale</a></td></tr>
|
|
<tr class="separator:a6c0971ae4c9ab752888a5871020c8331"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0694969a30092b9b1dcb26120c7cff73"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a></td></tr>
|
|
<tr class="separator:a0694969a30092b9b1dcb26120c7cff73"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:ab813b65548e827f41a5192fcc34056ea"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">gyroYawRaw</a></td></tr>
|
|
<tr class="separator:ab813b65548e827f41a5192fcc34056ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0784c779ebeae2d459996c35a54ee3b8"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">gyroRollRaw</a></td></tr>
|
|
<tr class="separator:a0784c779ebeae2d459996c35a54ee3b8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a749ea9dd39ba9a5320c5b24ce93bc544"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a></td></tr>
|
|
<tr class="separator:a749ea9dd39ba9a5320c5b24ce93bc544"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
|
|
<tr class="memitem:ad4f0d2456c56414f9b8013b85a1ee7d2"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">gyroYawZero</a></td></tr>
|
|
<tr class="separator:ad4f0d2456c56414f9b8013b85a1ee7d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a10d91cd5d73bc655be776b44d27004c9"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">gyroRollZero</a></td></tr>
|
|
<tr class="separator:a10d91cd5d73bc655be776b44d27004c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abbc31ecd4495d70258cfa095e34cb3c3"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a></td></tr>
|
|
<tr class="separator:abbc31ecd4495d70258cfa095e34cb3c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
|
|
BluetoothService implementation</h2></td></tr>
|
|
<tr class="memitem:aabe4780f258dada1c0564a4ac7607370"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">disconnect</a> ()</td></tr>
|
|
<tr class="separator:aabe4780f258dada1c0564a4ac7607370"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a81e1eb4d9ef9999a84e71d764d54dff7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a> (uint8_t *ACLData)</td></tr>
|
|
<tr class="separator:a81e1eb4d9ef9999a84e71d764d54dff7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac5cd06f3e9aa2a0d9b9691f00c047e72"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">Run</a> ()</td></tr>
|
|
<tr class="separator:ac5cd06f3e9aa2a0d9b9691f00c047e72"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a769ee2f9a0088da097438bc3cc677f7c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">Reset</a> ()</td></tr>
|
|
<tr class="separator:a769ee2f9a0088da097438bc3cc677f7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab9449f87825417defb9b985d7181bbd6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ab9449f87825417defb9b985d7181bbd6">onInit</a> ()</td></tr>
|
|
<tr class="separator:ab9449f87825417defb9b985d7181bbd6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
Additional Inherited Members</h2></td></tr>
|
|
<tr class="inherit_header pro_methods_class_bluetooth_service"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_bluetooth_service')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="class_bluetooth_service.html">BluetoothService</a></td></tr>
|
|
<tr class="memitem:a2a3674a4bb5d409840995eabe07049bd inherit pro_methods_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a2a3674a4bb5d409840995eabe07049bd">checkHciHandle</a> (uint8_t *buf, uint16_t handle)</td></tr>
|
|
<tr class="separator:a2a3674a4bb5d409840995eabe07049bd inherit pro_methods_class_bluetooth_service"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_attribs_class_bluetooth_service"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_bluetooth_service')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="class_bluetooth_service.html">BluetoothService</a></td></tr>
|
|
<tr class="memitem:a321393d44ce59213fa1c7498c247d5ff inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a321393d44ce59213fa1c7498c247d5ff">pFuncOnInit</a> )(void)</td></tr>
|
|
<tr class="separator:a321393d44ce59213fa1c7498c247d5ff inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa67faf901f78a55a202945a20f6d778a inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_b_t_d.html">BTD</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#aa67faf901f78a55a202945a20f6d778a">pBtd</a></td></tr>
|
|
<tr class="separator:aa67faf901f78a55a202945a20f6d778a inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a67b1db67c05d0bbdcd9c992135455437 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a67b1db67c05d0bbdcd9c992135455437">hci_handle</a></td></tr>
|
|
<tr class="separator:a67b1db67c05d0bbdcd9c992135455437 inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a78a1a893ec9c2db32e42bc2271c4a4f2 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a78a1a893ec9c2db32e42bc2271c4a4f2">l2cap_event_flag</a></td></tr>
|
|
<tr class="separator:a78a1a893ec9c2db32e42bc2271c4a4f2 inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad643db609c7e2e3fae8904dbc7991262 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#ad643db609c7e2e3fae8904dbc7991262">identifier</a></td></tr>
|
|
<tr class="separator:ad643db609c7e2e3fae8904dbc7991262 inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>This <a class="el" href="class_bluetooth_service.html">BluetoothService</a> class implements support for the Wiimote including the Nunchuck and Motion Plus extension.</p>
|
|
<p>It also support the Wii U Pro Controller. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00056">56</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a6597cb0e240a8ccb4ebdb236daef712e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6597cb0e240a8ccb4ebdb236daef712e">◆ </a></span>WII()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">WII::WII </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_b_t_d.html">BTD</a> * </td>
|
|
<td class="paramname"><em>p</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>pair</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Constructor for the <a class="el" href="class_w_i_i.html">WII</a> class. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">p</td><td>Pointer to <a class="el" href="class_b_t_d.html">BTD</a> class instance. </td></tr>
|
|
<tr><td class="paramname">pair</td><td>Set this to true in order to pair with the Wiimote. If the argument is omitted then it won't pair with it. One can use <a class="el" href="_b_t_d_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a> to set it to true. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00085">85</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="aabe4780f258dada1c0564a4ac7607370"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aabe4780f258dada1c0564a4ac7607370">◆ </a></span>disconnect()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::disconnect </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used this to disconnect any of the controllers. </p>
|
|
|
|
<p>Implements <a class="el" href="class_bluetooth_service.html#a7bb2c8cccf3f2931629ead9becc51ec9">BluetoothService</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00116">116</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7b183fe1809c1c595438e930b8f3f4de"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7b183fe1809c1c595438e930b8f3f4de">◆ </a></span>getButtonPress()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WII::getButtonPress </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> </td>
|
|
<td class="paramname"><em>b</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>getButtonPress(Button b) will return true as long as the button is held down.</p>
|
|
<p>While getButtonClick(Button b) will only return it once.</p>
|
|
<p>So you instance if you need to increase a variable once you would use getButtonClick(Button b), but if you need to drive a robot forward you would use getButtonPress(Button b). </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">b</td><td><a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> to read. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_w_i_i.html#a7b183fe1809c1c595438e930b8f3f4de">getButtonPress(ButtonEnum b)</a> will return a true as long as a button is held down, while <a class="el" href="class_w_i_i.html#ac94e8b9ce6d3f914f0e3ee4fba82efa3">getButtonClick(ButtonEnum b)</a> will return true once for each button press. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l01109">1109</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac94e8b9ce6d3f914f0e3ee4fba82efa3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac94e8b9ce6d3f914f0e3ee4fba82efa3">◆ </a></span>getButtonClick()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WII::getButtonClick </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> </td>
|
|
<td class="paramname"><em>b</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>getButtonPress(Button b) will return true as long as the button is held down.</p>
|
|
<p>While getButtonClick(Button b) will only return it once.</p>
|
|
<p>So you instance if you need to increase a variable once you would use getButtonClick(Button b), but if you need to drive a robot forward you would use getButtonPress(Button b). </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">b</td><td><a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> to read. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_w_i_i.html#a7b183fe1809c1c595438e930b8f3f4de">getButtonPress(ButtonEnum b)</a> will return a true as long as a button is held down, while <a class="el" href="class_w_i_i.html#ac94e8b9ce6d3f914f0e3ee4fba82efa3">getButtonClick(ButtonEnum b)</a> will return true once for each button press. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l01120">1120</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a39c3101b26cc549d5258018b3d05c608"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a39c3101b26cc549d5258018b3d05c608">◆ </a></span>pair()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::pair </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Call this to start the pairing sequence with a controller </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00089">89</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8e34abf62a9631ca3efba0150ca91b93"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8e34abf62a9631ca3efba0150ca91b93">◆ </a></span>getAnalogHat() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t WII::getAnalogHat </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="_wii_8h.html#ad79e49e27b025d6ac9d695c4816f84d4">HatEnum</a> </td>
|
|
<td class="paramname"><em>a</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to read the joystick of the Nunchuck. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">a</td><td>Either <a class="el" href="_wii_8h.html#ad79e49e27b025d6ac9d695c4816f84d4aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> or <a class="el" href="_wii_8h.html#ad79e49e27b025d6ac9d695c4816f84d4ae2ac743b5ba1752933e09f1dac48d97b">HatY</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Return the analog value in the range from approximately 25-230. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l01135">1135</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9f88f608bd002270797dd3bc25900f1e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9f88f608bd002270797dd3bc25900f1e">◆ </a></span>getAnalogHat() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getAnalogHat </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="controller_enums_8h.html#a34dad8f0a0927471137c403216597093">AnalogHatEnum</a> </td>
|
|
<td class="paramname"><em>a</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to read the joystick of the Wii U Pro Controller. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">a</td><td>Either <a class="el" href="controller_enums_8h.html#a34dad8f0a0927471137c403216597093a383cb8895dd296b7f69ce845ed16b0ca">LeftHatX</a>, <a class="el" href="controller_enums_8h.html#a34dad8f0a0927471137c403216597093af3f3925efa9762c4e9e71ac7da7a94a3">LeftHatY</a>, <a class="el" href="controller_enums_8h.html#a34dad8f0a0927471137c403216597093aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a> or <a class="el" href="controller_enums_8h.html#a34dad8f0a0927471137c403216597093a7f1fb2db5381286691f4dec179ed5d5a">RightHatY</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Return the analog value in the range from approximately 800-3200. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l01147">1147</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2df9544486403b369836a10bf8af6dfa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2df9544486403b369836a10bf8af6dfa">◆ </a></span>getPitch()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getPitch </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Pitch calculated from the Wiimote. A complimentary filter is used if the Motion Plus is connected. </p><dl class="section return"><dt>Returns</dt><dd>Pitch in the range from 0-360. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00110">110</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9463c27f6e683634571928a29f13824f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9463c27f6e683634571928a29f13824f">◆ </a></span>getRoll()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getRoll </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Roll calculated from the Wiimote. A complimentary filter is used if the Motion Plus is connected. </p><dl class="section return"><dt>Returns</dt><dd>Roll in the range from 0-360. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00120">120</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad8c2d7acc64b32272de0ec9c1675e1fa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad8c2d7acc64b32272de0ec9c1675e1fa">◆ </a></span>getYaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getYaw </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>This is the yaw calculated by the gyro.</p>
|
|
<p><b>NOTE:</b> This angle will drift a lot and is only available if the Motion Plus extension is connected. </p><dl class="section return"><dt>Returns</dt><dd>The angle calculated using the gyro. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00132">132</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6e97bfcfb134b63d7190ba1bc326e1d3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6e97bfcfb134b63d7190ba1bc326e1d3">◆ </a></span>setAllOff()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setAllOff </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to set all LEDs and rumble off. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00903">903</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2c5c32841b020b248f757cb793acb936"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2c5c32841b020b248f757cb793acb936">◆ </a></span>setRumbleOff()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setRumbleOff </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Turn off rumble. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00909">909</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0d9c869bd3677c4488a586c38558a137"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0d9c869bd3677c4488a586c38558a137">◆ </a></span>setRumbleOn()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setRumbleOn </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Turn on rumble. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00915">915</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a841396b533cccccb05db37d35f6fef9c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a841396b533cccccb05db37d35f6fef9c">◆ </a></span>setRumbleToggle()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setRumbleToggle </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Toggle rumble. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00921">921</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae7e07f929fba8f0ff061a1405baa2b58"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae7e07f929fba8f0ff061a1405baa2b58">◆ </a></span>setLedRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setLedRaw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>value</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set LED value without using the <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a>. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">value</td><td>See: <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00927">927</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae3eb7942181a9c9e681e18bd5c8eaef4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae3eb7942181a9c9e681e18bd5c8eaef4">◆ </a></span>setLedOff() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setLedOff </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Turn all LEDs off. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00152">152</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a60e552c026ac99f2c74b9c3eb9c3a7c9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a60e552c026ac99f2c74b9c3eb9c3a7c9">◆ </a></span>setLedOff() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setLedOff </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> </td>
|
|
<td class="paramname"><em>a</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Turn the specific <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> off. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">a</td><td>The <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> to turn off. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00933">933</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a38507c76e5d7375a7971bc3a17b87338"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a38507c76e5d7375a7971bc3a17b87338">◆ </a></span>setLedOn()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setLedOn </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> </td>
|
|
<td class="paramname"><em>a</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Turn the specific <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> on. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">a</td><td>The <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> to turn on. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00939">939</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8e81eb7d2d78680df0dee1869695ff05"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8e81eb7d2d78680df0dee1869695ff05">◆ </a></span>setLedToggle()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setLedToggle </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> </td>
|
|
<td class="paramname"><em>a</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Toggle the specific <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a>. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">a</td><td>The <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> to toggle. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00949">949</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5d3b4a33ebc2ca9ebb154e10a05dbdd4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">◆ </a></span>setLedStatus()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::setLedStatus </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>This will set the LEDs, so the user can see which connections are active.</p>
|
|
<p>The first <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> indicate that the Wiimote is connected, the second <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> indicate indicate that a Motion Plus is also connected the third <a class="el" href="controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0">LEDEnum</a> will indicate that a Nunchuck controller is also connected. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00955">955</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae946f7d6e9ce89fb083f5f138c0736c2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae946f7d6e9ce89fb083f5f138c0736c2">◆ </a></span>getBatteryLevel()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t WII::getBatteryLevel </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Return the battery level of the Wiimote. </p><dl class="section return"><dt>Returns</dt><dd>The battery level in the range 0-255. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00968">968</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8e9ac1d379db5c07c478401046a1c0ac"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8e9ac1d379db5c07c478401046a1c0ac">◆ </a></span>getWiiState()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t WII::getWiiState </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Return the Wiimote state. </p><dl class="section return"><dt>Returns</dt><dd>See: <a href="http://wiibrew.org/wiki/Wiimote#0x20:_Status">http://wiibrew.org/wiki/Wiimote#0x20:_Status</a>. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00189">189</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7646584a691279fbdb688e7f35f6a5b3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7646584a691279fbdb688e7f35f6a5b3">◆ </a></span>getWiimotePitch()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getWiimotePitch </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Pitch and roll calculated from the accelerometer inside the Wiimote. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00212">212</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2e1236eaee605bd5a6fa581c501cf406"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2e1236eaee605bd5a6fa581c501cf406">◆ </a></span>getWiimoteRoll()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getWiimoteRoll </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Pitch and roll calculated from the accelerometer inside the Wiimote. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00216">216</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad0a061fd6715690914c922911106b813"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad0a061fd6715690914c922911106b813">◆ </a></span>getNunchuckPitch()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getNunchuckPitch </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Pitch and roll calculated from the accelerometer inside the Nunchuck. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00224">224</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac2f0e9f96d0a4b0dd7044b7f3ffc24bd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac2f0e9f96d0a4b0dd7044b7f3ffc24bd">◆ </a></span>getNunchuckRoll()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getNunchuckRoll </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Pitch and roll calculated from the accelerometer inside the Nunchuck. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00228">228</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac1fef8ad0f7d5c36fa61ee91422629f9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac1fef8ad0f7d5c36fa61ee91422629f9">◆ </a></span>getWeight()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getWeight </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="_wii_8h.html#a1f2e8277faa24c51a9c99f3fbac8d80b">BalanceBoardEnum</a> </td>
|
|
<td class="paramname"><em>pos</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to get the weight at the specific position on the Wii Balance Board. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">pos</td><td><a class="el" href="_wii_8h.html#a1f2e8277faa24c51a9c99f3fbac8d80b">BalanceBoardEnum</a> to read from. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the weight in kg. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l01170">1170</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a966e34bb434984de59706384c8efc1f1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a966e34bb434984de59706384c8efc1f1">◆ </a></span>getTotalWeight()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::getTotalWeight </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to get total weight on the Wii Balance Board. </p><dl class="section return"><dt>Returns</dt><dd>Returns the weight in kg. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l01183">1183</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5f554cc77f108336981f7774761b9279"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5f554cc77f108336981f7774761b9279">◆ </a></span>getWeightRaw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getWeightRaw </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="_wii_8h.html#a1f2e8277faa24c51a9c99f3fbac8d80b">BalanceBoardEnum</a> </td>
|
|
<td class="paramname"><em>pos</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to get the raw reading at the specific position on the Wii Balance Board. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">pos</td><td><a class="el" href="_wii_8h.html#a1f2e8277faa24c51a9c99f3fbac8d80b">BalanceBoardEnum</a> to read from. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the raw reading. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00295">295</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3505abbc01c71d134ce301dfb7c0c5b5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3505abbc01c71d134ce301dfb7c0c5b5">◆ </a></span>IRinitialize()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::IRinitialize </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Initialises the camera as per the steps from: <a href="http://wiibrew.org/wiki/Wiimote#IR_Camera">http://wiibrew.org/wiki/Wiimote#IR_Camera</a> </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l01193">1193</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af380eb3bf65ce33a60aaf35f74a44f6d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af380eb3bf65ce33a60aaf35f74a44f6d">◆ </a></span>getIRx1()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getIRx1 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 1 x-position read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The x-position of the object in the range 0-1023. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00311">311</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a341b9a50bfdb18af9c66a3079e5804d9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a341b9a50bfdb18af9c66a3079e5804d9">◆ </a></span>getIRy1()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getIRy1 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 1 y-position read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The y-position of the object in the range 0-767. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00319">319</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2d8fd822e6e9c271d59c71dc7b757421"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2d8fd822e6e9c271d59c71dc7b757421">◆ </a></span>getIRs1()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t WII::getIRs1 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 1 size read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The size of the object in the range 0-15. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00327">327</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a551e48a50c7b60722e807e68ae25f084"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a551e48a50c7b60722e807e68ae25f084">◆ </a></span>getIRx2()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getIRx2 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 2 x-position read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The x-position of the object in the range 0-1023. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00335">335</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae148de3c99b3fb4ef65ea62d2848df7d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae148de3c99b3fb4ef65ea62d2848df7d">◆ </a></span>getIRy2()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getIRy2 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 2 y-position read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The y-position of the object in the range 0-767. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00343">343</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="accf6ca623ffe93b3c78aaf60c7fd1f46"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#accf6ca623ffe93b3c78aaf60c7fd1f46">◆ </a></span>getIRs2()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t WII::getIRs2 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 2 size read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The size of the object in the range 0-15. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00351">351</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5648a03968d0c2331867f9b7bcaa3e3e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5648a03968d0c2331867f9b7bcaa3e3e">◆ </a></span>getIRx3()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getIRx3 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 3 x-position read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The x-position of the object in the range 0-1023. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00359">359</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5e778f879c6d0a73a94bd61e42d05b8d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5e778f879c6d0a73a94bd61e42d05b8d">◆ </a></span>getIRy3()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getIRy3 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 3 y-position read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The y-position of the object in the range 0-767. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00367">367</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a05841e1975803d561f80aeb3dd0a4a1e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a05841e1975803d561f80aeb3dd0a4a1e">◆ </a></span>getIRs3()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t WII::getIRs3 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 3 size read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The size of the object in the range 0-15. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00375">375</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">◆ </a></span>getIRx4()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getIRx4 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 4 x-position read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The x-position of the object in the range 0-1023. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00383">383</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a759837b933f63ce7c3235639be29250a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a759837b933f63ce7c3235639be29250a">◆ </a></span>getIRy4()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::getIRy4 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 4 y-position read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The y-position of the object in the range 0-767. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00391">391</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aef56b9f37422b0a41642b39d10db0735"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aef56b9f37422b0a41642b39d10db0735">◆ </a></span>getIRs4()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t WII::getIRs4 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>IR object 4 size read from the Wii IR camera. </p><dl class="section return"><dt>Returns</dt><dd>The size of the object in the range 0-15. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00399">399</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0a444d7e348026e062751cf723877e8f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0a444d7e348026e062751cf723877e8f">◆ </a></span>isIRCameraEnabled()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WII::isIRCameraEnabled </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Use this to check if the camera is enabled or not. If not call <a class="el" href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">WII::IRinitialize</a> to initialize the IR camera. </p><dl class="section return"><dt>Returns</dt><dd>True if it's enabled, false if not. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00408">408</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a81e1eb4d9ef9999a84e71d764d54dff7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a81e1eb4d9ef9999a84e71d764d54dff7">◆ </a></span>ACLData()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::ACLData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>ACLData</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to pass acldata to the services. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ACLData</td><td>Incoming acldata. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="class_bluetooth_service.html#a9740e997198485c9629a146a9c981043">BluetoothService</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00133">133</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac5cd06f3e9aa2a0d9b9691f00c047e72"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac5cd06f3e9aa2a0d9b9691f00c047e72">◆ </a></span>Run()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::Run </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to run part of the state machine. </p>
|
|
|
|
<p>Implements <a class="el" href="class_bluetooth_service.html#a16df27af39d09963cf0d43910d92ff4c">BluetoothService</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00725">725</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a769ee2f9a0088da097438bc3cc677f7c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a769ee2f9a0088da097438bc3cc677f7c">◆ </a></span>Reset()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::Reset </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Use this to reset the service. </p>
|
|
|
|
<p>Implements <a class="el" href="class_bluetooth_service.html#aa7c81841d4e898e9dc91533da6d7ab64">BluetoothService</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l00101">101</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab9449f87825417defb9b985d7181bbd6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab9449f87825417defb9b985d7181bbd6">◆ </a></span>onInit()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WII::onInit </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Called when the controller is successfully initialized. Use attachOnInit(void (*funcOnInit)(void)) to call your own function. This is useful for instance if you want to set the LEDs in a specific way. </p>
|
|
|
|
<p>Implements <a class="el" href="class_bluetooth_service.html#a34d08d56c560c892c9684133f69b971b">BluetoothService</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8cpp_source.html#l01159">1159</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="ae25a8ea1b0713801e0209e795b4596fa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae25a8ea1b0713801e0209e795b4596fa">◆ </a></span>wiimoteConnected</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WII::wiimoteConnected</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Variable used to indicate if a Wiimote is connected. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00191">191</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7cb4cec343c65fd350e6b05043d7f1a8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7cb4cec343c65fd350e6b05043d7f1a8">◆ </a></span>nunchuckConnected</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WII::nunchuckConnected</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Variable used to indicate if a Nunchuck controller is connected. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00198">198</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a72bd4fad2e524276712a154b8cc2a16c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a72bd4fad2e524276712a154b8cc2a16c">◆ </a></span>motionPlusConnected</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WII::motionPlusConnected</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Variable used to indicate if a Nunchuck controller is connected. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00200">200</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a461f5b7a5f2bc874e107fc776c284b16"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a461f5b7a5f2bc874e107fc776c284b16">◆ </a></span>wiiUProControllerConnected</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WII::wiiUProControllerConnected</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Variable used to indicate if a Wii U Pro controller is connected. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00202">202</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1a1bdeef9ca069a1d14887182a2664a4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1a1bdeef9ca069a1d14887182a2664a4">◆ </a></span>wiiBalanceBoardConnected</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WII::wiiBalanceBoardConnected</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Variable used to indicate if a Wii Balance Board is connected. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00204">204</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afaafee11ac191ba43b6a2b989cdd137c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afaafee11ac191ba43b6a2b989cdd137c">◆ </a></span>accXwiimote</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::accXwiimote</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Accelerometer values used to calculate pitch and roll. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00230">230</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa2c14275d9e482e6add06cb34ccf1197"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa2c14275d9e482e6add06cb34ccf1197">◆ </a></span>accYwiimote</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::accYwiimote</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Accelerometer values used to calculate pitch and roll. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00235">235</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acdebdaab544ffcecf8ab09adacbd28c8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acdebdaab544ffcecf8ab09adacbd28c8">◆ </a></span>accZwiimote</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::accZwiimote</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Accelerometer values used to calculate pitch and roll. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00235">235</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3a13b5931284d5bcd6647f681cda95b4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3a13b5931284d5bcd6647f681cda95b4">◆ </a></span>accXnunchuck</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::accXnunchuck</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Accelerometer values used to calculate pitch and roll. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00236">236</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae657585a560e9d214e6c0219f8b47aeb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae657585a560e9d214e6c0219f8b47aeb">◆ </a></span>accYnunchuck</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::accYnunchuck</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Accelerometer values used to calculate pitch and roll. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00236">236</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a42af5743d2e3c2dbc01ea0b5531cc7c6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a42af5743d2e3c2dbc01ea0b5531cc7c6">◆ </a></span>accZnunchuck</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::accZnunchuck</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Accelerometer values used to calculate pitch and roll. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00236">236</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab4da8502042b18c71fbef321ed213d25"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab4da8502042b18c71fbef321ed213d25">◆ </a></span>gyroPitch</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::gyroPitch</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>This is the pitch calculated by the gyro - use this to tune <a class="el" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">WII::pitchGyroScale</a>. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00241">241</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acd16def2e2100b0ccb590d57a50fa742"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acd16def2e2100b0ccb590d57a50fa742">◆ </a></span>gyroRoll</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::gyroRoll</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>This is the roll calculated by the gyro - use this to tune <a class="el" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">WII::rollGyroScale</a>. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00243">243</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac3df2ac430112b4a6803d20105e88e67"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac3df2ac430112b4a6803d20105e88e67">◆ </a></span>gyroYaw</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::gyroYaw</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>This is the yaw calculated by the gyro - use this to tune <a class="el" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">WII::yawGyroScale</a>. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00245">245</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa47478ccdfe009dabb7c21232e07bfd5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa47478ccdfe009dabb7c21232e07bfd5">◆ </a></span>pitchGyroSpeed</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::pitchGyroSpeed</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>The speed in deg/s from the gyro. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00249">249</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7ddd67a8797d582e324cffe2847a4288"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7ddd67a8797d582e324cffe2847a4288">◆ </a></span>rollGyroSpeed</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::rollGyroSpeed</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>The speed in deg/s from the gyro. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00250">250</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4c373f956eddf2dd3a66d4a000459b85"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4c373f956eddf2dd3a66d4a000459b85">◆ </a></span>yawGyroSpeed</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float WII::yawGyroSpeed</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>The speed in deg/s from the gyro. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00251">251</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aea6ce6f3222df3e547e9957673c7a07a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aea6ce6f3222df3e547e9957673c7a07a">◆ </a></span>pitchGyroScale</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::pitchGyroScale</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>You might need to fine-tune these values. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00256">256</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6c0971ae4c9ab752888a5871020c8331"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6c0971ae4c9ab752888a5871020c8331">◆ </a></span>rollGyroScale</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::rollGyroScale</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>You might need to fine-tune these values. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00257">257</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0694969a30092b9b1dcb26120c7cff73"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0694969a30092b9b1dcb26120c7cff73">◆ </a></span>yawGyroScale</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t WII::yawGyroScale</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>You might need to fine-tune these values. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00258">258</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab813b65548e827f41a5192fcc34056ea"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab813b65548e827f41a5192fcc34056ea">◆ </a></span>gyroYawRaw</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::gyroYawRaw</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Raw value read directly from the Motion Plus. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00263">263</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0784c779ebeae2d459996c35a54ee3b8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0784c779ebeae2d459996c35a54ee3b8">◆ </a></span>gyroRollRaw</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::gyroRollRaw</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Raw value read directly from the Motion Plus. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00264">264</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a749ea9dd39ba9a5320c5b24ce93bc544"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a749ea9dd39ba9a5320c5b24ce93bc544">◆ </a></span>gyroPitchRaw</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::gyroPitchRaw</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Raw value read directly from the Motion Plus. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00265">265</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad4f0d2456c56414f9b8013b85a1ee7d2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad4f0d2456c56414f9b8013b85a1ee7d2">◆ </a></span>gyroYawZero</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::gyroYawZero</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>These values are set when the controller is first initialized. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00270">270</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a10d91cd5d73bc655be776b44d27004c9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a10d91cd5d73bc655be776b44d27004c9">◆ </a></span>gyroRollZero</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::gyroRollZero</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>These values are set when the controller is first initialized. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00271">271</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abbc31ecd4495d70258cfa095e34cb3c3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abbc31ecd4495d70258cfa095e34cb3c3">◆ </a></span>gyroPitchZero</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int16_t WII::gyroPitchZero</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>These values are set when the controller is first initialized. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_wii_8h_source.html#l00272">272</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="_wii_8h_source.html">Wii.h</a></li>
|
|
<li><a class="el" href="_wii_8cpp_source.html">Wii.cpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- 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>
|