USB_Host_Shield_2.0/class_w_i_i.html

1663 lines
80 KiB
HTML
Raw Normal View History

2013-01-30 22:00:18 +01:00
<!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"/>
2013-06-17 20:33:24 +02:00
<meta name="generator" content="Doxygen 1.8.4"/>
<title>USB Host Shield 2.0: WII Class Reference</title>
2013-01-30 22:00:18 +01:00
<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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
2013-01-30 22:00:18 +01:00
</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
2013-01-30 22:00:18 +01:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2013-06-17 20:33:24 +02:00
<!-- Generated by Doxygen 1.8.4 -->
2013-01-30 22:00:18 +01:00
<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)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></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,88,27"/></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="5,5,88,27"/></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>
2013-01-30 22:00:18 +01:00
<tr class="separator:a6597cb0e240a8ccb4ebdb236daef712e"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-02-05 20:02:12 +01:00
<tr><td colspan="2"><div class="groupHeader">BluetoothService implementation</div></td></tr>
2013-01-30 22:00:18 +01:00
<tr class="memitem:a81e1eb4d9ef9999a84e71d764d54dff7"><td class="memItemLeft" align="right" valign="top">virtual 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">virtual 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">virtual 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:aabe4780f258dada1c0564a4ac7607370"><td class="memItemLeft" align="right" valign="top">virtual 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>
2013-02-05 20:02:12 +01:00
<tr><td colspan="2"><div class="groupHeader">Wii Controller functions</div></td></tr>
2013-01-30 22:00:18 +01:00
<tr class="memitem:acf4b3ef0a4fa0cf71133a22213361288"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress</a> (<a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b)</td></tr>
<tr class="separator:acf4b3ef0a4fa0cf71133a22213361288"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf9ccb1725dc432e07ca19468713116"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick</a> (<a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b)</td></tr>
<tr class="separator:adbf9ccb1725dc432e07ca19468713116"><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>
2013-01-30 22:00:18 +01:00
<tr class="memitem:ab16e907132354be9848fd91a6a5171db"><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#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a> (<a class="el" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> a)</td></tr>
<tr class="separator:ab16e907132354be9848fd91a6a5171db"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-02-05 20:02:12 +01:00
<tr class="memitem:ab684ac791f235aed4d5ccf485081c075"><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#ab684ac791f235aed4d5ccf485081c075">getAnalogHat</a> (<a class="el" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a)</td></tr>
<tr class="separator:ab684ac791f235aed4d5ccf485081c075"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-01-30 22:00:18 +01:00
<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>
2013-04-01 22:52:24 +02:00
<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>
2013-01-30 22:00:18 +01:00
<tr class="memitem:a7efe7577ba30c218f6fbd3804a53d242"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
<tr class="separator:a7efe7577ba30c218f6fbd3804a53d242"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a7b9dd571c5a8597bfb194000bd517c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
<tr class="separator:a3a7b9dd571c5a8597bfb194000bd517c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7755e2b2a161a550c99de2ca1018ce3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">setLedToggle</a> (<a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a)</td></tr>
<tr class="separator:af7755e2b2a161a550c99de2ca1018ce3"><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>
2013-04-01 22:52:24 +02:00
<tr class="memitem:acf275afab058a712ab84fac6c38f8f54"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#acf275afab058a712ab84fac6c38f8f54">statusRequest</a> ()</td></tr>
<tr class="separator:acf275afab058a712ab84fac6c38f8f54"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<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 uncomment <a class="el" href="_wii_8h.html#a8a70a2d3fd20f9005aa8dc5849beb147">WIICAMERA</a> in <a class="el" href="_wii_8h.html">Wii.h</a> to use the IR camera. </p>
2013-02-05 20:02:12 +01:00
</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>
2013-01-30 22:00:18 +01:00
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
2013-02-05 20:02:12 +01:00
<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>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<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:a1421306c25a76c0fa24f7ee4b10b757b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a1421306c25a76c0fa24f7ee4b10b757b">wiimotePitch</a></td></tr>
<tr class="separator:a1421306c25a76c0fa24f7ee4b10b757b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab22594da86218dccf86806b13d6a7a70"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ab22594da86218dccf86806b13d6a7a70">wiimoteRoll</a></td></tr>
<tr class="separator:ab22594da86218dccf86806b13d6a7a70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
2013-01-30 22:00:18 +01:00
<tr class="memitem:a2b5a934a1be4d7c5e788d3742dd09cbf"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf">nunchuckPitch</a></td></tr>
<tr class="separator:a2b5a934a1be4d7c5e788d3742dd09cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6c01ce2e1f7bac2c8982ecfb3f53f71"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_i_i.html#ad6c01ce2e1f7bac2c8982ecfb3f53f71">nunchuckRoll</a></td></tr>
<tr class="separator:ad6c01ce2e1f7bac2c8982ecfb3f53f71"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-02-05 20:02:12 +01:00
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
2013-01-30 22:00:18 +01:00
<tr class="memitem:a48bcc2e5c6253d0554d70357625ff3fb"><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#a48bcc2e5c6253d0554d70357625ff3fb">accX</a></td></tr>
<tr class="separator:a48bcc2e5c6253d0554d70357625ff3fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07bef4e4acd42d680ac676b0e6315b2a"><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#a07bef4e4acd42d680ac676b0e6315b2a">accY</a></td></tr>
<tr class="separator:a07bef4e4acd42d680ac676b0e6315b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7323e1f8b76f3f11f91cdb9601759cc4"><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#a7323e1f8b76f3f11f91cdb9601759cc4">accZ</a></td></tr>
<tr class="separator:a7323e1f8b76f3f11f91cdb9601759cc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-02-05 20:02:12 +01:00
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<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#l00096">96</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
2013-01-30 22:00:18 +01:00
<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">
2013-02-05 20:02:12 +01:00
<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="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a> to set it to true. </td></tr>
2013-02-05 20:02:12 +01:00
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00086">86</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<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>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>ACLData</em>)</td><td></td>
2013-01-30 22:00:18 +01:00
<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">
2013-02-05 20:02:12 +01:00
<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>
2013-01-30 22:00:18 +01:00
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113">BluetoothService</a>.</p>
2013-04-01 22:52:24 +02:00
<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>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ac5cd06f3e9aa2a0d9b9691f00c047e72"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<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 to run part of the state maschine. </p>
2013-01-30 22:00:18 +01:00
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383">BluetoothService</a>.</p>
2013-01-30 22:00:18 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00683">683</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a769ee2f9a0088da097438bc3cc677f7c"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">void WII::Reset </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</div><div class="memdoc">
<p>Use this to reset the service. </p>
2013-02-05 20:02:12 +01:00
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48">BluetoothService</a>.</p>
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00105">105</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="aabe4780f258dada1c0564a4ac7607370"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-02-05 20:02:12 +01:00
<table class="memname">
<tr>
<td class="memname">void WII::disconnect </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
2013-02-05 20:02:12 +01:00
</div><div class="memdoc">
<p>Used this to disconnect any of the controllers. </p>
2013-02-05 20:02:12 +01:00
<p>Reimplemented from <a class="el" href="class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2">BluetoothService</a>.</p>
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00119">119</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="acf4b3ef0a4fa0cf71133a22213361288"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool WII::getButtonPress </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype"><a class="el" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a>&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>b</em>)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress(Button b)</a> will return true as long as the button is held down.</p>
<p>While <a class="el" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick(Button b)</a> will only return it once.</p>
<p>So you instance if you need to increase a variable once you would use <a class="el" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick(Button b)</a>, but if you need to drive a robot forward you would use <a class="el" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress(Button b)</a>. </p>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l01024">1024</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="adbf9ccb1725dc432e07ca19468713116"></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#a03bfec859eac87be20f8952c1eb89de0">Button</a>&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>b</em>)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress(Button b)</a> will return true as long as the button is held down.</p>
<p>While <a class="el" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick(Button b)</a> will only return it once.</p>
<p>So you instance if you need to increase a variable once you would use <a class="el" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick(Button b)</a>, but if you need to drive a robot forward you would use <a class="el" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress(Button b)</a>. </p>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l01031">1031</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-01-30 22:00:18 +01:00
</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>
2013-06-17 20:33:24 +02:00
<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#l00135">135</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ab16e907132354be9848fd91a6a5171db"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t WII::getAnalogHat </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype"><a class="el" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a>&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>a</em>)</td><td></td>
2013-01-30 22:00:18 +01:00
<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#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> or <a class="el" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">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>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l01042">1042</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="ab684ac791f235aed4d5ccf485081c075"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t WII::getAnalogHat </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
<td class="paramtype"><a class="el" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a>&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>a</em>)</td><td></td>
2013-02-05 20:02:12 +01:00
<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#aaaabdefc068fd57ec2bef2b62ea4ba92a383cb8895dd296b7f69ce845ed16b0ca">LeftHatX</a>, <a class="el" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3">LeftHatY</a>, <a class="el" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a> or <a class="el" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a">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>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l01054">1054</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a748172bd57804856594ea8e21601319e"></a>
2013-02-05 20:02:12 +01:00
<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>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00156">156</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a6ac037d884f97319892e8671ef070c03"></a>
2013-02-05 20:02:12 +01:00
<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>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00164">164</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="ae92e129c54c8131f4a2c55582dfd2f11"></a>
2013-02-05 20:02:12 +01:00
<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>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00174">174</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a6e97bfcfb134b63d7190ba1bc326e1d3"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setAllOff </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to set all LEDs and rumble off. </p>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00848">848</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a2c5c32841b020b248f757cb793acb936"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setRumbleOff </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Turn off rumble. </p>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00854">854</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a0d9c869bd3677c4488a586c38558a137"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setRumbleOn </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Turn on rumble. </p>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00860">860</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a841396b533cccccb05db37d35f6fef9c"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setRumbleToggle </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Toggle rumble. </p>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00866">866</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>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>value</em>)</td><td></td>
2013-04-01 22:52:24 +02:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set LED value without using the <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> enum. </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#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> enum. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00872">872</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a7efe7577ba30c218f6fbd3804a53d242"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setLedOff </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
<td class="paramtype"><a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a>&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>a</em>)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Turn the specific <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</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#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> to turn off. </td></tr>
</table>
</dd>
</dl>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00877">877</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a3a7b9dd571c5a8597bfb194000bd517c"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setLedOn </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
<td class="paramtype"><a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a>&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>a</em>)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Turn the specific <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</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#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> to turn on. </td></tr>
</table>
</dd>
</dl>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00883">883</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="af7755e2b2a161a550c99de2ca1018ce3"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setLedToggle </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
<td class="paramtype"><a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a>&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>a</em>)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Toggle the specific <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</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#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> to toggle. </td></tr>
</table>
</dd>
</dl>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00889">889</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a5d3b4a33ebc2ca9ebb154e10a05dbdd4"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::setLedStatus </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<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#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> indicate that the Wiimote is connected,</p>
<p>the second <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> indicate indicate that a Motion Plus is also connected</p>
<p>the third <a class="el" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> will indicate that a Nunchuck controller is also connected. </p>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00895">895</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="acf275afab058a712ab84fac6c38f8f54"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::statusRequest </td>
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-04-01 22:52:24 +02:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Call this to update battery level and Wiimote state </p>
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l00920">920</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ae946f7d6e9ce89fb083f5f138c0736c2"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t WII::getBatteryLevel </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<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 battery level of the Wiimote. </p>
<dl class="section return"><dt>Returns</dt><dd>The battery level in the range 0-255. </dd></dl>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00226">226</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a8e9ac1d379db5c07c478401046a1c0ac"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00233">233</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a3505abbc01c71d134ce301dfb7c0c5b5"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WII::IRinitialize </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
2013-04-01 22:52:24 +02:00
<p>Definition at line <a class="el" href="_wii_8cpp_source.html#l01071">1071</a> of file <a class="el" href="_wii_8cpp_source.html">Wii.cpp</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="af380eb3bf65ce33a60aaf35f74a44f6d"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00317">317</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a341b9a50bfdb18af9c66a3079e5804d9"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-02-05 20:02:12 +01:00
<table class="memname">
<tr>
<td class="memname">uint16_t WII::getIRy1 </td>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-02-05 20:02:12 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00325">325</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a2d8fd822e6e9c271d59c71dc7b757421"></a>
2013-02-05 20:02:12 +01:00
<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>
2013-02-05 20:02:12 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-02-05 20:02:12 +01:00
<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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00333">333</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a551e48a50c7b60722e807e68ae25f084"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
2013-01-30 22:00:18 +01:00
</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>
2013-01-30 22:00:18 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00341">341</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ae148de3c99b3fb4ef65ea62d2848df7d"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
2013-01-30 22:00:18 +01:00
</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>
2013-01-30 22:00:18 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00349">349</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="accf6ca623ffe93b3c78aaf60c7fd1f46"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">uint8_t WII::getIRs2 </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00357">357</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a5648a03968d0c2331867f9b7bcaa3e3e"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">uint16_t WII::getIRx3 </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00365">365</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a5e778f879c6d0a73a94bd61e42d05b8d"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">uint16_t WII::getIRy3 </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00373">373</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a05841e1975803d561f80aeb3dd0a4a1e"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">uint8_t WII::getIRs3 </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00381">381</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">uint16_t WII::getIRx4 </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00389">389</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a759837b933f63ce7c3235639be29250a"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">uint16_t WII::getIRy4 </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00397">397</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="aef56b9f37422b0a41642b39d10db0735"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">uint8_t WII::getIRs4 </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00405">405</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a0a444d7e348026e062751cf723877e8f"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">bool WII::isIRCameraEnabled </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-06-17 20:33:24 +02:00
<td class="paramname">)</td><td></td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00414">414</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ae25a8ea1b0713801e0209e795b4596fa"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool WII::wiimoteConnected</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Variable used to indicate if a Wiimote is connected. </p>
2013-02-05 20:02:12 +01:00
<p>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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a7cb4cec343c65fd350e6b05043d7f1a8"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool WII::nunchuckConnected</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Variable used to indicate if a Nunchuck controller is connected. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00242">242</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a72bd4fad2e524276712a154b8cc2a16c"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool WII::motionPlusConnected</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Variable used to indicate if a Nunchuck controller is connected. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00244">244</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a461f5b7a5f2bc874e107fc776c284b16"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool WII::wiiUProControllerConnected</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Variable used to indicate if a Wii U Pro controller is connected. </p>
2013-02-05 20:02:12 +01:00
<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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a1421306c25a76c0fa24f7ee4b10b757b"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::wiimotePitch</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Pitch and roll calculated from the accelerometer inside the Wiimote. </p>
2013-02-05 20:02:12 +01:00
<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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ab22594da86218dccf86806b13d6a7a70"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::wiimoteRoll</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Pitch and roll calculated from the accelerometer inside the Wiimote. </p>
2013-02-05 20:02:12 +01:00
<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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a2b5a934a1be4d7c5e788d3742dd09cbf"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::nunchuckPitch</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Pitch and roll calculated from the accelerometer inside the Nunchuck. </p>
2013-02-05 20:02:12 +01:00
<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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ad6c01ce2e1f7bac2c8982ecfb3f53f71"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::nunchuckRoll</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Pitch and roll calculated from the accelerometer inside the Nunchuck. </p>
2013-02-05 20:02:12 +01:00
<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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a48bcc2e5c6253d0554d70357625ff3fb"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::accX</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Accelerometer values used to calculate pitch and roll. </p>
2013-02-05 20:02:12 +01:00
<p>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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a07bef4e4acd42d680ac676b0e6315b2a"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::accY</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Accelerometer values used to calculate pitch and roll. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00266">266</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a7323e1f8b76f3f11f91cdb9601759cc4"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::accZ</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Accelerometer values used to calculate pitch and roll. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00267">267</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="af61f57d34b81f2a878f0126a074e3af4"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::gyroPitch</td>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a2a0e4745bff7cfec644bcebe984c2bc8"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::gyroRoll</td>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00274">274</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a988db5b35cfc3c543f93f49587a50e62"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::gyroYaw</td>
2013-01-30 22:00:18 +01:00
</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>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00276">276</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="acfb290a86aa9a65dd4ae84d02e3c6ded"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::pitchGyroSpeed</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>The speed in deg/s from the gyro. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00280">280</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a3fb552c6ad486e23434dcb347a2a4b84"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::rollGyroSpeed</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>The speed in deg/s from the gyro. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00281">281</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ad5df436cc5d073f26bf3ea5c60d788d6"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double WII::yawGyroSpeed</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>The speed in deg/s from the gyro. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00282">282</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="aea6ce6f3222df3e547e9957673c7a07a"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t WII::pitchGyroScale</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>You might need to fine-tune these values. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00287">287</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</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">
2013-02-05 20:02:12 +01:00
<p>You might need to fine-tune these values. </p>
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00288">288</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a0694969a30092b9b1dcb26120c7cff73"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t WII::yawGyroScale</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>You might need to fine-tune these values. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00289">289</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ab813b65548e827f41a5192fcc34056ea"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::gyroYawRaw</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Raw value read directly from the Motion Plus. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00294">294</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-02-05 20:02:12 +01:00
</div>
</div>
<a class="anchor" id="a0784c779ebeae2d459996c35a54ee3b8"></a>
2013-02-05 20:02:12 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::gyroRollRaw</td>
2013-02-05 20:02:12 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Raw value read directly from the Motion Plus. </p>
2013-02-05 20:02:12 +01:00
<p>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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a749ea9dd39ba9a5320c5b24ce93bc544"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::gyroPitchRaw</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Raw value read directly from the Motion Plus. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00296">296</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="ad4f0d2456c56414f9b8013b85a1ee7d2"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::gyroYawZero</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>These values are set when the controller is first initialized. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00301">301</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a10d91cd5d73bc655be776b44d27004c9"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::gyroRollZero</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>These values are set when the controller is first initialized. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00302">302</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="abbc31ecd4495d70258cfa095e34cb3c3"></a>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t WII::gyroPitchZero</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>These values are set when the controller is first initialized. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00303">303</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
2013-01-30 22:00:18 +01:00
</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>
2013-01-30 22:00:18 +01:00
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
2013-01-30 22:00:18 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
2013-06-17 20:33:24 +02:00
</a> 1.8.4
2013-01-30 22:00:18 +01:00
</small></address>
</body>
</html>