You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1593 lines
77 KiB
HTML
1593 lines
77 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>Otter: Otter.Input Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="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);
|
|
$(window).load(resizeHeight);
|
|
</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 id="projectlogo"><img alt="Logo" src="otterlogosmall.png"/></td>
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">Otter
|
|
 <span id="projectnumber">0.9.8.91</span>
|
|
</div>
|
|
<div id="projectbrief">2d Game Development Framework based on SFML.Net</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 Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Packages</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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 id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('class_otter_1_1_input.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>Namespaces</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>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Properties</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="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="#properties">Properties</a> |
|
|
<a href="class_otter_1_1_input-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Otter.Input Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Class used for managing input from the keyboard, mouse, and joysticks. Updated by the active <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a>.
|
|
<a href="class_otter_1_1_input.html#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ae875b80475665d9048579d567b8ddd66"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ae875b80475665d9048579d567b8ddd66">KeyPressed</a> (<a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> k)</td></tr>
|
|
<tr class="memdesc:ae875b80475665d9048579d567b8ddd66"><td class="mdescLeft"> </td><td class="mdescRight">Check if a key has been pressed this update. <a href="#ae875b80475665d9048579d567b8ddd66">More...</a><br/></td></tr>
|
|
<tr class="separator:ae875b80475665d9048579d567b8ddd66"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a60519c9e5a40df868095bc2a908c7210"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a60519c9e5a40df868095bc2a908c7210">KeyPressed</a> (char c)</td></tr>
|
|
<tr class="memdesc:a60519c9e5a40df868095bc2a908c7210"><td class="mdescLeft"> </td><td class="mdescRight">Check if a key has been pressed this update. <a href="#a60519c9e5a40df868095bc2a908c7210">More...</a><br/></td></tr>
|
|
<tr class="separator:a60519c9e5a40df868095bc2a908c7210"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acad014a667b2ea438d08cdbfefe8b2be"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#acad014a667b2ea438d08cdbfefe8b2be">KeyReleased</a> (<a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> k)</td></tr>
|
|
<tr class="memdesc:acad014a667b2ea438d08cdbfefe8b2be"><td class="mdescLeft"> </td><td class="mdescRight">Check if a key has been released this update. <a href="#acad014a667b2ea438d08cdbfefe8b2be">More...</a><br/></td></tr>
|
|
<tr class="separator:acad014a667b2ea438d08cdbfefe8b2be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a60a49df209ed6501e1261bbcf04dca1d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a60a49df209ed6501e1261bbcf04dca1d">KeyReleased</a> (char c)</td></tr>
|
|
<tr class="memdesc:a60a49df209ed6501e1261bbcf04dca1d"><td class="mdescLeft"> </td><td class="mdescRight">Check if a key has been released this update. <a href="#a60a49df209ed6501e1261bbcf04dca1d">More...</a><br/></td></tr>
|
|
<tr class="separator:a60a49df209ed6501e1261bbcf04dca1d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeda9d7ce46958fc275f5249ccb128ea9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#aeda9d7ce46958fc275f5249ccb128ea9">KeyDown</a> (<a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> k)</td></tr>
|
|
<tr class="memdesc:aeda9d7ce46958fc275f5249ccb128ea9"><td class="mdescLeft"> </td><td class="mdescRight">Check if a key is currently down. <a href="#aeda9d7ce46958fc275f5249ccb128ea9">More...</a><br/></td></tr>
|
|
<tr class="separator:aeda9d7ce46958fc275f5249ccb128ea9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaaeadebf9f9bd655629ef8614bf2cbd2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#aaaeadebf9f9bd655629ef8614bf2cbd2">KeyDown</a> (char c)</td></tr>
|
|
<tr class="memdesc:aaaeadebf9f9bd655629ef8614bf2cbd2"><td class="mdescLeft"> </td><td class="mdescRight">Check if a key is currently down. <a href="#aaaeadebf9f9bd655629ef8614bf2cbd2">More...</a><br/></td></tr>
|
|
<tr class="separator:aaaeadebf9f9bd655629ef8614bf2cbd2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a889c2a8e474d7f0ceb2e4b640e551476"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a889c2a8e474d7f0ceb2e4b640e551476">KeyUp</a> (<a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> k)</td></tr>
|
|
<tr class="memdesc:a889c2a8e474d7f0ceb2e4b640e551476"><td class="mdescLeft"> </td><td class="mdescRight">Check if a key is currently up. <a href="#a889c2a8e474d7f0ceb2e4b640e551476">More...</a><br/></td></tr>
|
|
<tr class="separator:a889c2a8e474d7f0ceb2e4b640e551476"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5a10e2fc3f9e009e64fc55570831f064"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a5a10e2fc3f9e009e64fc55570831f064">KeyUp</a> (char c)</td></tr>
|
|
<tr class="memdesc:a5a10e2fc3f9e009e64fc55570831f064"><td class="mdescLeft"> </td><td class="mdescRight">Check if a key is currently up. <a href="#a5a10e2fc3f9e009e64fc55570831f064">More...</a><br/></td></tr>
|
|
<tr class="separator:a5a10e2fc3f9e009e64fc55570831f064"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad3f71eb6498de5d452e5909ce5df7a02"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ad3f71eb6498de5d452e5909ce5df7a02">ButtonPressed</a> (int button, int joystick=0)</td></tr>
|
|
<tr class="memdesc:ad3f71eb6498de5d452e5909ce5df7a02"><td class="mdescLeft"> </td><td class="mdescRight">Check if a joystick button is pressed. <a href="#ad3f71eb6498de5d452e5909ce5df7a02">More...</a><br/></td></tr>
|
|
<tr class="separator:ad3f71eb6498de5d452e5909ce5df7a02"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a460451d9deb074b46604647199647e9f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a460451d9deb074b46604647199647e9f">ButtonPressed</a> (<a class="el" href="namespace_otter.html#ae50964d9170cd36fc2b2f3be91efdda0">AxisButton</a> button, int joystick=0)</td></tr>
|
|
<tr class="memdesc:a460451d9deb074b46604647199647e9f"><td class="mdescLeft"> </td><td class="mdescRight">Check if a joystick AxisButton is pressed. <a href="#a460451d9deb074b46604647199647e9f">More...</a><br/></td></tr>
|
|
<tr class="separator:a460451d9deb074b46604647199647e9f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a919d23547fc01565f3e37d09a5ae1573"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a919d23547fc01565f3e37d09a5ae1573">ButtonReleased</a> (int button, int joystick=0)</td></tr>
|
|
<tr class="memdesc:a919d23547fc01565f3e37d09a5ae1573"><td class="mdescLeft"> </td><td class="mdescRight">Check if the joystick button is released. <a href="#a919d23547fc01565f3e37d09a5ae1573">More...</a><br/></td></tr>
|
|
<tr class="separator:a919d23547fc01565f3e37d09a5ae1573"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a50d3c0f48ebad7ab254120f197c95f37"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a50d3c0f48ebad7ab254120f197c95f37">ButtonReleased</a> (<a class="el" href="namespace_otter.html#ae50964d9170cd36fc2b2f3be91efdda0">AxisButton</a> button, int joystick=0)</td></tr>
|
|
<tr class="memdesc:a50d3c0f48ebad7ab254120f197c95f37"><td class="mdescLeft"> </td><td class="mdescRight">Check if the joystick AxisButton is released. <a href="#a50d3c0f48ebad7ab254120f197c95f37">More...</a><br/></td></tr>
|
|
<tr class="separator:a50d3c0f48ebad7ab254120f197c95f37"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a66cba5fb7734d03bfd53c310fd1087d5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a66cba5fb7734d03bfd53c310fd1087d5">ButtonDown</a> (int button, int joystick=0)</td></tr>
|
|
<tr class="memdesc:a66cba5fb7734d03bfd53c310fd1087d5"><td class="mdescLeft"> </td><td class="mdescRight">Check if the joystick button is down. <a href="#a66cba5fb7734d03bfd53c310fd1087d5">More...</a><br/></td></tr>
|
|
<tr class="separator:a66cba5fb7734d03bfd53c310fd1087d5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ae3d3fec790092e2bf50a096553c69c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a9ae3d3fec790092e2bf50a096553c69c">ButtonDown</a> (<a class="el" href="namespace_otter.html#ae50964d9170cd36fc2b2f3be91efdda0">AxisButton</a> button, int joystick=0)</td></tr>
|
|
<tr class="memdesc:a9ae3d3fec790092e2bf50a096553c69c"><td class="mdescLeft"> </td><td class="mdescRight">Check if the joystick AxisButton is down. <a href="#a9ae3d3fec790092e2bf50a096553c69c">More...</a><br/></td></tr>
|
|
<tr class="separator:a9ae3d3fec790092e2bf50a096553c69c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac0cc9c1adac9724d3d38773477064e9d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ac0cc9c1adac9724d3d38773477064e9d">ButtonUp</a> (int button, int joystick=0)</td></tr>
|
|
<tr class="memdesc:ac0cc9c1adac9724d3d38773477064e9d"><td class="mdescLeft"> </td><td class="mdescRight">Check if the joystick button is up. <a href="#ac0cc9c1adac9724d3d38773477064e9d">More...</a><br/></td></tr>
|
|
<tr class="separator:ac0cc9c1adac9724d3d38773477064e9d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac7776d7c3072c4651e22740668fdc593"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ac7776d7c3072c4651e22740668fdc593">ButtonUp</a> (<a class="el" href="namespace_otter.html#ae50964d9170cd36fc2b2f3be91efdda0">AxisButton</a> button, int joystick=0)</td></tr>
|
|
<tr class="memdesc:ac7776d7c3072c4651e22740668fdc593"><td class="mdescLeft"> </td><td class="mdescRight">Check if the joystick button is up. <a href="#ac7776d7c3072c4651e22740668fdc593">More...</a><br/></td></tr>
|
|
<tr class="separator:ac7776d7c3072c4651e22740668fdc593"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab247d394bd6a35ef9551cfd11f3d46c0"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ab247d394bd6a35ef9551cfd11f3d46c0">GetAxis</a> (<a class="el" href="namespace_otter.html#a0c52d8244f487375b4061dff5c24907e">JoyAxis</a> axis, int joystick=0)</td></tr>
|
|
<tr class="memdesc:ab247d394bd6a35ef9551cfd11f3d46c0"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of a joystick axis from -100 to 100. <a href="#ab247d394bd6a35ef9551cfd11f3d46c0">More...</a><br/></td></tr>
|
|
<tr class="separator:ab247d394bd6a35ef9551cfd11f3d46c0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7a64ef5d9e4c2b1a6309979bc2a4e983"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a7a64ef5d9e4c2b1a6309979bc2a4e983">SetAxisThreshold</a> (<a class="el" href="namespace_otter.html#a0c52d8244f487375b4061dff5c24907e">JoyAxis</a> axis, float threshold)</td></tr>
|
|
<tr class="memdesc:a7a64ef5d9e4c2b1a6309979bc2a4e983"><td class="mdescLeft"> </td><td class="mdescRight">Set the threshold for an axis to act as an AxisButton. Defaults to 50 or one half of the joystick's total range. <a href="#a7a64ef5d9e4c2b1a6309979bc2a4e983">More...</a><br/></td></tr>
|
|
<tr class="separator:a7a64ef5d9e4c2b1a6309979bc2a4e983"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad8e17995eec83632c17933e8e211687c"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ad8e17995eec83632c17933e8e211687c">GetAxisThreshold</a> (<a class="el" href="namespace_otter.html#a0c52d8244f487375b4061dff5c24907e">JoyAxis</a> axis)</td></tr>
|
|
<tr class="memdesc:ad8e17995eec83632c17933e8e211687c"><td class="mdescLeft"> </td><td class="mdescRight">Gets the axis threshold for an axis to act as an AxisButton. <a href="#ad8e17995eec83632c17933e8e211687c">More...</a><br/></td></tr>
|
|
<tr class="separator:ad8e17995eec83632c17933e8e211687c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a93e054689f119ff6da7e21ea80cad390"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a93e054689f119ff6da7e21ea80cad390">MouseButtonPressed</a> (<a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> b)</td></tr>
|
|
<tr class="memdesc:a93e054689f119ff6da7e21ea80cad390"><td class="mdescLeft"> </td><td class="mdescRight">Check if a MouseButton is pressed. <a href="#a93e054689f119ff6da7e21ea80cad390">More...</a><br/></td></tr>
|
|
<tr class="separator:a93e054689f119ff6da7e21ea80cad390"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0a3f873090014c5862ed245f27c8659e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a0a3f873090014c5862ed245f27c8659e">MouseButtonReleased</a> (<a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> b)</td></tr>
|
|
<tr class="memdesc:a0a3f873090014c5862ed245f27c8659e"><td class="mdescLeft"> </td><td class="mdescRight">Check if a MouseButton is pressed. <a href="#a0a3f873090014c5862ed245f27c8659e">More...</a><br/></td></tr>
|
|
<tr class="separator:a0a3f873090014c5862ed245f27c8659e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77ba434d2ae0f704690cd68518585cd9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a77ba434d2ae0f704690cd68518585cd9">MouseButtonDown</a> (<a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> b)</td></tr>
|
|
<tr class="memdesc:a77ba434d2ae0f704690cd68518585cd9"><td class="mdescLeft"> </td><td class="mdescRight">Check if a MouseButton is pressed. <a href="#a77ba434d2ae0f704690cd68518585cd9">More...</a><br/></td></tr>
|
|
<tr class="separator:a77ba434d2ae0f704690cd68518585cd9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a10846996992553b2c3b6ef81694a3fd8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a10846996992553b2c3b6ef81694a3fd8">MouseButtonUp</a> (<a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> b)</td></tr>
|
|
<tr class="memdesc:a10846996992553b2c3b6ef81694a3fd8"><td class="mdescLeft"> </td><td class="mdescRight">Check if a MouseButton is pressed. <a href="#a10846996992553b2c3b6ef81694a3fd8">More...</a><br/></td></tr>
|
|
<tr class="separator:a10846996992553b2c3b6ef81694a3fd8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab5ed92bafc1b415659c74f2fd9b44a33"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ab5ed92bafc1b415659c74f2fd9b44a33">ClearKeystring</a> ()</td></tr>
|
|
<tr class="memdesc:ab5ed92bafc1b415659c74f2fd9b44a33"><td class="mdescLeft"> </td><td class="mdescRight">Clear the string of recently pressed keys. <a href="#ab5ed92bafc1b415659c74f2fd9b44a33">More...</a><br/></td></tr>
|
|
<tr class="separator:ab5ed92bafc1b415659c74f2fd9b44a33"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:aa44c2187efbd2a1f743ec8b3a52bcc92"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#aa44c2187efbd2a1f743ec8b3a52bcc92">CharToKey</a> (char key)</td></tr>
|
|
<tr class="memdesc:aa44c2187efbd2a1f743ec8b3a52bcc92"><td class="mdescLeft"> </td><td class="mdescRight">Convert a char to a Key code. <a href="#aa44c2187efbd2a1f743ec8b3a52bcc92">More...</a><br/></td></tr>
|
|
<tr class="separator:aa44c2187efbd2a1f743ec8b3a52bcc92"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa340c16c739dcc5f92f936dc825dc9c1"><td class="memItemLeft" align="right" valign="top">static string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#aa340c16c739dcc5f92f936dc825dc9c1">GetJoystickName</a> (int id)</td></tr>
|
|
<tr class="memdesc:aa340c16c739dcc5f92f936dc825dc9c1"><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the Joystick. <a href="#aa340c16c739dcc5f92f936dc825dc9c1">More...</a><br/></td></tr>
|
|
<tr class="separator:aa340c16c739dcc5f92f936dc825dc9c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acc400bd8c5ccf17949edc33a7ef61341"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#acc400bd8c5ccf17949edc33a7ef61341">GetJoystickVendorId</a> (int id)</td></tr>
|
|
<tr class="memdesc:acc400bd8c5ccf17949edc33a7ef61341"><td class="mdescLeft"> </td><td class="mdescRight">Get the vendor id of the Joystick. <a href="#acc400bd8c5ccf17949edc33a7ef61341">More...</a><br/></td></tr>
|
|
<tr class="separator:acc400bd8c5ccf17949edc33a7ef61341"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a645cda5908224013da2b17e8ed28f802"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a645cda5908224013da2b17e8ed28f802">GetJoystickProductId</a> (int id)</td></tr>
|
|
<tr class="memdesc:a645cda5908224013da2b17e8ed28f802"><td class="mdescLeft"> </td><td class="mdescRight">Get the product id of the Joystick. <a href="#a645cda5908224013da2b17e8ed28f802">More...</a><br/></td></tr>
|
|
<tr class="separator:a645cda5908224013da2b17e8ed28f802"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:a153faac02703d37b6b031d4f0dd02c8e"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a153faac02703d37b6b031d4f0dd02c8e">KeyString</a> = ""</td></tr>
|
|
<tr class="memdesc:a153faac02703d37b6b031d4f0dd02c8e"><td class="mdescLeft"> </td><td class="mdescRight">The current string of keys that were pressed. <a href="#a153faac02703d37b6b031d4f0dd02c8e">More...</a><br/></td></tr>
|
|
<tr class="separator:a153faac02703d37b6b031d4f0dd02c8e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
|
|
Static Public Attributes</h2></td></tr>
|
|
<tr class="memitem:af231851ce2ff0cf17b4f69b86520cdc1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_input.html">Input</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#af231851ce2ff0cf17b4f69b86520cdc1">Instance</a></td></tr>
|
|
<tr class="memdesc:af231851ce2ff0cf17b4f69b86520cdc1"><td class="mdescLeft"> </td><td class="mdescRight">A reference to the current active instance. <a href="#af231851ce2ff0cf17b4f69b86520cdc1">More...</a><br/></td></tr>
|
|
<tr class="separator:af231851ce2ff0cf17b4f69b86520cdc1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6f318e138883d9ec3b3f4e05b12b25bb"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a6f318e138883d9ec3b3f4e05b12b25bb">KeystringSize</a> = 500</td></tr>
|
|
<tr class="memdesc:a6f318e138883d9ec3b3f4e05b12b25bb"><td class="mdescLeft"> </td><td class="mdescRight">The maximum size of the string of recent key presses. <a href="#a6f318e138883d9ec3b3f4e05b12b25bb">More...</a><br/></td></tr>
|
|
<tr class="separator:a6f318e138883d9ec3b3f4e05b12b25bb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad5cc254917c6e1dbec593116f2e7e22b"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ad5cc254917c6e1dbec593116f2e7e22b">CenteredMouse</a> = false</td></tr>
|
|
<tr class="memdesc:ad5cc254917c6e1dbec593116f2e7e22b"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the mouse should be locked to the center of the screen. <a href="#ad5cc254917c6e1dbec593116f2e7e22b">More...</a><br/></td></tr>
|
|
<tr class="separator:ad5cc254917c6e1dbec593116f2e7e22b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
|
|
Properties</h2></td></tr>
|
|
<tr class="memitem:a6f329b2ef9318ccd965d6ec2ebfa7c1c"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a6f329b2ef9318ccd965d6ec2ebfa7c1c">JoysticksConnected</a><code> [get]</code></td></tr>
|
|
<tr class="memdesc:a6f329b2ef9318ccd965d6ec2ebfa7c1c"><td class="mdescLeft"> </td><td class="mdescRight">The current number of joysticks connected. <a href="#a6f329b2ef9318ccd965d6ec2ebfa7c1c">More...</a><br/></td></tr>
|
|
<tr class="separator:a6f329b2ef9318ccd965d6ec2ebfa7c1c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a15ab5d7a39d999b1a77033216f07ec6a"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a15ab5d7a39d999b1a77033216f07ec6a">JoysticksSupported</a><code> [get]</code></td></tr>
|
|
<tr class="memdesc:a15ab5d7a39d999b1a77033216f07ec6a"><td class="mdescLeft"> </td><td class="mdescRight">The maximum possible amount of joysticks that can be connected. <a href="#a15ab5d7a39d999b1a77033216f07ec6a">More...</a><br/></td></tr>
|
|
<tr class="separator:a15ab5d7a39d999b1a77033216f07ec6a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6da9adc7a0f56340b10ad4c702e263c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_game.html">Game</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a6da9adc7a0f56340b10ad4c702e263c4">Game</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a6da9adc7a0f56340b10ad4c702e263c4"><td class="mdescLeft"> </td><td class="mdescRight">The reference to the game that owns this class. <a href="#a6da9adc7a0f56340b10ad4c702e263c4">More...</a><br/></td></tr>
|
|
<tr class="separator:a6da9adc7a0f56340b10ad4c702e263c4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a68d207ff68f2552a0f2d31b0126146b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a68d207ff68f2552a0f2d31b0126146b5">LastKey</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a68d207ff68f2552a0f2d31b0126146b5"><td class="mdescLeft"> </td><td class="mdescRight">The last known key that was pressed. <a href="#a68d207ff68f2552a0f2d31b0126146b5">More...</a><br/></td></tr>
|
|
<tr class="separator:a68d207ff68f2552a0f2d31b0126146b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6bf0e4c306bfb4ce19481f46df9e5863"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a6bf0e4c306bfb4ce19481f46df9e5863">LastMouseButton</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a6bf0e4c306bfb4ce19481f46df9e5863"><td class="mdescLeft"> </td><td class="mdescRight">The last known mouse button that was pressed. <a href="#a6bf0e4c306bfb4ce19481f46df9e5863">More...</a><br/></td></tr>
|
|
<tr class="separator:a6bf0e4c306bfb4ce19481f46df9e5863"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a579005c73283ded36213f41c77fe2d8e"><td class="memItemLeft" align="right" valign="top">List< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a579005c73283ded36213f41c77fe2d8e">LastButton</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a579005c73283ded36213f41c77fe2d8e"><td class="mdescLeft"> </td><td class="mdescRight">The last known button pressed on each joystick. <a href="#a579005c73283ded36213f41c77fe2d8e">More...</a><br/></td></tr>
|
|
<tr class="separator:a579005c73283ded36213f41c77fe2d8e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a965c60964e2035cbcf7b5cd7784a250d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a965c60964e2035cbcf7b5cd7784a250d">MouseDeltaX</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a965c60964e2035cbcf7b5cd7784a250d"><td class="mdescLeft"> </td><td class="mdescRight">The X movement of the mouse since the last update. Only updates if the mouse is locked inside the <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> window. <a href="#a965c60964e2035cbcf7b5cd7784a250d">More...</a><br/></td></tr>
|
|
<tr class="separator:a965c60964e2035cbcf7b5cd7784a250d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0f3ae97fba5a74dfeeb4af37d7cf43c1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a0f3ae97fba5a74dfeeb4af37d7cf43c1">MouseDeltaY</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a0f3ae97fba5a74dfeeb4af37d7cf43c1"><td class="mdescLeft"> </td><td class="mdescRight">The Y movement of the mouse since the last update. Only updates if the mouse is locked inside the <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> window. <a href="#a0f3ae97fba5a74dfeeb4af37d7cf43c1">More...</a><br/></td></tr>
|
|
<tr class="separator:a0f3ae97fba5a74dfeeb4af37d7cf43c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8303b338c97c883d6336a967ba8abb8c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a8303b338c97c883d6336a967ba8abb8c">MouseX</a><code> [get]</code></td></tr>
|
|
<tr class="memdesc:a8303b338c97c883d6336a967ba8abb8c"><td class="mdescLeft"> </td><td class="mdescRight">The current X position of the mouse. <a href="#a8303b338c97c883d6336a967ba8abb8c">More...</a><br/></td></tr>
|
|
<tr class="separator:a8303b338c97c883d6336a967ba8abb8c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3b4b233df3d069f4b4948092b841dc52"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a3b4b233df3d069f4b4948092b841dc52">MouseY</a><code> [get]</code></td></tr>
|
|
<tr class="memdesc:a3b4b233df3d069f4b4948092b841dc52"><td class="mdescLeft"> </td><td class="mdescRight">The current Y position of the mouse. <a href="#a3b4b233df3d069f4b4948092b841dc52">More...</a><br/></td></tr>
|
|
<tr class="separator:a3b4b233df3d069f4b4948092b841dc52"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd70a1811a5bc12160f9e2f0e99e4261"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#acd70a1811a5bc12160f9e2f0e99e4261">MouseRawX</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:acd70a1811a5bc12160f9e2f0e99e4261"><td class="mdescLeft"> </td><td class="mdescRight">The raw X position of the mouse. This can be set. <a href="#acd70a1811a5bc12160f9e2f0e99e4261">More...</a><br/></td></tr>
|
|
<tr class="separator:acd70a1811a5bc12160f9e2f0e99e4261"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aab66a831d9b92d1add0d4b37830346c3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#aab66a831d9b92d1add0d4b37830346c3">MouseRawY</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:aab66a831d9b92d1add0d4b37830346c3"><td class="mdescLeft"> </td><td class="mdescRight">The raw Y position of the mouse. This can be set. <a href="#aab66a831d9b92d1add0d4b37830346c3">More...</a><br/></td></tr>
|
|
<tr class="separator:aab66a831d9b92d1add0d4b37830346c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a65cf93873b7eee3cc70e960c17f764f2"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a65cf93873b7eee3cc70e960c17f764f2">MouseScreenX</a><code> [get]</code></td></tr>
|
|
<tr class="memdesc:a65cf93873b7eee3cc70e960c17f764f2"><td class="mdescLeft"> </td><td class="mdescRight">The X position of the mouse in screen space. <a href="#a65cf93873b7eee3cc70e960c17f764f2">More...</a><br/></td></tr>
|
|
<tr class="separator:a65cf93873b7eee3cc70e960c17f764f2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a11a45f8910c3eb60c88953ad870258fd"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a11a45f8910c3eb60c88953ad870258fd">MouseScreenY</a><code> [get]</code></td></tr>
|
|
<tr class="memdesc:a11a45f8910c3eb60c88953ad870258fd"><td class="mdescLeft"> </td><td class="mdescRight">The Y position of the mouse in screen space. <a href="#a11a45f8910c3eb60c88953ad870258fd">More...</a><br/></td></tr>
|
|
<tr class="separator:a11a45f8910c3eb60c88953ad870258fd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae5f516e64e48eb43722afcdde50be98f"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#ae5f516e64e48eb43722afcdde50be98f">MouseWheelDelta</a><code> [get]</code></td></tr>
|
|
<tr class="memdesc:ae5f516e64e48eb43722afcdde50be98f"><td class="mdescLeft"> </td><td class="mdescRight">The change in the mouse wheel value this update. <a href="#ae5f516e64e48eb43722afcdde50be98f">More...</a><br/></td></tr>
|
|
<tr class="separator:ae5f516e64e48eb43722afcdde50be98f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af135ac7d212e0dac3b6e89933b383b6a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#af135ac7d212e0dac3b6e89933b383b6a">GameMouseX</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:af135ac7d212e0dac3b6e89933b383b6a"><td class="mdescLeft"> </td><td class="mdescRight">The X position of the mouse in the game. Use if the mouse is locked in the game window. This can be set if the mouse is locked inside the game window. <a href="#af135ac7d212e0dac3b6e89933b383b6a">More...</a><br/></td></tr>
|
|
<tr class="separator:af135ac7d212e0dac3b6e89933b383b6a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a90984745496a4b4e1c91339b0ae0145a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_input.html#a90984745496a4b4e1c91339b0ae0145a">GameMouseY</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a90984745496a4b4e1c91339b0ae0145a"><td class="mdescLeft"> </td><td class="mdescRight">The Y position of the mouse in the game. Use if the mouse is locked in the game window. This can be set if the mouse is locked inside the game window. <a href="#a90984745496a4b4e1c91339b0ae0145a">More...</a><br/></td></tr>
|
|
<tr class="separator:a90984745496a4b4e1c91339b0ae0145a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Class used for managing input from the keyboard, mouse, and joysticks. Updated by the active <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a>. </p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a66cba5fb7734d03bfd53c310fd1087d5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.ButtonDown </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>button</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if the joystick button is down. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">button</td><td>The button to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the button is down.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9ae3d3fec790092e2bf50a096553c69c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.ButtonDown </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#ae50964d9170cd36fc2b2f3be91efdda0">AxisButton</a> </td>
|
|
<td class="paramname"><em>button</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if the joystick AxisButton is down. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">button</td><td>The AxisButton to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the AxisButton is down.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad3f71eb6498de5d452e5909ce5df7a02"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.ButtonPressed </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>button</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a joystick button is pressed. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">button</td><td>The button to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the button is pressed.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a460451d9deb074b46604647199647e9f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.ButtonPressed </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#ae50964d9170cd36fc2b2f3be91efdda0">AxisButton</a> </td>
|
|
<td class="paramname"><em>button</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a joystick AxisButton is pressed. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">button</td><td>The AxisButton to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the button is pressed.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a919d23547fc01565f3e37d09a5ae1573"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.ButtonReleased </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>button</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if the joystick button is released. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">button</td><td>The button to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the button is released.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a50d3c0f48ebad7ab254120f197c95f37"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.ButtonReleased </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#ae50964d9170cd36fc2b2f3be91efdda0">AxisButton</a> </td>
|
|
<td class="paramname"><em>button</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if the joystick AxisButton is released. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">button</td><td>The AxisButton to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the AxisButton is released.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac0cc9c1adac9724d3d38773477064e9d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.ButtonUp </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>button</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if the joystick button is up. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">button</td><td>The button to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the button is up.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac7776d7c3072c4651e22740668fdc593"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.ButtonUp </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#ae50964d9170cd36fc2b2f3be91efdda0">AxisButton</a> </td>
|
|
<td class="paramname"><em>button</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if the joystick button is up. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">button</td><td>The AxisButton to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the AxisButton is up.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa44c2187efbd2a1f743ec8b3a52bcc92"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static <a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> Otter.Input.CharToKey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>key</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Convert a char to a Key code. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The char to convert into a Key.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The Key. Returns Key.Unknown if no match is found.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab5ed92bafc1b415659c74f2fd9b44a33"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void Otter.Input.ClearKeystring </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Clear the string of recently pressed keys. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab247d394bd6a35ef9551cfd11f3d46c0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float Otter.Input.GetAxis </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#a0c52d8244f487375b4061dff5c24907e">JoyAxis</a> </td>
|
|
<td class="paramname"><em>axis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>joystick</em> = <code>0</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the value of a joystick axis from -100 to 100. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">axis</td><td>The axis to check.</td></tr>
|
|
<tr><td class="paramname">joystick</td><td>The joystick to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The axis value from -100 to 100.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad8e17995eec83632c17933e8e211687c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float Otter.Input.GetAxisThreshold </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#a0c52d8244f487375b4061dff5c24907e">JoyAxis</a> </td>
|
|
<td class="paramname"><em>axis</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Gets the axis threshold for an axis to act as an AxisButton. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">axis</td><td>The JoyAxis.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa340c16c739dcc5f92f936dc825dc9c1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static string Otter.Input.GetJoystickName </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>id</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the name of the Joystick. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">id</td><td>The connection id of the Joystick.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The name of the Joystick.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a645cda5908224013da2b17e8ed28f802"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int Otter.Input.GetJoystickProductId </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>id</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the product id of the Joystick. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">id</td><td>The connection id of the Joystick.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The name of the Joystick.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acc400bd8c5ccf17949edc33a7ef61341"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int Otter.Input.GetJoystickVendorId </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>id</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the vendor id of the Joystick. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">id</td><td>The connection id of the Joystick.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The vendor id of the Joystick.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeda9d7ce46958fc275f5249ccb128ea9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.KeyDown </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> </td>
|
|
<td class="paramname"><em>k</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a key is currently down. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">k</td><td>The key to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the key is down.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaaeadebf9f9bd655629ef8614bf2cbd2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.KeyDown </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>c</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a key is currently down. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">c</td><td>The key to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the key is down.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae875b80475665d9048579d567b8ddd66"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.KeyPressed </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> </td>
|
|
<td class="paramname"><em>k</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a key has been pressed this update. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">k</td><td>The key to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the key has been pressed.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a60519c9e5a40df868095bc2a908c7210"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.KeyPressed </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>c</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a key has been pressed this update. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">c</td><td>The key to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the key has been pressed.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acad014a667b2ea438d08cdbfefe8b2be"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.KeyReleased </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> </td>
|
|
<td class="paramname"><em>k</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a key has been released this update. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">k</td><td>The key to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the key has been released.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a60a49df209ed6501e1261bbcf04dca1d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.KeyReleased </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>c</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a key has been released this update. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">c</td><td>The key to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the key has been released.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a889c2a8e474d7f0ceb2e4b640e551476"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.KeyUp </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> </td>
|
|
<td class="paramname"><em>k</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a key is currently up. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">k</td><td>The key to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the key is up.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5a10e2fc3f9e009e64fc55570831f064"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.KeyUp </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>c</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a key is currently up. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">c</td><td>The key to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the key is up.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a77ba434d2ae0f704690cd68518585cd9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.MouseButtonDown </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> </td>
|
|
<td class="paramname"><em>b</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a MouseButton is pressed. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">b</td><td>The MouseButton to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the MouseButton is pressed.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a93e054689f119ff6da7e21ea80cad390"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.MouseButtonPressed </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> </td>
|
|
<td class="paramname"><em>b</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a MouseButton is pressed. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">b</td><td>The MouseButton to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the MouseButton is pressed.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0a3f873090014c5862ed245f27c8659e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.MouseButtonReleased </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> </td>
|
|
<td class="paramname"><em>b</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a MouseButton is pressed. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">b</td><td>The MouseButton to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the MouseButton is pressed.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a10846996992553b2c3b6ef81694a3fd8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.MouseButtonUp </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> </td>
|
|
<td class="paramname"><em>b</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if a MouseButton is pressed. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">b</td><td>The MouseButton to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if the MouseButton is pressed.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7a64ef5d9e4c2b1a6309979bc2a4e983"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void Otter.Input.SetAxisThreshold </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespace_otter.html#a0c52d8244f487375b4061dff5c24907e">JoyAxis</a> </td>
|
|
<td class="paramname"><em>axis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>threshold</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the threshold for an axis to act as an AxisButton. Defaults to 50 or one half of the joystick's total range. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">axis</td><td>The JoyAxis to set.</td></tr>
|
|
<tr><td class="paramname">threshold</td><td>The threshold that the axis must pass to act as a button press.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a class="anchor" id="ad5cc254917c6e1dbec593116f2e7e22b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool Otter.Input.CenteredMouse = false</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Determines if the mouse should be locked to the center of the screen. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af231851ce2ff0cf17b4f69b86520cdc1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_otter_1_1_input.html">Input</a> Otter.Input.Instance</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A reference to the current active instance. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a153faac02703d37b6b031d4f0dd02c8e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string Otter.Input.KeyString = ""</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The current string of keys that were pressed. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6f318e138883d9ec3b3f4e05b12b25bb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.KeystringSize = 500</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The maximum size of the string of recent key presses. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Property Documentation</h2>
|
|
<a class="anchor" id="a6da9adc7a0f56340b10ad4c702e263c4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_otter_1_1_game.html">Game</a> Otter.Input.Game</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The reference to the game that owns this class. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af135ac7d212e0dac3b6e89933b383b6a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.GameMouseX</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The X position of the mouse in the game. Use if the mouse is locked in the game window. This can be set if the mouse is locked inside the game window. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a90984745496a4b4e1c91339b0ae0145a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.GameMouseY</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The Y position of the mouse in the game. Use if the mouse is locked in the game window. This can be set if the mouse is locked inside the game window. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6f329b2ef9318ccd965d6ec2ebfa7c1c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.JoysticksConnected</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The current number of joysticks connected. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a15ab5d7a39d999b1a77033216f07ec6a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.JoysticksSupported</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The maximum possible amount of joysticks that can be connected. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a579005c73283ded36213f41c77fe2d8e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">List<int> Otter.Input.LastButton</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The last known button pressed on each joystick. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a68d207ff68f2552a0f2d31b0126146b5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespace_otter.html#ada9814b672a9a3b475297439e1159a67">Key</a> Otter.Input.LastKey</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The last known key that was pressed. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6bf0e4c306bfb4ce19481f46df9e5863"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespace_otter.html#acfe5ce34857620e033849ef1e09f8431">MouseButton</a> Otter.Input.LastMouseButton</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The last known mouse button that was pressed. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a965c60964e2035cbcf7b5cd7784a250d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.MouseDeltaX</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The X movement of the mouse since the last update. Only updates if the mouse is locked inside the <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> window. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0f3ae97fba5a74dfeeb4af37d7cf43c1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.MouseDeltaY</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The Y movement of the mouse since the last update. Only updates if the mouse is locked inside the <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> window. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acd70a1811a5bc12160f9e2f0e99e4261"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.MouseRawX</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The raw X position of the mouse. This can be set. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aab66a831d9b92d1add0d4b37830346c3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.MouseRawY</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The raw Y position of the mouse. This can be set. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a65cf93873b7eee3cc70e960c17f764f2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float Otter.Input.MouseScreenX</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The X position of the mouse in screen space. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a11a45f8910c3eb60c88953ad870258fd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float Otter.Input.MouseScreenY</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The Y position of the mouse in screen space. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae5f516e64e48eb43722afcdde50be98f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float Otter.Input.MouseWheelDelta</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The change in the mouse wheel value this update. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8303b338c97c883d6336a967ba8abb8c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.MouseX</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The current X position of the mouse. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3b4b233df3d069f4b4948092b841dc52"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Otter.Input.MouseY</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The current Y position of the mouse. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>Otter/Core/Input.cs</li>
|
|
</ul>
|
|
</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="namespace_otter.html">Otter</a></li><li class="navelem"><a class="el" href="class_otter_1_1_input.html">Input</a></li>
|
|
<li class="footer">Generated on Thu May 12 2016 18:16:52 for Otter by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|