diff options
Diffstat (limited to 'Doc/doxygen/html/_motion_controller_8h_source.html')
-rw-r--r-- | Doc/doxygen/html/_motion_controller_8h_source.html | 348 |
1 files changed, 348 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_motion_controller_8h_source.html b/Doc/doxygen/html/_motion_controller_8h_source.html new file mode 100644 index 0000000..79660cd --- /dev/null +++ b/Doc/doxygen/html/_motion_controller_8h_source.html @@ -0,0 +1,348 @@ +<!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"/> +<title>Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/MotionController.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="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</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" /> +</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">Starshatter_Open + </div> + <div id="projectbrief">Open source Starshatter engine</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.1 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</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 List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('_motion_controller_8h.html','');}); +</script> +<div id="doc-content"> +<!-- 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</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 class="header"> + <div class="headertitle"> +<div class="title">MotionController.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="_motion_controller_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> <span class="comment">/* Project nGenEx</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> Destroyer Studios LLC</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> Copyright © 1997-2004. All Rights Reserved.</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> SUBSYSTEM: nGenEx.lib</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> FILE: MotionController.h</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> AUTHOR: John DiCamillo</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> OVERVIEW</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> ========</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> Abstract MotionController class (hides details of Joystick, Keyboard, etc.)</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">*/</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef MoCon_h</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define MoCon_h</span></div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> +<div class="line"><a name="l00020"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html"> 20</a></span> <span class="keyword">struct </span><a class="code" href="struct_key_map_entry.html">KeyMapEntry</a></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div> +<div class="line"><a name="l00022"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#a6305a9491b11d34261b4b0f190970e96"> 22</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_key_map_entry.html#a6305a9491b11d34261b4b0f190970e96">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"KeyMapEntry"</span>; }</div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> +<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#afc813a26b46710fa439935f236aacca1"> 24</a></span>  <a class="code" href="struct_key_map_entry.html#afc813a26b46710fa439935f236aacca1">KeyMapEntry</a>() : <a class="code" href="struct_key_map_entry.html#aa9fc6d3adca7cd451488bf4e44db4e98">act</a>(0), <a class="code" href="struct_key_map_entry.html#a6ac4ab76248c92ea67701b4afd36a362">key</a>(0), <a class="code" href="struct_key_map_entry.html#a10742172567e114809a806d2f14a6030">alt</a>(0), <a class="code" href="struct_key_map_entry.html#ad8c54a39d4d16e5ca06d1d3883b4d4b0">joy</a>(0) { }</div> +<div class="line"><a name="l00025"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#ad80996807984767c8c4689451fbb10f4"> 25</a></span>  <a class="code" href="struct_key_map_entry.html#ad80996807984767c8c4689451fbb10f4">KeyMapEntry</a>(<span class="keywordtype">int</span> a, <span class="keywordtype">int</span> k, <span class="keywordtype">int</span> s=0, <span class="keywordtype">int</span> j=0) : <a class="code" href="struct_key_map_entry.html#aa9fc6d3adca7cd451488bf4e44db4e98">act</a>(a), <a class="code" href="struct_key_map_entry.html#a6ac4ab76248c92ea67701b4afd36a362">key</a>(k), <a class="code" href="struct_key_map_entry.html#a10742172567e114809a806d2f14a6030">alt</a>(s), <a class="code" href="struct_key_map_entry.html#ad8c54a39d4d16e5ca06d1d3883b4d4b0">joy</a>(j) { }</div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> +<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#a78bef4fc6f6504b07eb3326529f791c5"> 27</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_key_map_entry.html#a78bef4fc6f6504b07eb3326529f791c5">operator==</a>(<span class="keyword">const</span> <a class="code" href="struct_key_map_entry.html">KeyMapEntry</a>& k)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="struct_key_map_entry.html#aa9fc6d3adca7cd451488bf4e44db4e98">act</a>==k.<a class="code" href="struct_key_map_entry.html#aa9fc6d3adca7cd451488bf4e44db4e98">act</a> && <a class="code" href="struct_key_map_entry.html#a6ac4ab76248c92ea67701b4afd36a362">key</a>==k.<a class="code" href="struct_key_map_entry.html#a6ac4ab76248c92ea67701b4afd36a362">key</a> && <a class="code" href="struct_key_map_entry.html#a10742172567e114809a806d2f14a6030">alt</a>==k.<a class="code" href="struct_key_map_entry.html#a10742172567e114809a806d2f14a6030">alt</a> && <a class="code" href="struct_key_map_entry.html#ad8c54a39d4d16e5ca06d1d3883b4d4b0">joy</a>==k.<a class="code" href="struct_key_map_entry.html#ad8c54a39d4d16e5ca06d1d3883b4d4b0">joy</a>; }</div> +<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#ad58944092307183b512130c4b49f9969"> 28</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_key_map_entry.html#ad58944092307183b512130c4b49f9969">operator!=</a>(<span class="keyword">const</span> <a class="code" href="struct_key_map_entry.html">KeyMapEntry</a>& k)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !(*<span class="keyword">this</span>==k); }</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> +<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#aa9fc6d3adca7cd451488bf4e44db4e98"> 30</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_key_map_entry.html#aa9fc6d3adca7cd451488bf4e44db4e98">act</a>;</div> +<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#a6ac4ab76248c92ea67701b4afd36a362"> 31</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_key_map_entry.html#a6ac4ab76248c92ea67701b4afd36a362">key</a>;</div> +<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#a10742172567e114809a806d2f14a6030"> 32</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_key_map_entry.html#a10742172567e114809a806d2f14a6030">alt</a>;</div> +<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="struct_key_map_entry.html#ad8c54a39d4d16e5ca06d1d3883b4d4b0"> 33</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_key_map_entry.html#ad8c54a39d4d16e5ca06d1d3883b4d4b0">joy</a>;</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> };</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div> +<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a29b377edf77dba3631f8bbc58cc3157f"> 38</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a29b377edf77dba3631f8bbc58cc3157f">KEY_MAP_SIZE</a> = 256;</div> +<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a74977c86f7470e573e32a741a8c24e4f"> 39</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a74977c86f7470e573e32a741a8c24e4f">KEY_BASE_SIZE</a> = 64;</div> +<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a353294e739ba96fc950b2a81a8aa8ada"> 40</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a353294e739ba96fc950b2a81a8aa8ada">KEY_USER_SIZE</a> = <a class="code" href="_motion_controller_8h.html#a29b377edf77dba3631f8bbc58cc3157f">KEY_MAP_SIZE</a> - <a class="code" href="_motion_controller_8h.html#a74977c86f7470e573e32a741a8c24e4f">KEY_BASE_SIZE</a>;</div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> +<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#aabc0b839631d6d942e010786811843f3"> 42</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#aabc0b839631d6d942e010786811843f3">KEY_MAP_BASE</a> = 0;</div> +<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a2c445b412fd0dd3171a374c58135a4bc"> 43</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a2c445b412fd0dd3171a374c58135a4bc">KEY_MAP_END</a> = <a class="code" href="_motion_controller_8h.html#aabc0b839631d6d942e010786811843f3">KEY_MAP_BASE</a> + <a class="code" href="_motion_controller_8h.html#a74977c86f7470e573e32a741a8c24e4f">KEY_BASE_SIZE</a> - 1;</div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div> +<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a3a733366c7fbe6936c489f414817e664"> 45</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a3a733366c7fbe6936c489f414817e664">KEY_USER_BASE</a> = <a class="code" href="_motion_controller_8h.html#a2c445b412fd0dd3171a374c58135a4bc">KEY_MAP_END</a> + 1;</div> +<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a65bd5550d474032b982c434b730f6609"> 46</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a65bd5550d474032b982c434b730f6609">KEY_USER_END</a> = <a class="code" href="_motion_controller_8h.html#a3a733366c7fbe6936c489f414817e664">KEY_USER_BASE</a> + <a class="code" href="_motion_controller_8h.html#a353294e739ba96fc950b2a81a8aa8ada">KEY_USER_SIZE</a> - 1;</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div> +<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a02b08796cc907f2dc0c21ca8851d9b24"> 48</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a02b08796cc907f2dc0c21ca8851d9b24">KEY_MAP_FIRST</a> = <a class="code" href="_motion_controller_8h.html#aabc0b839631d6d942e010786811843f3">KEY_MAP_BASE</a>;</div> +<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a3d61430db1c32683af46a0c4ae9f4ca8"> 49</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a3d61430db1c32683af46a0c4ae9f4ca8">KEY_MAP_LAST</a> = <a class="code" href="_motion_controller_8h.html#aabc0b839631d6d942e010786811843f3">KEY_MAP_BASE</a> + <a class="code" href="_motion_controller_8h.html#a29b377edf77dba3631f8bbc58cc3157f">KEY_MAP_SIZE</a> - 1;</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment">// MAP NAMES:</span></div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> +<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a9b02a3d90ad86da838a77dcf7f80a8ef"> 53</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a9b02a3d90ad86da838a77dcf7f80a8ef">KEY_PLUS_X</a> = 1;</div> +<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#afc23253e430478cc2b4a39e1a20b2f28"> 54</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#afc23253e430478cc2b4a39e1a20b2f28">KEY_MINUS_X</a> = 2;</div> +<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#abe117b4f6ad43c21f147e4c80052732b"> 55</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#abe117b4f6ad43c21f147e4c80052732b">KEY_PLUS_Y</a> = 3;</div> +<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a922323d863c6a5e17ab54704bceb4ad7"> 56</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a922323d863c6a5e17ab54704bceb4ad7">KEY_MINUS_Y</a> = 4;</div> +<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a7ba2ae2e34f75f4c1163cebf71d8a75c"> 57</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a7ba2ae2e34f75f4c1163cebf71d8a75c">KEY_PLUS_Z</a> = 5;</div> +<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a2aff0b47da939e0b71cd1d0fb22dce95"> 58</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a2aff0b47da939e0b71cd1d0fb22dce95">KEY_MINUS_Z</a> = 6;</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> +<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a974a293b686c99ad4517225dc4904efe"> 60</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a974a293b686c99ad4517225dc4904efe">KEY_PITCH_UP</a> = 7;</div> +<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#adb56803640920d3b0fe990f77663e2f3"> 61</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#adb56803640920d3b0fe990f77663e2f3">KEY_PITCH_DOWN</a> = 8;</div> +<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#afde6cb36f7ea65d465f820e6c5901fd7"> 62</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#afde6cb36f7ea65d465f820e6c5901fd7">KEY_YAW_LEFT</a> = 9;</div> +<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a5c6d91b75e56fd2d54ee8cccd4609d12"> 63</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a5c6d91b75e56fd2d54ee8cccd4609d12">KEY_YAW_RIGHT</a> = 10;</div> +<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#aaac0d262d69f6f665d99e51007f9e54b"> 64</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#aaac0d262d69f6f665d99e51007f9e54b">KEY_ROLL_LEFT</a> = 11;</div> +<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a6b016d6a5c5350f0aa3a4a575e18f6a0"> 65</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a6b016d6a5c5350f0aa3a4a575e18f6a0">KEY_ROLL_RIGHT</a> = 12;</div> +<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a90960c6113ed343c893f3e16cbbc698b"> 66</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a90960c6113ed343c893f3e16cbbc698b">KEY_CENTER</a> = 13;</div> +<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#aedbb692f326b62cbef15aea586143217"> 67</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#aedbb692f326b62cbef15aea586143217">KEY_ROLL_ENABLE</a> = 14;</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div> +<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a152e816e84cc7cdc73329b621db60325"> 69</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a152e816e84cc7cdc73329b621db60325">KEY_ACTION_0</a> = 15;</div> +<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a2509fbf15590b74a6dae3af227646acc"> 70</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a2509fbf15590b74a6dae3af227646acc">KEY_ACTION_1</a> = 16;</div> +<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ac26bff5bc2d9a84ff83d21d51f7524b0"> 71</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ac26bff5bc2d9a84ff83d21d51f7524b0">KEY_ACTION_2</a> = 17;</div> +<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a8402a0b0a82dd5f641973c236355d2a4"> 72</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a8402a0b0a82dd5f641973c236355d2a4">KEY_ACTION_3</a> = 18;</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div> +<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a7ca37a1499d18c1b35a34e6542d400f7"> 74</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a7ca37a1499d18c1b35a34e6542d400f7">KEY_CONTROL_MODEL</a> = 19;</div> +<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#af4814c3fbcf2436441e2a75f47555ad4"> 75</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#af4814c3fbcf2436441e2a75f47555ad4">KEY_MOUSE_SELECT</a> = 20;</div> +<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a273eb166b8f2549c0eb16056d03989aa"> 76</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a273eb166b8f2549c0eb16056d03989aa">KEY_MOUSE_SENSE</a> = 21;</div> +<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a33b013547a24d1910d33f684acc11387"> 77</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a33b013547a24d1910d33f684acc11387">KEY_MOUSE_SWAP</a> = 22;</div> +<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a520bcc565abfaf1d08281038be41c34d"> 78</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a520bcc565abfaf1d08281038be41c34d">KEY_MOUSE_INVERT</a> = 23;</div> +<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a3a93dc100f32813c0e6ff32004dc38ec"> 79</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a3a93dc100f32813c0e6ff32004dc38ec">KEY_MOUSE_ACTIVE</a> = 24;</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> +<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a20f3b0d67bbecbe13fc25e0671969068"> 81</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a20f3b0d67bbecbe13fc25e0671969068">KEY_JOY_SELECT</a> = 25;</div> +<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ae7c654ed52ba9090c3a39ef578c99b12"> 82</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ae7c654ed52ba9090c3a39ef578c99b12">KEY_JOY_THROTTLE</a> = 26;</div> +<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#afa68fd5676bcc97916aa22df5f327da9"> 83</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#afa68fd5676bcc97916aa22df5f327da9">KEY_JOY_RUDDER</a> = 27;</div> +<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a7fd617127c90ce7ec2e8745f16a86e00"> 84</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a7fd617127c90ce7ec2e8745f16a86e00">KEY_JOY_SENSE</a> = 28;</div> +<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a236e5a5416ccc5d4bf1cd37abd103d0b"> 85</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a236e5a5416ccc5d4bf1cd37abd103d0b">KEY_JOY_DEAD_ZONE</a> = 29;</div> +<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a00d4b829f1de46d72baa625b86463146"> 86</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a00d4b829f1de46d72baa625b86463146">KEY_JOY_SWAP</a> = 30;</div> +<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div> +<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a46e815d194ec869b4ce7810a46d56874"> 88</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a46e815d194ec869b4ce7810a46d56874">KEY_AXIS_YAW</a> = 32;</div> +<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a149253518a721e15b2cfc47c97138a13"> 89</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a149253518a721e15b2cfc47c97138a13">KEY_AXIS_PITCH</a> = 33;</div> +<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a569201467a3c3a5d63b32ffe3626c39a"> 90</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a569201467a3c3a5d63b32ffe3626c39a">KEY_AXIS_ROLL</a> = 34;</div> +<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a4f68bc374cc22433d488596cfe5e8ad9"> 91</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a4f68bc374cc22433d488596cfe5e8ad9">KEY_AXIS_THROTTLE</a> = 35;</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> +<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#acf63de12c3ec0ca0a3ee00c117361045"> 93</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#acf63de12c3ec0ca0a3ee00c117361045">KEY_AXIS_YAW_INVERT</a> = 38;</div> +<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a942aa0803ddd70e68cd023f1b05c9b9d"> 94</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a942aa0803ddd70e68cd023f1b05c9b9d">KEY_AXIS_PITCH_INVERT</a> = 39;</div> +<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a548bda94aa005c7624947f36e1d55f55"> 95</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a548bda94aa005c7624947f36e1d55f55">KEY_AXIS_ROLL_INVERT</a> = 40;</div> +<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a0cbe88a4b85a9b1e7d0f5e8d10624dc0"> 96</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a0cbe88a4b85a9b1e7d0f5e8d10624dc0">KEY_AXIS_THROTTLE_INVERT</a> = 41;</div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment">// CONTROL VALUES:</span></div> +<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div> +<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment">// joystick buttons and switches must use</span></div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment">// ids greater than 255 so they don't interfere</span></div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment">// with extended ascii numbers for keyboard keys</span></div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div> +<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ab0db2b166ee6346ff22787b52f7d5ad2"> 105</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ab0db2b166ee6346ff22787b52f7d5ad2">KEY_JOY_AXIS_X</a> = 0x1A0;</div> +<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ac7cef32473422ab77ad779db9e68f886"> 106</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ac7cef32473422ab77ad779db9e68f886">KEY_JOY_AXIS_Y</a> = 0x1A1;</div> +<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ae917278a35f2744bc273b44e2bcc56a3"> 107</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ae917278a35f2744bc273b44e2bcc56a3">KEY_JOY_AXIS_Z</a> = 0x1A2;</div> +<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a8f90f2d49831a1df397eca455255d352"> 108</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a8f90f2d49831a1df397eca455255d352">KEY_JOY_AXIS_RX</a> = 0x1A3;</div> +<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a312a9f12c5ca346e173fc3e6c22772b9"> 109</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a312a9f12c5ca346e173fc3e6c22772b9">KEY_JOY_AXIS_RY</a> = 0x1A4;</div> +<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a17f1277afc958d9d783d05e9a463cc82"> 110</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a17f1277afc958d9d783d05e9a463cc82">KEY_JOY_AXIS_RZ</a> = 0x1A5;</div> +<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a5b8bd8ca7a63c7202898204e240749ef"> 111</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a5b8bd8ca7a63c7202898204e240749ef">KEY_JOY_AXIS_S0</a> = 0x1A6;</div> +<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ac84c84968315e8acd7a3d2c5220a1bac"> 112</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ac84c84968315e8acd7a3d2c5220a1bac">KEY_JOY_AXIS_S1</a> = 0x1A7;</div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> +<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a167cb1b3faf03c78b47865f939596fb4"> 114</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a167cb1b3faf03c78b47865f939596fb4">KEY_JOY_1</a> = 0x1C1;</div> +<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a2aedfebe38a9b4f45ffb72428fbef3f6"> 115</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a2aedfebe38a9b4f45ffb72428fbef3f6">KEY_JOY_2</a> = 0x1C2;</div> +<div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a847326e22cdf3e32ae68a5b26545963a"> 116</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a847326e22cdf3e32ae68a5b26545963a">KEY_JOY_3</a> = 0x1C3;</div> +<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#adc5207edab474935e0502f1e35fed480"> 117</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#adc5207edab474935e0502f1e35fed480">KEY_JOY_4</a> = 0x1C4;</div> +<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a06e8e9909726de93daac9a0eb3c87400"> 118</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a06e8e9909726de93daac9a0eb3c87400">KEY_JOY_5</a> = 0x1C5;</div> +<div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a7ba32873f4e6211c5ed65aef09d72596"> 119</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a7ba32873f4e6211c5ed65aef09d72596">KEY_JOY_6</a> = 0x1C6;</div> +<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a92db03216983db41d699174c0ae68c4e"> 120</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a92db03216983db41d699174c0ae68c4e">KEY_JOY_7</a> = 0x1C7;</div> +<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a4d66f54ca1068c7bdc8f2b4eb3fc63a5"> 121</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a4d66f54ca1068c7bdc8f2b4eb3fc63a5">KEY_JOY_8</a> = 0x1C8;</div> +<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a6865247756489a9421fb17eab124c9b7"> 122</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a6865247756489a9421fb17eab124c9b7">KEY_JOY_9</a> = 0x1C9;</div> +<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ad5f9436f564a983378c0d013145fcb3a"> 123</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ad5f9436f564a983378c0d013145fcb3a">KEY_JOY_10</a> = 0x1CA;</div> +<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a47ac03a0d6a526d009bae547c8475da2"> 124</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a47ac03a0d6a526d009bae547c8475da2">KEY_JOY_11</a> = 0x1CB;</div> +<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#acd6a44383e746c220b1ea1398f71933c"> 125</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#acd6a44383e746c220b1ea1398f71933c">KEY_JOY_12</a> = 0x1CC;</div> +<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a116e707f053c6f1875406fec678571e7"> 126</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a116e707f053c6f1875406fec678571e7">KEY_JOY_13</a> = 0x1CD;</div> +<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a6718ed26145875bf4768e4d9c6938c69"> 127</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a6718ed26145875bf4768e4d9c6938c69">KEY_JOY_14</a> = 0x1CE;</div> +<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a5cad1b3066424b329658004ebebd343d"> 128</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a5cad1b3066424b329658004ebebd343d">KEY_JOY_15</a> = 0x1CF;</div> +<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a310747743670000ca72ffdc111c2e564"> 129</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a310747743670000ca72ffdc111c2e564">KEY_JOY_16</a> = 0x1D0;</div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div> +<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#aacb47b4457c7b7270ff12d0846b28a8a"> 131</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#aacb47b4457c7b7270ff12d0846b28a8a">KEY_JOY_32</a> = 0x1E0;</div> +<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div> +<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a74d2cfd593a0a8f6f0f264bbc90ebff4"> 133</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a74d2cfd593a0a8f6f0f264bbc90ebff4">KEY_POV_0_UP</a> = 0x1F0;</div> +<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a1ca49d2d34134497aee01f21a89928ef"> 134</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a1ca49d2d34134497aee01f21a89928ef">KEY_POV_0_DOWN</a> = 0x1F1;</div> +<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ad3ead7ca846ff6c22f001ed72c33f478"> 135</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ad3ead7ca846ff6c22f001ed72c33f478">KEY_POV_0_LEFT</a> = 0x1F2;</div> +<div class="line"><a name="l00136"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a8ab91056782b72b23dec847c39e99ae3"> 136</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a8ab91056782b72b23dec847c39e99ae3">KEY_POV_0_RIGHT</a> = 0x1F3;</div> +<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div> +<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a1bbcd39b50fd704a109d32b7c12cee14"> 138</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a1bbcd39b50fd704a109d32b7c12cee14">KEY_POV_1_UP</a> = 0x1F4;</div> +<div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a7b5668c5ded9b923693557f33830c6ee"> 139</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a7b5668c5ded9b923693557f33830c6ee">KEY_POV_1_DOWN</a> = 0x1F5;</div> +<div class="line"><a name="l00140"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#adb63e72cc3d5dfda133019f1df912c4e"> 140</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#adb63e72cc3d5dfda133019f1df912c4e">KEY_POV_1_LEFT</a> = 0x1F6;</div> +<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ae0cdbac7e76148166bb1b956034a5f78"> 141</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ae0cdbac7e76148166bb1b956034a5f78">KEY_POV_1_RIGHT</a> = 0x1F7;</div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div> +<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a210488a33037073c2c6634decebebd61"> 143</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a210488a33037073c2c6634decebebd61">KEY_POV_2_UP</a> = 0x1F8;</div> +<div class="line"><a name="l00144"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a951cec80a1b98620a5b18fecb526aaf9"> 144</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a951cec80a1b98620a5b18fecb526aaf9">KEY_POV_2_DOWN</a> = 0x1F9;</div> +<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a2782824b14e5bef748b3f82d9444025e"> 145</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a2782824b14e5bef748b3f82d9444025e">KEY_POV_2_LEFT</a> = 0x1FA;</div> +<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a01e987892a3130a2c4f6a5bc9b03e5b3"> 146</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a01e987892a3130a2c4f6a5bc9b03e5b3">KEY_POV_2_RIGHT</a> = 0x1FB;</div> +<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div> +<div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#ae9ab47b79e928712f491588da5b7d593"> 148</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#ae9ab47b79e928712f491588da5b7d593">KEY_POV_3_UP</a> = 0x1FC;</div> +<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a65f86c24b78df0b728d67982d2010229"> 149</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a65f86c24b78df0b728d67982d2010229">KEY_POV_3_DOWN</a> = 0x1FD;</div> +<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#a780ee9b1f33244481be2d964e86d8428"> 150</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#a780ee9b1f33244481be2d964e86d8428">KEY_POV_3_LEFT</a> = 0x1FE;</div> +<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="_motion_controller_8h.html#aa9f8b254dc7c9a776213aa0af2b2e871"> 151</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="_motion_controller_8h.html#aa9f8b254dc7c9a776213aa0af2b2e871">KEY_POV_3_RIGHT</a> = 0x1FF;</div> +<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div> +<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div> +<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="class_motion_controller.html"> 155</a></span> <span class="keyword">class </span><a class="code" href="class_motion_controller.html">MotionController</a></div> +<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> {</div> +<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a1fb7f84160d8ead2e58fcda5ffe0e880"> 158</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_motion_controller.html#a1fb7f84160d8ead2e58fcda5ffe0e880">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"MotionController"</span>; }</div> +<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div> +<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a235243f457006fc05e882730be1df99c"> 160</a></span>  <a class="code" href="class_motion_controller.html#a235243f457006fc05e882730be1df99c">MotionController</a>()</div> +<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  : <a class="code" href="class_motion_controller.html#a6fa6e20963fff8c576cba47d03e16652">status</a>(<a class="code" href="class_motion_controller.html#a362410388a0b364058a905827fd70ee1a2ba769513d3a90af6efb958dc20184e9">StatusOK</a>), <a class="code" href="class_motion_controller.html#adc220e80da1e04fc7e4d782a96b3522b">sensitivity</a>(1), <a class="code" href="class_motion_controller.html#a092b47e4d80fb68a519b271ffadf9850">dead_zone</a>(0),</div> +<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="class_motion_controller.html#a0882e7cd70772744995a6daa7556c02a">swapped</a>(0), <a class="code" href="class_motion_controller.html#a3cd741ada9dfa8b97234677668039e45">inverted</a>(0), <a class="code" href="class_motion_controller.html#af14a3fbba79ef9d2137f4e6135183258">rudder</a>(0), <a class="code" href="class_motion_controller.html#a6bb083eb54549055d2fd3b9b3645c185">throttle</a>(0), <a class="code" href="class_motion_controller.html#a613b55503d6db7486306953d81df9a4e">select</a>(0) { }</div> +<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div> +<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a0ee9ff4c91f8bf31ffed4fb6ac903560"> 164</a></span>  <span class="keyword">virtual</span> <a class="code" href="class_motion_controller.html#a0ee9ff4c91f8bf31ffed4fb6ac903560">~MotionController</a>() { }</div> +<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div> +<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a362410388a0b364058a905827fd70ee1"> 166</a></span>  <span class="keyword">enum</span> <a class="code" href="class_motion_controller.html#a362410388a0b364058a905827fd70ee1">StatusValue</a> { <a class="code" href="class_motion_controller.html#a362410388a0b364058a905827fd70ee1a2ba769513d3a90af6efb958dc20184e9">StatusOK</a>, <a class="code" href="class_motion_controller.html#a362410388a0b364058a905827fd70ee1ac5616fa1fe3798844d4c9f2675508bce">StatusErr</a>, <a class="code" href="class_motion_controller.html#a362410388a0b364058a905827fd70ee1a14a4540c0299eb490320566f58795930">StatusBadParm</a> };</div> +<div class="line"><a name="l00167"></a><span class="lineno"><a class="code" href="class_motion_controller.html#af9f6e12962c832c1873388eb85a54215a35914ef6a74f6cfecf4acc800e2af347"> 167</a></span>  <span class="keyword">enum</span> <a class="code" href="class_motion_controller.html#af9f6e12962c832c1873388eb85a54215">ActionValue</a> { <a class="code" href="class_motion_controller.html#af9f6e12962c832c1873388eb85a54215a35914ef6a74f6cfecf4acc800e2af347">MaxActions</a> = 32 };</div> +<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div> +<div class="line"><a name="l00169"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a4ea2b77ac745c8ece346db23156e843b"> 169</a></span>  <a class="code" href="class_motion_controller.html#a362410388a0b364058a905827fd70ee1">StatusValue</a> <a class="code" href="class_motion_controller.html#a4ea2b77ac745c8ece346db23156e843b">Status</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#a6fa6e20963fff8c576cba47d03e16652">status</a>; }</div> +<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a9fda22fa5f0d9f84a80ba4abb89be593"> 170</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a9fda22fa5f0d9f84a80ba4abb89be593">Sensitivity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#adc220e80da1e04fc7e4d782a96b3522b">sensitivity</a>; }</div> +<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="class_motion_controller.html#aa4a761dc3314fd026d8e64049a577a18"> 171</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#aa4a761dc3314fd026d8e64049a577a18">DeadZone</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#a092b47e4d80fb68a519b271ffadf9850">dead_zone</a>; }</div> +<div class="line"><a name="l00172"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a2c3f07f107eab981c7c3e890c5a415e0"> 172</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a2c3f07f107eab981c7c3e890c5a415e0">Swapped</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#a0882e7cd70772744995a6daa7556c02a">swapped</a>; }</div> +<div class="line"><a name="l00173"></a><span class="lineno"><a class="code" href="class_motion_controller.html#aad9ebe878c447e801f4ae1bb95a5a982"> 173</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#aad9ebe878c447e801f4ae1bb95a5a982">Inverted</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#a3cd741ada9dfa8b97234677668039e45">inverted</a>; }</div> +<div class="line"><a name="l00174"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a77487f2909835d0fcce456f681d70ee4"> 174</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a77487f2909835d0fcce456f681d70ee4">RudderEnabled</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#af14a3fbba79ef9d2137f4e6135183258">rudder</a>; }</div> +<div class="line"><a name="l00175"></a><span class="lineno"><a class="code" href="class_motion_controller.html#abfba460ffc65ea817792d3c6c0f1d028"> 175</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#abfba460ffc65ea817792d3c6c0f1d028">ThrottleEnabled</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#a6bb083eb54549055d2fd3b9b3645c185">throttle</a>; }</div> +<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="class_motion_controller.html#ac6bdfc25ca878ccdf60077ec62fb62fa"> 176</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#ac6bdfc25ca878ccdf60077ec62fb62fa">Selector</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#a613b55503d6db7486306953d81df9a4e">select</a>; }</div> +<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div> +<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div> +<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="comment">// setup:</span></div> +<div class="line"><a name="l00180"></a><span class="lineno"><a class="code" href="class_motion_controller.html#aae4921759d9fdbe5858b3c90439c6e48"> 180</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#aae4921759d9fdbe5858b3c90439c6e48">SetSensitivity</a>(<span class="keywordtype">int</span> sense, <span class="keywordtype">int</span> dead)</div> +<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  {</div> +<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">if</span> (sense > 0) <a class="code" href="class_motion_controller.html#adc220e80da1e04fc7e4d782a96b3522b">sensitivity</a> = sense;</div> +<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">if</span> (dead > 0) <a class="code" href="class_motion_controller.html#a092b47e4d80fb68a519b271ffadf9850">dead_zone</a> = dead;</div> +<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  }</div> +<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div> +<div class="line"><a name="l00186"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a6da5fa1cb28be98b9e250de3139cb42d"> 186</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#a6da5fa1cb28be98b9e250de3139cb42d">SetSelector</a>(<span class="keywordtype">int</span> sel) { <a class="code" href="class_motion_controller.html#a613b55503d6db7486306953d81df9a4e">select</a> = sel; }</div> +<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="class_motion_controller.html#aa3cda0e64318726b39975a2dec439056"> 187</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#aa3cda0e64318726b39975a2dec439056">SetRudderEnabled</a>(<span class="keywordtype">int</span> rud) { <a class="code" href="class_motion_controller.html#af14a3fbba79ef9d2137f4e6135183258">rudder</a> = rud; }</div> +<div class="line"><a name="l00188"></a><span class="lineno"><a class="code" href="class_motion_controller.html#acff36142db7c05606685f457558a16fe"> 188</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#acff36142db7c05606685f457558a16fe">SetThrottleEnabled</a>(<span class="keywordtype">int</span> t) { <a class="code" href="class_motion_controller.html#a6bb083eb54549055d2fd3b9b3645c185">throttle</a> = t; }</div> +<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div> +<div class="line"><a name="l00190"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a8f4f25d128560fabebadb6631074302e"> 190</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#a8f4f25d128560fabebadb6631074302e">SwapYawRoll</a>(<span class="keywordtype">int</span> swap) { <a class="code" href="class_motion_controller.html#a0882e7cd70772744995a6daa7556c02a">swapped</a> = swap; }</div> +<div class="line"><a name="l00191"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a2738d2d79a4cbfbdac65bfc0241e16ca"> 191</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a2738d2d79a4cbfbdac65bfc0241e16ca">GetSwapYawRoll</a>() { <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#a0882e7cd70772744995a6daa7556c02a">swapped</a>; }</div> +<div class="line"><a name="l00192"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a5229bfa085f42486c506c29aae6bc704"> 192</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#a5229bfa085f42486c506c29aae6bc704">InvertPitch</a>(<span class="keywordtype">int</span> inv) { <a class="code" href="class_motion_controller.html#a3cd741ada9dfa8b97234677668039e45">inverted</a> = inv; }</div> +<div class="line"><a name="l00193"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a3e4a800ae0cec02159eef355dd52bf87"> 193</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a3e4a800ae0cec02159eef355dd52bf87">GetInverted</a>() { <span class="keywordflow">return</span> <a class="code" href="class_motion_controller.html#a3cd741ada9dfa8b97234677668039e45">inverted</a>; }</div> +<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div> +<div class="line"><a name="l00195"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a9c297a98d78fe3c11926ee34ce3c6eac"> 195</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#a9c297a98d78fe3c11926ee34ce3c6eac">MapKeys</a>(<a class="code" href="struct_key_map_entry.html">KeyMapEntry</a>* mapping, <span class="keywordtype">int</span> nkeys) { }</div> +<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div> +<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="comment">// sample the physical device</span></div> +<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a3607749f63700adf5059fe1db43ce422"> 198</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#a3607749f63700adf5059fe1db43ce422">Acquire</a>() { }</div> +<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div> +<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="comment">// translations</span></div> +<div class="line"><a name="l00201"></a><span class="lineno"><a class="code" href="class_motion_controller.html#ab10eb9ead64b5bdff110bf95a9b1504a"> 201</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_motion_controller.html#ab10eb9ead64b5bdff110bf95a9b1504a">X</a>() { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a47b6b2e52c62b3c53a209869bc6c8654"> 202</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_motion_controller.html#a47b6b2e52c62b3c53a209869bc6c8654">Y</a>() { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00203"></a><span class="lineno"><a class="code" href="class_motion_controller.html#aa12af989c2302cc258ec9e09abc2d991"> 203</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_motion_controller.html#aa12af989c2302cc258ec9e09abc2d991">Z</a>() { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div> +<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="comment">// rotations</span></div> +<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a3d01eaf732bb81bd9d55cf55b953ce9d"> 206</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_motion_controller.html#a3d01eaf732bb81bd9d55cf55b953ce9d">Pitch</a>() { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00207"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a0ebab66ab52fffe639fd39a429f64048"> 207</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_motion_controller.html#a0ebab66ab52fffe639fd39a429f64048">Roll</a>() { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00208"></a><span class="lineno"><a class="code" href="class_motion_controller.html#aa6ce27087180f101165133a3232fd34c"> 208</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_motion_controller.html#aa6ce27087180f101165133a3232fd34c">Yaw</a>() { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00209"></a><span class="lineno"><a class="code" href="class_motion_controller.html#adbb756799e5c1409d3474550ef4bea4f"> 209</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#adbb756799e5c1409d3474550ef4bea4f">Center</a>() { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div> +<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="comment">// throttle</span></div> +<div class="line"><a name="l00212"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a69abb5f0defa85f5766bc75f42fd4e80"> 212</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_motion_controller.html#a69abb5f0defa85f5766bc75f42fd4e80">Throttle</a>() { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a855922ab7503fea81ae87dd687383a13"> 213</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_motion_controller.html#a855922ab7503fea81ae87dd687383a13">SetThrottle</a>(<span class="keywordtype">double</span> t) { }</div> +<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div> +<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="comment">// actions</span></div> +<div class="line"><a name="l00216"></a><span class="lineno"><a class="code" href="class_motion_controller.html#aed7ff41cd95d27bc8a1df216fe9d064f"> 216</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#aed7ff41cd95d27bc8a1df216fe9d064f">Action</a>(<span class="keywordtype">int</span> n) { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="class_motion_controller.html#ac78c100b0aac6f786393d9215d9a093b"> 217</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#ac78c100b0aac6f786393d9215d9a093b">ActionMap</a>(<span class="keywordtype">int</span> n) { <span class="keywordflow">return</span> 0; }</div> +<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div> +<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="keyword">protected</span>:</div> +<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a6fa6e20963fff8c576cba47d03e16652"> 220</a></span>  <a class="code" href="class_motion_controller.html#a362410388a0b364058a905827fd70ee1">StatusValue</a> <a class="code" href="class_motion_controller.html#a6fa6e20963fff8c576cba47d03e16652">status</a>;</div> +<div class="line"><a name="l00221"></a><span class="lineno"><a class="code" href="class_motion_controller.html#adc220e80da1e04fc7e4d782a96b3522b"> 221</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#adc220e80da1e04fc7e4d782a96b3522b">sensitivity</a>;</div> +<div class="line"><a name="l00222"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a092b47e4d80fb68a519b271ffadf9850"> 222</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a092b47e4d80fb68a519b271ffadf9850">dead_zone</a>;</div> +<div class="line"><a name="l00223"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a0882e7cd70772744995a6daa7556c02a"> 223</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a0882e7cd70772744995a6daa7556c02a">swapped</a>;</div> +<div class="line"><a name="l00224"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a3cd741ada9dfa8b97234677668039e45"> 224</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a3cd741ada9dfa8b97234677668039e45">inverted</a>;</div> +<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="class_motion_controller.html#af14a3fbba79ef9d2137f4e6135183258"> 225</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#af14a3fbba79ef9d2137f4e6135183258">rudder</a>;</div> +<div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a6bb083eb54549055d2fd3b9b3645c185"> 226</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a6bb083eb54549055d2fd3b9b3645c185">throttle</a>;</div> +<div class="line"><a name="l00227"></a><span class="lineno"><a class="code" href="class_motion_controller.html#a613b55503d6db7486306953d81df9a4e"> 227</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_motion_controller.html#a613b55503d6db7486306953d81df9a4e">select</a>;</div> +<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> };</div> +<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div> +<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="preprocessor">#endif MoCon_h</span></div> +<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="preprocessor"></span></div> +</div><!-- fragment --></div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_d6625d0f3efd9eb70ff961583505095b.html">nGenEx</a></li><li class="navelem"><a class="el" href="_motion_controller_8h.html">MotionController.h</a></li> + <li class="footer">Generated on Tue Jun 5 2012 20:46:24 for Starshatter_Open by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li> + </ul> +</div> +</body> +</html> |