USB_Host_Shield_2.0/_wii_8h_source.html
Kristian Sloth Lauszus a85adeb3dd Generated documentation
2013-10-21 21:15:43 +02:00

497 lines
88 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.5"/>
<title>USB Host Shield 2.0: Wii.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/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"/>
</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.5 -->
<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><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><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="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Wii.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="_wii_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> on this software must also be made publicly available under the terms of</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> the GPL2 (&quot;Copyleft&quot;).</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> Contact information</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> -------------------</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> Web : http://www.tkjelectronics.com</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> IR camera support added by Allan Glover (adglover9.81@gmail.com) and Kristian Lauszus</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef _wii_h_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define _wii_h_</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_b_t_d_8h.html">BTD.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="controller_enums_8h.html">controllerEnums.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_wii_8h.html#a8a70a2d3fd20f9005aa8dc5849beb147"> 27</a></span>&#160;<span class="preprocessor">#define WIICAMERA</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment">/* Bluetooth L2CAP states for L2CAP_task() */</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="_wii_8h.html#a15cc1db556ad9a4ec6144ca8a42f8919"> 30</a></span>&#160;<span class="preprocessor">#define L2CAP_WAIT 0</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment">// These states are used if the Wiimote is the host</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_wii_8h.html#abac08b5b24a1cd2b12517cd9aa6c616b"> 33</a></span>&#160;<span class="preprocessor">#define L2CAP_CONTROL_SUCCESS 1</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="_wii_8h.html#ac7aa7fd7a8a34a6c9e420e3cb114737b"> 34</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_SETUP 2</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="comment">// These states are used if the Arduino is the host</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_wii_8h.html#a68bcdd68c269cd7970d5271a00bbe5fe"> 37</a></span>&#160;<span class="preprocessor">#define L2CAP_CONTROL_CONNECT_REQUEST 3</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_wii_8h.html#aaaf733ee2c84bd8df4d24f2ae1f3b378"> 38</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_CONFIG_REQUEST 4</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="_wii_8h.html#af0b913a7e9e54b1f6ab95d82bd36f954"> 39</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INTERRUPT_CONNECT_REQUEST 5</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="_wii_8h.html#a73e3a81d9a8850075fd10933acc5a035"> 41</a></span>&#160;<span class="preprocessor">#define L2CAP_INTERRUPT_CONFIG_REQUEST 6</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="_wii_8h.html#a44edf5415459cba3cc378992fef7560b"> 43</a></span>&#160;<span class="preprocessor">#define L2CAP_CHECK_MOTION_PLUS_STATE 7</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="_wii_8h.html#ab84d043703110a74ba9b8d7afa30c5de"> 44</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CHECK_EXTENSION_STATE 8</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="_wii_8h.html#a291cf8ab9832ac643cdbeaa5f0b84ed1"> 45</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_INIT_MOTION_PLUS_STATE 9</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_wii_8h.html#a11f7dbb22bf86e28848abc165e22c2de"> 46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_LED_STATE 10</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="_wii_8h.html#ae4da52ca67e1f8b977199b24e8f3a400"> 47</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_DONE 11</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="_wii_8h.html#ab569b2085ad29f41d1da9c0ed352bd65"> 49</a></span>&#160;<span class="preprocessor">#define L2CAP_INTERRUPT_DISCONNECT 12</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_wii_8h.html#a9b5140e7ca5941e5535c575255ffc1cc"> 50</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_CONTROL_DISCONNECT 13</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="comment">/* L2CAP event flags */</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7"> 53</a></span>&#160;<span class="preprocessor">#define L2CAP_FLAG_CONTROL_CONNECTED 0x001</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f"> 54</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_INTERRUPT_CONNECTED 0x002</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7"> 55</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS 0x004</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f"> 56</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS 0x008</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192"> 57</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE 0x040</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3"> 58</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE 0x080</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96"> 59</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST 0x100</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45"> 60</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST 0x200</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment">/* Macros for L2CAP event flag tests */</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="_wii_8h.html#acaec1ddc53593c80dc625c1f361e3a24"> 63</a></span>&#160;<span class="preprocessor">#define l2cap_connected_control_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONTROL_CONNECTED)</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="_wii_8h.html#ac72a2b645fafc5bdbd85c1f59cc937cc"> 64</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_connected_interrupt_flag (l2cap_event_flag &amp; L2CAP_FLAG_INTERRUPT_CONNECTED)</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="_wii_8h.html#a39a58b19fb4ef26cf503ed57a43570a4"> 65</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_control_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="_wii_8h.html#a9b3e87e1f460bc011e69f5e53e79c104"> 66</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_config_success_interrupt_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="_wii_8h.html#a7f0cab74308e812106252c53b18c0391"> 67</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_control_flag (l2cap_event_flag &amp; L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="_wii_8h.html#a667178a4486c4dee88e052b3562362cd"> 68</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_disconnect_response_interrupt_flag (l2cap_event_flag &amp; L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="_wii_8h.html#a728c7d92dd341dcc1b8f4bf95bb4826d"> 69</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_control_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="_wii_8h.html#a9fa7bceb44bbdff3229fd431627b9868"> 70</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define l2cap_connection_request_interrupt_flag (l2cap_event_flag &amp; L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="comment">/* Wii event flags */</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="_wii_8h.html#a34631633d4557244dc8eda52e8505acd"> 73</a></span>&#160;<span class="preprocessor">#define WII_FLAG_MOTION_PLUS_CONNECTED 0x400</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="_wii_8h.html#ae0ff99c8862a05df8877329982e1ef61"> 74</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define WII_FLAG_NUNCHUCK_CONNECTED 0x800</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3d4b4f06162f96e91d97650f5c2e60f7"> 76</a></span>&#160;<span class="preprocessor">#define motion_plus_connected_flag (l2cap_event_flag &amp; WII_FLAG_MOTION_PLUS_CONNECTED)</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="_wii_8h.html#a7ae9154397104e4df34302ed0884bbfb"> 77</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define nunchuck_connected_flag (l2cap_event_flag &amp; WII_FLAG_NUNCHUCK_CONNECTED)</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="_wii_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425"> 79</a></span>&#160;<span class="preprocessor">#define PAIR 1</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7"> 82</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> {</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"> 84</a></span>&#160; <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a> = 0,</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"> 86</a></span>&#160; <a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a> = 1,</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;};</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_w_i_i.html"> 94</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_w_i_i.html">WII</a> : <span class="keyword">public</span> <a class="code" href="class_bluetooth_service.html">BluetoothService</a> {</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII</a>(<a class="code" href="class_b_t_d.html">BTD</a> *p, <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">pair</a> = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a>(uint8_t* <a class="code" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">ACLData</a>);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">Run</a>();</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">Reset</a>();</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">disconnect</a>();</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608"> 133</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">pair</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">if</span>(pBtd)</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; pBtd-&gt;<a class="code" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a>();</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; uint8_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> a);</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; uint16_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e"> 154</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a>() {</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>)</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">return</span> compPitch;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a>();</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; };</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03"> 164</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a>() {</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>)</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordflow">return</span> compRoll;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">getWiimoteRoll</a>();</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; };</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11"> 176</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a>() {</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; };</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a>();</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a>();</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>();</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>();</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">setLedRaw</a>(uint8_t value);</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>();</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; uint8_t <a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a>();</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac"> 229</a></span>&#160; uint8_t <a class="code" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">getWiiState</a>() {</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keywordflow">return</span> wiiState;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; };</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387"> 237</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387">attachOnInit</a>(<span class="keywordtype">void</span> (*funcOnInit)(<span class="keywordtype">void</span>)) {</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; pFuncOnInit = funcOnInit;</div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa"> 239</a></span>&#160; };</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a>;</div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8"> 246</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a>;</div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c"> 248</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>;</div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16"> 250</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a>;</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <span class="comment">/* IMU Data, might be usefull if you need to do something more advanced than just calculating the angle */</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;</div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4"> 257</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">getWiimotePitch</a>() {</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordflow">return</span> (atan2(<a class="code" href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">accYwiimote</a>, <a class="code" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">accZwiimote</a>) + PI) * RAD_TO_DEG;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; };</div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60"> 260</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">getWiimoteRoll</a>() {</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <span class="keywordflow">return</span> (atan2(<a class="code" href="class_w_i_i.html#afaafee11ac191ba43b6a2b989cdd137c">accXwiimote</a>, <a class="code" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">accZwiimote</a>) + PI) * RAD_TO_DEG;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; };</div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a052ed48b0eea76fbd3858024ce962c6f"> 267</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a052ed48b0eea76fbd3858024ce962c6f">getNunchuckPitch</a>() {</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keywordflow">return</span> (atan2(<a class="code" href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">accYnunchuck</a>, <a class="code" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">accZnunchuck</a>) + PI) * RAD_TO_DEG;</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; };</div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a73e82829c5d13a4117ecd6d23b6c3d98"> 270</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a73e82829c5d13a4117ecd6d23b6c3d98">getNunchuckRoll</a>() {</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keywordflow">return</span> (atan2(<a class="code" href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">accXnunchuck</a>, <a class="code" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">accZnunchuck</a>) + PI) * RAD_TO_DEG;</div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8"> 272</a></span>&#160; };</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; int16_t <a class="code" href="class_w_i_i.html#afaafee11ac191ba43b6a2b989cdd137c">accXwiimote</a>, <a class="code" href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">accYwiimote</a>, <a class="code" href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">accZwiimote</a>;</div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6"> 278</a></span>&#160; int16_t <a class="code" href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">accXnunchuck</a>, <a class="code" href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">accYnunchuck</a>, <a class="code" href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">accZnunchuck</a>;</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="comment">/* Variables for the gyro inside the Motion Plus */</span></div>
<div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4"> 283</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">gyroPitch</a>;</div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8"> 285</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">gyroRoll</a>;</div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62"> 287</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;</div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded"> 291</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a>;</div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84"> 292</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a>;</div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6"> 293</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a>;</div>
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a"> 298</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a>;</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331"> 299</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">rollGyroScale</a>;</div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73"> 300</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a>;</div>
<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea"> 305</a></span>&#160; int16_t <a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">gyroYawRaw</a>;</div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8"> 306</a></span>&#160; int16_t <a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">gyroRollRaw</a>;</div>
<div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544"> 307</a></span>&#160; int16_t <a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a>;</div>
<div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2"> 312</a></span>&#160; int16_t <a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">gyroYawZero</a>;</div>
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9"> 313</a></span>&#160; int16_t <a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">gyroRollZero</a>;</div>
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3"> 314</a></span>&#160; int16_t <a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a>;</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;<span class="preprocessor">#ifdef WIICAMERA</span></div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">IRinitialize</a>();</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;</div>
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d"> 328</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">getIRx1</a>() {</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <span class="keywordflow">return</span> IR_object_x1;</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; };</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;</div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9"> 336</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">getIRy1</a>() {</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="keywordflow">return</span> IR_object_y1;</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; };</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;</div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421"> 344</a></span>&#160; uint8_t <a class="code" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">getIRs1</a>() {</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <span class="keywordflow">return</span> IR_object_s1;</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; };</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160;</div>
<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084"> 352</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">getIRx2</a>() {</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <span class="keywordflow">return</span> IR_object_x2;</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; };</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160;</div>
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d"> 360</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">getIRy2</a>() {</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; <span class="keywordflow">return</span> IR_object_y2;</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; };</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;</div>
<div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46"> 368</a></span>&#160; uint8_t <a class="code" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">getIRs2</a>() {</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordflow">return</span> IR_object_s2;</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; };</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;</div>
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e"> 376</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">getIRx3</a>() {</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keywordflow">return</span> IR_object_x3;</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; };</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160;</div>
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d"> 384</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">getIRy3</a>() {</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <span class="keywordflow">return</span> IR_object_y3;</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; };</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160;</div>
<div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e"> 392</a></span>&#160; uint8_t <a class="code" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">getIRs3</a>() {</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; <span class="keywordflow">return</span> IR_object_s3;</div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; };</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160;</div>
<div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"> 400</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">getIRx4</a>() {</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <span class="keywordflow">return</span> IR_object_x4;</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; };</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160;</div>
<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a"> 408</a></span>&#160; uint16_t <a class="code" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a">getIRy4</a>() {</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <span class="keywordflow">return</span> IR_object_y4;</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; };</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160;</div>
<div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735"> 416</a></span>&#160; uint8_t <a class="code" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">getIRs4</a>() {</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; <span class="keywordflow">return</span> IR_object_s4;</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; };</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160;</div>
<div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f"> 425</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">isIRCameraEnabled</a>() {</div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; <span class="keywordflow">return</span>(wiiState &amp; 0x08);</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; };</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <a class="code" href="class_b_t_d.html">BTD</a> *pBtd; <span class="comment">// Pointer to BTD instance</span></div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160;</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; <span class="keywordtype">void</span> onInit();</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; void (*pFuncOnInit)(void); <span class="comment">// Pointer to function called in onInit()</span></div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160;</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160; <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160;</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160; <span class="comment">/* Variables filled from HCI event management */</span></div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; uint16_t hci_handle;</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160; <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it&#39;s already has established a connection</span></div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160;</div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160; <span class="comment">/* Variables used by high level L2CAP task */</span></div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; uint8_t l2cap_state;</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; uint16_t l2cap_event_flag; <span class="comment">// l2cap flags of received Bluetooth events</span></div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160;</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; uint32_t ButtonState;</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; uint32_t OldButtonState;</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; uint32_t ButtonClickState;</div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; uint16_t hatValues[4];</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160;</div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160; uint8_t HIDBuffer[3]; <span class="comment">// Used to store HID commands</span></div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;</div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; uint16_t stateCounter;</div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160; <span class="keywordtype">bool</span> unknownExtensionConnected;</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160; <span class="keywordtype">bool</span> extensionConnected;</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; <span class="keywordtype">bool</span> checkExtension; <span class="comment">// Set to false when getBatteryLevel() is called otherwise if should be true</span></div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160; <span class="keywordtype">bool</span> motionPlusInside; <span class="comment">// True if it&#39;s a new Wiimote with the Motion Plus extension build into it</span></div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160;</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160; <span class="comment">/* L2CAP Channels */</span></div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160; uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; uint8_t control_dcid[2]; <span class="comment">// 0x0060</span></div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; uint8_t interrupt_dcid[2]; <span class="comment">// 0x0061</span></div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160; uint8_t identifier; <span class="comment">// Identifier for connection</span></div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160;</div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160; <span class="comment">/* HID Commands */</span></div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160; <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160; <span class="keywordtype">void</span> setReportMode(<span class="keywordtype">bool</span> continuous, uint8_t mode);</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160;</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; <span class="keywordtype">void</span> writeData(uint32_t offset, uint8_t size, uint8_t* data);</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; <span class="keywordtype">void</span> initExtension1();</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; <span class="keywordtype">void</span> initExtension2();</div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160;</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160; <span class="keywordtype">void</span> statusRequest(); <span class="comment">// Used to update the Wiimote state and battery level</span></div>
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160;</div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; <span class="keywordtype">void</span> readData(uint32_t offset, uint16_t size, <span class="keywordtype">bool</span> EEPROM);</div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; <span class="keywordtype">void</span> readExtensionType();</div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160; <span class="keywordtype">void</span> readCalData();</div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160;</div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160; <span class="keywordtype">void</span> checkMotionPresent(); <span class="comment">// Used to see if a Motion Plus is connected to the Wiimote</span></div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160; <span class="keywordtype">void</span> initMotionPlus();</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; <span class="keywordtype">void</span> activateMotionPlus();</div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160;</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160; <span class="keywordtype">double</span> compPitch; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; <span class="keywordtype">double</span> compRoll; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160;</div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160; <span class="keywordtype">bool</span> activateNunchuck;</div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; <span class="keywordtype">bool</span> motionValuesReset; <span class="comment">// This bool is true when the gyro values has been reset</span></div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160;</div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160; uint8_t wiiState; <span class="comment">// Stores the value in l2capinbuf[12] - (0x01: Battery is nearly empty), (0x02: An Extension Controller is connected), (0x04: Speaker enabled), (0x08: IR enabled), (0x10: LED1, 0x20: LED2, 0x40: LED3, 0x80: LED4)</span></div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160; uint8_t batteryLevel;</div>
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;</div>
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160;<span class="preprocessor">#ifdef WIICAMERA</span></div>
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160;<span class="preprocessor"></span> <span class="comment">/* Private function and variables for the readings from the IR Camera */</span></div>
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160; <span class="keywordtype">void</span> enableIRCamera1(); <span class="comment">// Sets bit 2 of output report 13</span></div>
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160; <span class="keywordtype">void</span> enableIRCamera2(); <span class="comment">// Sets bit 2 of output report 1A</span></div>
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160; <span class="keywordtype">void</span> writeSensitivityBlock1();</div>
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160; <span class="keywordtype">void</span> writeSensitivityBlock2();</div>
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160; <span class="keywordtype">void</span> write0x08Value();</div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; <span class="keywordtype">void</span> setWiiModeNumber(uint8_t mode_number);</div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160;</div>
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160; uint16_t IR_object_x1; <span class="comment">// IR x position 10 bits</span></div>
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160; uint16_t IR_object_y1; <span class="comment">// IR y position 10 bits</span></div>
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160; uint8_t IR_object_s1; <span class="comment">// IR size value</span></div>
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160; uint16_t IR_object_x2;</div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160; uint16_t IR_object_y2;</div>
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160; uint8_t IR_object_s2;</div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; uint16_t IR_object_x3; <span class="comment">// IR x position 10 bits</span></div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160; uint16_t IR_object_y3; <span class="comment">// IR y position 10 bits</span></div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160; uint8_t IR_object_s3; <span class="comment">// IR size value</span></div>
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160; uint16_t IR_object_x4;</div>
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160; uint16_t IR_object_y4;</div>
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160; uint8_t IR_object_s4;</div>
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160;<span class="preprocessor"></span>};</div>
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_w_i_i_html_ae25a8ea1b0713801e0209e795b4596fa"><div class="ttname"><a href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">WII::wiimoteConnected</a></div><div class="ttdeci">bool wiimoteConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00239">Wii.h:239</a></div></div>
<div class="ttc" id="class_w_i_i_html_a749ea9dd39ba9a5320c5b24ce93bc544"><div class="ttname"><a href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">WII::gyroPitchRaw</a></div><div class="ttdeci">int16_t gyroPitchRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00307">Wii.h:307</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6c0971ae4c9ab752888a5871020c8331"><div class="ttname"><a href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">WII::rollGyroScale</a></div><div class="ttdeci">uint16_t rollGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00299">Wii.h:299</a></div></div>
<div class="ttc" id="class_w_i_i_html_a052ed48b0eea76fbd3858024ce962c6f"><div class="ttname"><a href="class_w_i_i.html#a052ed48b0eea76fbd3858024ce962c6f">WII::getNunchuckPitch</a></div><div class="ttdeci">double getNunchuckPitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00267">Wii.h:267</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae7e07f929fba8f0ff061a1405baa2b58"><div class="ttname"><a href="class_w_i_i.html#ae7e07f929fba8f0ff061a1405baa2b58">WII::setLedRaw</a></div><div class="ttdeci">void setLedRaw(uint8_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00876">Wii.cpp:876</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0694969a30092b9b1dcb26120c7cff73"><div class="ttname"><a href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">WII::yawGyroScale</a></div><div class="ttdeci">uint16_t yawGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00300">Wii.h:300</a></div></div>
<div class="ttc" id="class_b_t_d_html"><div class="ttname"><a href="class_b_t_d.html">BTD</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00156">BTD.h:156</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2d8fd822e6e9c271d59c71dc7b757421"><div class="ttname"><a href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">WII::getIRs1</a></div><div class="ttdeci">uint8_t getIRs1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00344">Wii.h:344</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7aed1a7a35bf1b9c1003fbe3dd4a61a06d">HatX</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00084">Wii.h:84</a></div></div>
<div class="ttc" id="class_w_i_i_html_a05841e1975803d561f80aeb3dd0a4a1e"><div class="ttname"><a href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">WII::getIRs3</a></div><div class="ttdeci">uint8_t getIRs3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00392">Wii.h:392</a></div></div>
<div class="ttc" id="class_w_i_i_html_a73e82829c5d13a4117ecd6d23b6c3d98"><div class="ttname"><a href="class_w_i_i.html#a73e82829c5d13a4117ecd6d23b6c3d98">WII::getNunchuckRoll</a></div><div class="ttdeci">double getNunchuckRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00270">Wii.h:270</a></div></div>
<div class="ttc" id="class_w_i_i_html_a81e1eb4d9ef9999a84e71d764d54dff7"><div class="ttname"><a href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII::ACLData</a></div><div class="ttdeci">virtual void ACLData(uint8_t *ACLData)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00134">Wii.cpp:134</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2a0e4745bff7cfec644bcebe984c2bc8"><div class="ttname"><a href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">WII::gyroRoll</a></div><div class="ttdeci">double gyroRoll</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00285">Wii.h:285</a></div></div>
<div class="ttc" id="class_w_i_i_html_a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"><div class="ttname"><a href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">WII::getIRx4</a></div><div class="ttdeci">uint16_t getIRx4()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00400">Wii.h:400</a></div></div>
<div class="ttc" id="class_w_i_i_html_af7755e2b2a161a550c99de2ca1018ce3"><div class="ttname"><a href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">WII::setLedToggle</a></div><div class="ttdeci">void setLedToggle(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00893">Wii.cpp:893</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0d9c869bd3677c4488a586c38558a137"><div class="ttname"><a href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">WII::setRumbleOn</a></div><div class="ttdeci">void setRumbleOn()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00864">Wii.cpp:864</a></div></div>
<div class="ttc" id="class_w_i_i_html_a769ee2f9a0088da097438bc3cc677f7c"><div class="ttname"><a href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">WII::Reset</a></div><div class="ttdeci">virtual void Reset()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00103">Wii.cpp:103</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6ac037d884f97319892e8671ef070c03"><div class="ttname"><a href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">WII::getRoll</a></div><div class="ttdeci">double getRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00164">Wii.h:164</a></div></div>
<div class="ttc" id="class_w_i_i_html_a42af5743d2e3c2dbc01ea0b5531cc7c6"><div class="ttname"><a href="class_w_i_i.html#a42af5743d2e3c2dbc01ea0b5531cc7c6">WII::accZnunchuck</a></div><div class="ttdeci">int16_t accZnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae946f7d6e9ce89fb083f5f138c0736c2"><div class="ttname"><a href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">WII::getBatteryLevel</a></div><div class="ttdeci">uint8_t getBatteryLevel()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00912">Wii.cpp:912</a></div></div>
<div class="ttc" id="class_w_i_i_html_aabe4780f258dada1c0564a4ac7607370"><div class="ttname"><a href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII::disconnect</a></div><div class="ttdeci">virtual void disconnect()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00117">Wii.cpp:117</a></div></div>
<div class="ttc" id="class_w_i_i_html_a7efe7577ba30c218f6fbd3804a53d242"><div class="ttname"><a href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">WII::setLedOff</a></div><div class="ttdeci">void setLedOff(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00881">Wii.cpp:881</a></div></div>
<div class="ttc" id="class_w_i_i_html_a748172bd57804856594ea8e21601319e"><div class="ttname"><a href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">WII::getPitch</a></div><div class="ttdeci">double getPitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00154">Wii.h:154</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3a13b5931284d5bcd6647f681cda95b4"><div class="ttname"><a href="class_w_i_i.html#a3a13b5931284d5bcd6647f681cda95b4">WII::accXnunchuck</a></div><div class="ttdeci">int16_t accXnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div>
<div class="ttc" id="class_w_i_i_html_adbf9ccb1725dc432e07ca19468713116"><div class="ttname"><a href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">WII::getButtonClick</a></div><div class="ttdeci">bool getButtonClick(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01041">Wii.cpp:1041</a></div></div>
<div class="ttc" id="class_w_i_i_html_a8e9ac1d379db5c07c478401046a1c0ac"><div class="ttname"><a href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">WII::getWiiState</a></div><div class="ttdeci">uint8_t getWiiState()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00229">Wii.h:229</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aadcb6002d2b42fdfe01490f730ab00a6"><div class="ttname"><a href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a></div><div class="ttdeci">LED</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00027">controllerEnums.h:27</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae148de3c99b3fb4ef65ea62d2848df7d"><div class="ttname"><a href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">WII::getIRy2</a></div><div class="ttdeci">uint16_t getIRy2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00360">Wii.h:360</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0784c779ebeae2d459996c35a54ee3b8"><div class="ttname"><a href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">WII::gyroRollRaw</a></div><div class="ttdeci">int16_t gyroRollRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00306">Wii.h:306</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3505abbc01c71d134ce301dfb7c0c5b5"><div class="ttname"><a href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">WII::IRinitialize</a></div><div class="ttdeci">void IRinitialize()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01089">Wii.cpp:1089</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7ae2ac743b5ba1752933e09f1dac48d97b">HatY</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00086">Wii.h:86</a></div></div>
<div class="ttc" id="controller_enums_8h_html"><div class="ttname"><a href="controller_enums_8h.html">controllerEnums.h</a></div></div>
<div class="ttc" id="class_w_i_i_html_a551e48a50c7b60722e807e68ae25f084"><div class="ttname"><a href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">WII::getIRx2</a></div><div class="ttdeci">uint16_t getIRx2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00352">Wii.h:352</a></div></div>
<div class="ttc" id="class_w_i_i_html_af380eb3bf65ce33a60aaf35f74a44f6d"><div class="ttname"><a href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">WII::getIRx1</a></div><div class="ttdeci">uint16_t getIRx1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00328">Wii.h:328</a></div></div>
<div class="ttc" id="class_w_i_i_html_a841396b533cccccb05db37d35f6fef9c"><div class="ttname"><a href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">WII::setRumbleToggle</a></div><div class="ttdeci">void setRumbleToggle()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00870">Wii.cpp:870</a></div></div>
<div class="ttc" id="class_w_i_i_html_abbc31ecd4495d70258cfa095e34cb3c3"><div class="ttname"><a href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">WII::gyroPitchZero</a></div><div class="ttdeci">int16_t gyroPitchZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00314">Wii.h:314</a></div></div>
<div class="ttc" id="class_w_i_i_html_aea6ce6f3222df3e547e9957673c7a07a"><div class="ttname"><a href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">WII::pitchGyroScale</a></div><div class="ttdeci">uint16_t pitchGyroScale</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00298">Wii.h:298</a></div></div>
<div class="ttc" id="class_w_i_i_html_a9a58b857c84fa82152be7983efe70f60"><div class="ttname"><a href="class_w_i_i.html#a9a58b857c84fa82152be7983efe70f60">WII::getWiimoteRoll</a></div><div class="ttdeci">double getWiimoteRoll()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00260">Wii.h:260</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6597cb0e240a8ccb4ebdb236daef712e"><div class="ttname"><a href="class_w_i_i.html#a6597cb0e240a8ccb4ebdb236daef712e">WII::WII</a></div><div class="ttdeci">WII(BTD *p, bool pair=false)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00084">Wii.cpp:84</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3fb552c6ad486e23434dcb347a2a4b84"><div class="ttname"><a href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">WII::rollGyroSpeed</a></div><div class="ttdeci">double rollGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00292">Wii.h:292</a></div></div>
<div class="ttc" id="class_w_i_i_html_aef56b9f37422b0a41642b39d10db0735"><div class="ttname"><a href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">WII::getIRs4</a></div><div class="ttdeci">uint8_t getIRs4()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00416">Wii.h:416</a></div></div>
<div class="ttc" id="class_w_i_i_html_a5e778f879c6d0a73a94bd61e42d05b8d"><div class="ttname"><a href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">WII::getIRy3</a></div><div class="ttdeci">uint16_t getIRy3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00384">Wii.h:384</a></div></div>
<div class="ttc" id="class_bluetooth_service_html"><div class="ttname"><a href="class_bluetooth_service.html">BluetoothService</a></div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00137">BTD.h:137</a></div></div>
<div class="ttc" id="class_w_i_i_html_a5d3b4a33ebc2ca9ebb154e10a05dbdd4"><div class="ttname"><a href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">WII::setLedStatus</a></div><div class="ttdeci">void setLedStatus()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00899">Wii.cpp:899</a></div></div>
<div class="ttc" id="class_w_i_i_html_a3a7b9dd571c5a8597bfb194000bd517c"><div class="ttname"><a href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">WII::setLedOn</a></div><div class="ttdeci">void setLedOn(LED a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00887">Wii.cpp:887</a></div></div>
<div class="ttc" id="class_w_i_i_html_aa2c14275d9e482e6add06cb34ccf1197"><div class="ttname"><a href="class_w_i_i.html#aa2c14275d9e482e6add06cb34ccf1197">WII::accYwiimote</a></div><div class="ttdeci">int16_t accYwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div>
<div class="ttc" id="class_w_i_i_html_a461f5b7a5f2bc874e107fc776c284b16"><div class="ttname"><a href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">WII::wiiUProControllerConnected</a></div><div class="ttdeci">bool wiiUProControllerConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00250">Wii.h:250</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2c5c32841b020b248f757cb793acb936"><div class="ttname"><a href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">WII::setRumbleOff</a></div><div class="ttdeci">void setRumbleOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00858">Wii.cpp:858</a></div></div>
<div class="ttc" id="class_w_i_i_html_a6e97bfcfb134b63d7190ba1bc326e1d3"><div class="ttname"><a href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">WII::setAllOff</a></div><div class="ttdeci">void setAllOff()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00852">Wii.cpp:852</a></div></div>
<div class="ttc" id="class_w_i_i_html_a341b9a50bfdb18af9c66a3079e5804d9"><div class="ttname"><a href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">WII::getIRy1</a></div><div class="ttdeci">uint16_t getIRy1()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00336">Wii.h:336</a></div></div>
<div class="ttc" id="class_w_i_i_html_a5648a03968d0c2331867f9b7bcaa3e3e"><div class="ttname"><a href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">WII::getIRx3</a></div><div class="ttdeci">uint16_t getIRx3()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00376">Wii.h:376</a></div></div>
<div class="ttc" id="class_w_i_i_html_a988db5b35cfc3c543f93f49587a50e62"><div class="ttname"><a href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">WII::gyroYaw</a></div><div class="ttdeci">double gyroYaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00287">Wii.h:287</a></div></div>
<div class="ttc" id="class_w_i_i_html_a7cb4cec343c65fd350e6b05043d7f1a8"><div class="ttname"><a href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">WII::nunchuckConnected</a></div><div class="ttdeci">bool nunchuckConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00246">Wii.h:246</a></div></div>
<div class="ttc" id="class_w_i_i_html_a759837b933f63ce7c3235639be29250a"><div class="ttname"><a href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a">WII::getIRy4</a></div><div class="ttdeci">uint16_t getIRy4()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00408">Wii.h:408</a></div></div>
<div class="ttc" id="class_w_i_i_html_ab813b65548e827f41a5192fcc34056ea"><div class="ttname"><a href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">WII::gyroYawRaw</a></div><div class="ttdeci">int16_t gyroYawRaw</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00305">Wii.h:305</a></div></div>
<div class="ttc" id="class_w_i_i_html_acf4b3ef0a4fa0cf71133a22213361288"><div class="ttname"><a href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">WII::getButtonPress</a></div><div class="ttdeci">bool getButtonPress(Button b)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01034">Wii.cpp:1034</a></div></div>
<div class="ttc" id="class_w_i_i_html_a0a444d7e348026e062751cf723877e8f"><div class="ttname"><a href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">WII::isIRCameraEnabled</a></div><div class="ttdeci">bool isIRCameraEnabled()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00425">Wii.h:425</a></div></div>
<div class="ttc" id="_wii_8h_html_a3edd2b2fd262b698309012868fad0be7"><div class="ttname"><a href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a></div><div class="ttdeci">Hat</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00082">Wii.h:82</a></div></div>
<div class="ttc" id="class_w_i_i_html_af384f13c59fee08a4be0c541e6a9b387"><div class="ttname"><a href="class_w_i_i.html#af384f13c59fee08a4be0c541e6a9b387">WII::attachOnInit</a></div><div class="ttdeci">void attachOnInit(void(*funcOnInit)(void))</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00237">Wii.h:237</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae92e129c54c8131f4a2c55582dfd2f11"><div class="ttname"><a href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">WII::getYaw</a></div><div class="ttdeci">double getYaw()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00176">Wii.h:176</a></div></div>
<div class="ttc" id="class_w_i_i_html_a2fb34f50b5374c9442af263f61595af4"><div class="ttname"><a href="class_w_i_i.html#a2fb34f50b5374c9442af263f61595af4">WII::getWiimotePitch</a></div><div class="ttdeci">double getWiimotePitch()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00257">Wii.h:257</a></div></div>
<div class="ttc" id="class_w_i_i_html_a39c3101b26cc549d5258018b3d05c608"><div class="ttname"><a href="class_w_i_i.html#a39c3101b26cc549d5258018b3d05c608">WII::pair</a></div><div class="ttdeci">void pair(void)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00133">Wii.h:133</a></div></div>
<div class="ttc" id="controller_enums_8h_html_a03bfec859eac87be20f8952c1eb89de0"><div class="ttname"><a href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a></div><div class="ttdeci">Button</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00044">controllerEnums.h:44</a></div></div>
<div class="ttc" id="class_w_i_i_html_ad5df436cc5d073f26bf3ea5c60d788d6"><div class="ttname"><a href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">WII::yawGyroSpeed</a></div><div class="ttdeci">double yawGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00293">Wii.h:293</a></div></div>
<div class="ttc" id="class_w_i_i_html_ae657585a560e9d214e6c0219f8b47aeb"><div class="ttname"><a href="class_w_i_i.html#ae657585a560e9d214e6c0219f8b47aeb">WII::accYnunchuck</a></div><div class="ttdeci">int16_t accYnunchuck</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00278">Wii.h:278</a></div></div>
<div class="ttc" id="class_w_i_i_html_ad4f0d2456c56414f9b8013b85a1ee7d2"><div class="ttname"><a href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">WII::gyroYawZero</a></div><div class="ttdeci">int16_t gyroYawZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00312">Wii.h:312</a></div></div>
<div class="ttc" id="class_w_i_i_html_acfb290a86aa9a65dd4ae84d02e3c6ded"><div class="ttname"><a href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">WII::pitchGyroSpeed</a></div><div class="ttdeci">double pitchGyroSpeed</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00291">Wii.h:291</a></div></div>
<div class="ttc" id="class_b_t_d_html_a6b66a27c0fd359e3129f53451352b55c"><div class="ttname"><a href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">BTD::pairWithWiimote</a></div><div class="ttdeci">void pairWithWiimote()</div><div class="ttdef"><b>Definition:</b> <a href="_b_t_d_8h_source.html#l00412">BTD.h:412</a></div></div>
<div class="ttc" id="class_w_i_i_html_accf6ca623ffe93b3c78aaf60c7fd1f46"><div class="ttname"><a href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">WII::getIRs2</a></div><div class="ttdeci">uint8_t getIRs2()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00368">Wii.h:368</a></div></div>
<div class="ttc" id="class_w_i_i_html_af61f57d34b81f2a878f0126a074e3af4"><div class="ttname"><a href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">WII::gyroPitch</a></div><div class="ttdeci">double gyroPitch</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00283">Wii.h:283</a></div></div>
<div class="ttc" id="class_w_i_i_html"><div class="ttname"><a href="class_w_i_i.html">WII</a></div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00094">Wii.h:94</a></div></div>
<div class="ttc" id="_b_t_d_8h_html"><div class="ttname"><a href="_b_t_d_8h.html">BTD.h</a></div></div>
<div class="ttc" id="class_w_i_i_html_a72bd4fad2e524276712a154b8cc2a16c"><div class="ttname"><a href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">WII::motionPlusConnected</a></div><div class="ttdeci">bool motionPlusConnected</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00248">Wii.h:248</a></div></div>
<div class="ttc" id="class_w_i_i_html_a10d91cd5d73bc655be776b44d27004c9"><div class="ttname"><a href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">WII::gyroRollZero</a></div><div class="ttdeci">int16_t gyroRollZero</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00313">Wii.h:313</a></div></div>
<div class="ttc" id="controller_enums_8h_html_aaaabdefc068fd57ec2bef2b62ea4ba92"><div class="ttname"><a href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a></div><div class="ttdeci">AnalogHat</div><div class="ttdef"><b>Definition:</b> <a href="controller_enums_8h_source.html#l00109">controllerEnums.h:109</a></div></div>
<div class="ttc" id="class_w_i_i_html_ac5cd06f3e9aa2a0d9b9691f00c047e72"><div class="ttname"><a href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII::Run</a></div><div class="ttdeci">virtual void Run()</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l00682">Wii.cpp:682</a></div></div>
<div class="ttc" id="class_w_i_i_html_afaafee11ac191ba43b6a2b989cdd137c"><div class="ttname"><a href="class_w_i_i.html#afaafee11ac191ba43b6a2b989cdd137c">WII::accXwiimote</a></div><div class="ttdeci">int16_t accXwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div>
<div class="ttc" id="class_w_i_i_html_ab16e907132354be9848fd91a6a5171db"><div class="ttname"><a href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">WII::getAnalogHat</a></div><div class="ttdeci">uint8_t getAnalogHat(Hat a)</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8cpp_source.html#l01052">Wii.cpp:1052</a></div></div>
<div class="ttc" id="class_w_i_i_html_acdebdaab544ffcecf8ab09adacbd28c8"><div class="ttname"><a href="class_w_i_i.html#acdebdaab544ffcecf8ab09adacbd28c8">WII::accZwiimote</a></div><div class="ttdeci">int16_t accZwiimote</div><div class="ttdef"><b>Definition:</b> <a href="_wii_8h_source.html#l00272">Wii.h:272</a></div></div>
</div><!-- fragment --></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.5
</small></address>
</body>
</html>