USB_Host_Shield_2.0/class_w_i_i.html
Kristian Sloth Lauszus 4f510c5316 Updated documentation
2015-04-07 16:07:33 +02:00

1796 lines
90 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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.9.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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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 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.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</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> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<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 &lt;<a class="el" href="_wii_8h_source.html">Wii.h</a>&gt;</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" id="node2" href="class_bluetooth_service.html" title="BluetoothService" alt="" coords="5,5,127,31"/></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" id="node2" href="class_bluetooth_service.html" title="BluetoothService" alt="" coords="200,253,322,279"/><area shape="rect" id="node3" href="class_b_t_d.html" title="BTD" alt="" coords="237,167,285,192"/><area shape="rect" id="node4" href="class_u_s_b_device_config.html" title="USBDeviceConfig" alt="" coords="5,80,133,105"/><area shape="rect" id="node5" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="158,80,288,105"/><area shape="rect" id="node6" href="class_u_s_b.html" title="USB" alt="" coords="312,80,360,105"/><area shape="rect" id="node7" href="class_m_a_x3421e.html" title="MAX3421E" alt="" coords="292,5,380,31"/><area shape="rect" id="node8" href="struct_ep_info.html" title="EpInfo" alt="" coords="385,80,445,105"/></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">&#160;</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">&#160;</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&#160;</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">&#160;</td></tr>
<tr class="memitem:ac94e8b9ce6d3f914f0e3ee4fba82efa3"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</td></tr>
<tr class="memitem:a39c3101b26cc549d5258018b3d05c608"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a8e34abf62a9631ca3efba0150ca91b93"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a9f88f608bd002270797dd3bc25900f1e"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a748172bd57804856594ea8e21601319e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a> ()</td></tr>
<tr class="separator:a748172bd57804856594ea8e21601319e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ac037d884f97319892e8671ef070c03"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a> ()</td></tr>
<tr class="separator:a6ac037d884f97319892e8671ef070c03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae92e129c54c8131f4a2c55582dfd2f11"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a> ()</td></tr>
<tr class="separator:ae92e129c54c8131f4a2c55582dfd2f11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e97bfcfb134b63d7190ba1bc326e1d3"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a2c5c32841b020b248f757cb793acb936"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a0d9c869bd3677c4488a586c38558a137"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a841396b533cccccb05db37d35f6fef9c"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:ae7e07f929fba8f0ff061a1405baa2b58"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:ae3eb7942181a9c9e681e18bd5c8eaef4"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a60e552c026ac99f2c74b9c3eb9c3a7c9"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a38507c76e5d7375a7971bc3a17b87338"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a8e81eb7d2d78680df0dee1869695ff05"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a5d3b4a33ebc2ca9ebb154e10a05dbdd4"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:ae946f7d6e9ce89fb083f5f138c0736c2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a8e9ac1d379db5c07c478401046a1c0ac"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a2fb34f50b5374c9442af263f61595af4"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a> ()</td></tr>
<tr class="separator:a2fb34f50b5374c9442af263f61595af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a58b857c84fa82152be7983efe70f60"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">getWiimoteRoll</a> ()</td></tr>
<tr class="separator:a9a58b857c84fa82152be7983efe70f60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a052ed48b0eea76fbd3858024ce962c6f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a052ed48b0eea76fbd3858024ce962c6f">getNunchuckPitch</a> ()</td></tr>
<tr class="separator:a052ed48b0eea76fbd3858024ce962c6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e82829c5d13a4117ecd6d23b6c3d98"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a73e82829c5d13a4117ecd6d23b6c3d98">getNunchuckRoll</a> ()</td></tr>
<tr class="separator:a73e82829c5d13a4117ecd6d23b6c3d98"><td class="memSeparator" colspan="2">&#160;</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&#160;</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">&#160;</td></tr>
<tr class="memitem:af380eb3bf65ce33a60aaf35f74a44f6d"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a341b9a50bfdb18af9c66a3079e5804d9"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a2d8fd822e6e9c271d59c71dc7b757421"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a551e48a50c7b60722e807e68ae25f084"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:ae148de3c99b3fb4ef65ea62d2848df7d"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:accf6ca623ffe93b3c78aaf60c7fd1f46"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a5648a03968d0c2331867f9b7bcaa3e3e"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a5e778f879c6d0a73a94bd61e42d05b8d"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a05841e1975803d561f80aeb3dd0a4a1e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a759837b933f63ce7c3235639be29250a"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:aef56b9f37422b0a41642b39d10db0735"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a0a444d7e348026e062751cf723877e8f"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</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="-"/>&#160;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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a488e219cf0a90d39e643615b1f12e91f inherit pub_methods_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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:af61f57d34b81f2a878f0126a074e3af4"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">gyroPitch</a></td></tr>
<tr class="separator:af61f57d34b81f2a878f0126a074e3af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a0e4745bff7cfec644bcebe984c2bc8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">gyroRoll</a></td></tr>
<tr class="separator:a2a0e4745bff7cfec644bcebe984c2bc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a988db5b35cfc3c543f93f49587a50e62"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a></td></tr>
<tr class="separator:a988db5b35cfc3c543f93f49587a50e62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:ae25a8ea1b0713801e0209e795b4596fa"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</td></tr>
<tr class="memitem:a7cb4cec343c65fd350e6b05043d7f1a8"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</td></tr>
<tr class="memitem:a72bd4fad2e524276712a154b8cc2a16c"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</td></tr>
<tr class="memitem:a461f5b7a5f2bc874e107fc776c284b16"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</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&#160;</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">&#160;</td></tr>
<tr class="memitem:aa2c14275d9e482e6add06cb34ccf1197"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:acdebdaab544ffcecf8ab09adacbd28c8"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a3a13b5931284d5bcd6647f681cda95b4"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:ae657585a560e9d214e6c0219f8b47aeb"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a42af5743d2e3c2dbc01ea0b5531cc7c6"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:acfb290a86aa9a65dd4ae84d02e3c6ded"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a></td></tr>
<tr class="separator:acfb290a86aa9a65dd4ae84d02e3c6ded"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fb552c6ad486e23434dcb347a2a4b84"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a></td></tr>
<tr class="separator:a3fb552c6ad486e23434dcb347a2a4b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5df436cc5d073f26bf3ea5c60d788d6"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a></td></tr>
<tr class="separator:ad5df436cc5d073f26bf3ea5c60d788d6"><td class="memSeparator" colspan="2">&#160;</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&#160;</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">&#160;</td></tr>
<tr class="memitem:a6c0971ae4c9ab752888a5871020c8331"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a0694969a30092b9b1dcb26120c7cff73"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</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&#160;</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">&#160;</td></tr>
<tr class="memitem:a0784c779ebeae2d459996c35a54ee3b8"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a749ea9dd39ba9a5320c5b24ce93bc544"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</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&#160;</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">&#160;</td></tr>
<tr class="memitem:a10d91cd5d73bc655be776b44d27004c9"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:abbc31ecd4495d70258cfa095e34cb3c3"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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">&#160;</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&#160;</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">&#160;</td></tr>
<tr class="memitem:a81e1eb4d9ef9999a84e71d764d54dff7"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:ac5cd06f3e9aa2a0d9b9691f00c047e72"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a769ee2f9a0088da097438bc3cc677f7c"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:ab9449f87825417defb9b985d7181bbd6"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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="-"/>&#160;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&#160;</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">&#160;</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="-"/>&#160;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(*&#160;</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">&#160;</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> *&#160;</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">&#160;</td></tr>
<tr class="memitem:a67b1db67c05d0bbdcd9c992135455437 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a78a1a893ec9c2db32e42bc2271c4a4f2 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</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">&#160;</td></tr>
<tr class="memitem:ad643db609c7e2e3fae8904dbc7991262 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</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>Definition at line <a class="el" href="_wii_8h_source.html#l00047">47</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6597cb0e240a8ccb4ebdb236daef712e"></a>
<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> *&#160;</td>
<td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>pair</em> = <code>false</code>&#160;</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>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 class="anchor" id="aabe4780f258dada1c0564a4ac7607370"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00115">115</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a7b183fe1809c1c595438e930b8f3f4de"></a>
<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>&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l01038">1038</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ac94e8b9ce6d3f914f0e3ee4fba82efa3"></a>
<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>&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l01045">1045</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a39c3101b26cc549d5258018b3d05c608"></a>
<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&#160;</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 paring sequence with a controller </p>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00080">80</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8e34abf62a9631ca3efba0150ca91b93"></a>
<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>&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l01056">1056</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a9f88f608bd002270797dd3bc25900f1e"></a>
<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>&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l01068">1068</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a748172bd57804856594ea8e21601319e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00101">101</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a6ac037d884f97319892e8671ef070c03"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00111">111</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae92e129c54c8131f4a2c55582dfd2f11"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00123">123</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a6e97bfcfb134b63d7190ba1bc326e1d3"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00851">851</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a2c5c32841b020b248f757cb793acb936"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00857">857</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a0d9c869bd3677c4488a586c38558a137"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00863">863</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a841396b533cccccb05db37d35f6fef9c"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00869">869</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae7e07f929fba8f0ff061a1405baa2b58"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setLedRaw </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00875">875</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae3eb7942181a9c9e681e18bd5c8eaef4"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00143">143</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a60e552c026ac99f2c74b9c3eb9c3a7c9"></a>
<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>&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00881">881</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a38507c76e5d7375a7971bc3a17b87338"></a>
<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>&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00887">887</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8e81eb7d2d78680df0dee1869695ff05"></a>
<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>&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00897">897</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a5d3b4a33ebc2ca9ebb154e10a05dbdd4"></a>
<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>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 class="anchor" id="ae946f7d6e9ce89fb083f5f138c0736c2"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00916">916</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8e9ac1d379db5c07c478401046a1c0ac"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00180">180</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2fb34f50b5374c9442af263f61595af4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00201">201</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9a58b857c84fa82152be7983efe70f60"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00205">205</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a052ed48b0eea76fbd3858024ce962c6f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00213">213</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a73e82829c5d13a4117ecd6d23b6c3d98"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00217">217</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3505abbc01c71d134ce301dfb7c0c5b5"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l01093">1093</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="af380eb3bf65ce33a60aaf35f74a44f6d"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00275">275</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a341b9a50bfdb18af9c66a3079e5804d9"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00283">283</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2d8fd822e6e9c271d59c71dc7b757421"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00291">291</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a551e48a50c7b60722e807e68ae25f084"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00299">299</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae148de3c99b3fb4ef65ea62d2848df7d"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00307">307</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="accf6ca623ffe93b3c78aaf60c7fd1f46"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00315">315</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5648a03968d0c2331867f9b7bcaa3e3e"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00323">323</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5e778f879c6d0a73a94bd61e42d05b8d"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00331">331</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a05841e1975803d561f80aeb3dd0a4a1e"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00339">339</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00347">347</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a759837b933f63ce7c3235639be29250a"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00355">355</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="aef56b9f37422b0a41642b39d10db0735"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00363">363</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0a444d7e348026e062751cf723877e8f"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00372">372</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a81e1eb4d9ef9999a84e71d764d54dff7"></a>
<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 *&#160;</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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00132">132</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ac5cd06f3e9aa2a0d9b9691f00c047e72"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l00681">681</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a769ee2f9a0088da097438bc3cc677f7c"></a>
<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>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 class="anchor" id="ab9449f87825417defb9b985d7181bbd6"></a>
<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>Definition at line <a class="el" href="_wii_8cpp_source.html#l01080">1080</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 class="anchor" id="ae25a8ea1b0713801e0209e795b4596fa"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00182">182</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a7cb4cec343c65fd350e6b05043d7f1a8"></a>
<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>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 class="anchor" id="a72bd4fad2e524276712a154b8cc2a16c"></a>
<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>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 class="anchor" id="a461f5b7a5f2bc874e107fc776c284b16"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00193">193</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="afaafee11ac191ba43b6a2b989cdd137c"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00219">219</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="aa2c14275d9e482e6add06cb34ccf1197"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00219">219</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="acdebdaab544ffcecf8ab09adacbd28c8"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00219">219</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3a13b5931284d5bcd6647f681cda95b4"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00225">225</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae657585a560e9d214e6c0219f8b47aeb"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00225">225</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a42af5743d2e3c2dbc01ea0b5531cc7c6"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00225">225</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="af61f57d34b81f2a878f0126a074e3af4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double 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>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 class="anchor" id="a2a0e4745bff7cfec644bcebe984c2bc8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00232">232</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a988db5b35cfc3c543f93f49587a50e62"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double 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>Definition at line <a class="el" href="_wii_8h_source.html#l00234">234</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="acfb290a86aa9a65dd4ae84d02e3c6ded"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::pitchGyroSpeed</td>
</tr>
</table>
</div><div class="memdoc">
<p>The speed in deg/s from the gyro. </p>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00238">238</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3fb552c6ad486e23434dcb347a2a4b84"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::rollGyroSpeed</td>
</tr>
</table>
</div><div class="memdoc">
<p>The speed in deg/s from the gyro. </p>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00239">239</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad5df436cc5d073f26bf3ea5c60d788d6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::yawGyroSpeed</td>
</tr>
</table>
</div><div class="memdoc">
<p>The speed in deg/s from the gyro. </p>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00240">240</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="aea6ce6f3222df3e547e9957673c7a07a"></a>
<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>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 class="anchor" id="a6c0971ae4c9ab752888a5871020c8331"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00246">246</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0694969a30092b9b1dcb26120c7cff73"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00247">247</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab813b65548e827f41a5192fcc34056ea"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00252">252</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0784c779ebeae2d459996c35a54ee3b8"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00253">253</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a749ea9dd39ba9a5320c5b24ce93bc544"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00254">254</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad4f0d2456c56414f9b8013b85a1ee7d2"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00259">259</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="a10d91cd5d73bc655be776b44d27004c9"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00260">260</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div>
</div>
<a class="anchor" id="abbc31ecd4495d70258cfa095e34cb3c3"></a>
<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>Definition at line <a class="el" href="_wii_8h_source.html#l00261">261</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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>