irrlicht/doc/html/structirr_1_1_s_joystick_info.html
2020-05-16 23:31:28 +02:00

275 lines
15 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"/>
<title>Irrlicht 3D Engine: irr::SJoystickInfo Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<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>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Irrlicht 3D Engine
</div>
</td>
<td> <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>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="dynsections.js"></script>
</div>
<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">
initNavTree('structirr_1_1_s_joystick_info.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-attribs">Public Attributes</a> </div>
<div class="headertitle">
<div class="title">irr::SJoystickInfo Struct Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="irr::SJoystickInfo" -->
<p>Information on a joystick, returned from <a class="el" href="classirr_1_1_irrlicht_device.html#af06f8d2c4fdffd1f879e46685bcbc6e3">irr::IrrlichtDevice::activateJoysticks()</a>
<a href="structirr_1_1_s_joystick_info.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>&gt;</code></p>
<p><a href="structirr_1_1_s_joystick_info-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>enum { <a class="el" href="structirr_1_1_s_joystick_info.html#a5ab1b9b6969289f70b321d3c3657d999af5061a1972f04f033d581db51f43f986">POV_HAT_PRESENT</a>,
<a class="el" href="structirr_1_1_s_joystick_info.html#a5ab1b9b6969289f70b321d3c3657d999a89c1dae670b67183c5b4e675f9e58792">POV_HAT_ABSENT</a>,
<a class="el" href="structirr_1_1_s_joystick_info.html#a5ab1b9b6969289f70b321d3c3657d999a5699138583766ab8eafac5c36340c0dc">POV_HAT_UNKNOWN</a>
}
<dl class="el"><dd class="mdescRight">An indication of whether the joystick has a POV hat. <a href="structirr_1_1_s_joystick_info.html#a5ab1b9b6969289f70b321d3c3657d999">More...</a><br/></dl></ul>
<h2><a name="pub-attribs"></a>
Public Attributes</h2>
<ul>
<li><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1_s_joystick_info.html#a0a09d1c3fc664207abaa610e5896b0c5">Axes</a>
<dl class="el"><dd class="mdescRight">The number of axes that the joystick has, i.e. X, Y, Z, R, U, V. <a href="#a0a09d1c3fc664207abaa610e5896b0c5"></a><br/></dl><li><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1_s_joystick_info.html#a31422460c315e69bc057367cb66e4d23">Buttons</a>
<dl class="el"><dd class="mdescRight">The number of buttons that the joystick has. <a href="#a31422460c315e69bc057367cb66e4d23"></a><br/></dl><li><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> <a class="el" href="structirr_1_1_s_joystick_info.html#a691ed1bcdbf4ab3b30a4e9ed648c6d9d">Joystick</a>
<dl class="el"><dd class="mdescRight">The ID of the joystick. <a href="#a691ed1bcdbf4ab3b30a4e9ed648c6d9d"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#ade1071a878633f2f6d8a75c5d11fec19">core::stringc</a> <a class="el" href="structirr_1_1_s_joystick_info.html#a56d229ae1e1d9f18b252c2f6bf886815">Name</a>
<dl class="el"><dd class="mdescRight">The name that the joystick uses to identify itself. <a href="#a56d229ae1e1d9f18b252c2f6bf886815"></a><br/></dl><li>enum irr::SJoystickInfo:: { ... } <a class="el" href="structirr_1_1_s_joystick_info.html#a2abf9d4741731c29fe4d9d64f7909d1e">PovHat</a>
<dl class="el"><dd class="mdescRight">An indication of whether the joystick has a POV hat. <a href="#a2abf9d4741731c29fe4d9d64f7909d1e"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Information on a joystick, returned from <a class="el" href="classirr_1_1_irrlicht_device.html#af06f8d2c4fdffd1f879e46685bcbc6e3">irr::IrrlichtDevice::activateJoysticks()</a> </p>
<p>Definition at line <a class="el" href="_i_event_receiver_8h_source.html#l00451">451</a> of file <a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a5ab1b9b6969289f70b321d3c3657d999"></a><!-- doxytag: member="irr::SJoystickInfo::@3" ref="a5ab1b9b6969289f70b321d3c3657d999" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>An indication of whether the joystick has a POV hat. </p>
<p>A Windows device will identify the presence or absence or the POV hat. A Linux device cannot, and will always return POV_HAT_UNKNOWN. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a5ab1b9b6969289f70b321d3c3657d999af5061a1972f04f033d581db51f43f986"></a><!-- doxytag: member="POV_HAT_PRESENT" ref="a5ab1b9b6969289f70b321d3c3657d999af5061a1972f04f033d581db51f43f986" args="" -->POV_HAT_PRESENT</em>&nbsp;</td><td>
<p>A hat is definitely present. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ab1b9b6969289f70b321d3c3657d999a89c1dae670b67183c5b4e675f9e58792"></a><!-- doxytag: member="POV_HAT_ABSENT" ref="a5ab1b9b6969289f70b321d3c3657d999a89c1dae670b67183c5b4e675f9e58792" args="" -->POV_HAT_ABSENT</em>&nbsp;</td><td>
<p>A hat is definitely not present. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ab1b9b6969289f70b321d3c3657d999a5699138583766ab8eafac5c36340c0dc"></a><!-- doxytag: member="POV_HAT_UNKNOWN" ref="a5ab1b9b6969289f70b321d3c3657d999a5699138583766ab8eafac5c36340c0dc" args="" -->POV_HAT_UNKNOWN</em>&nbsp;</td><td>
<p>The presence or absence of a hat cannot be determined. </p>
</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_i_event_receiver_8h_source.html#l00473">473</a> of file <a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a0a09d1c3fc664207abaa610e5896b0c5"></a><!-- doxytag: member="irr::SJoystickInfo::Axes" ref="a0a09d1c3fc664207abaa610e5896b0c5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1_s_joystick_info.html#a0a09d1c3fc664207abaa610e5896b0c5">irr::SJoystickInfo::Axes</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The number of axes that the joystick has, i.e. X, Y, Z, R, U, V. </p>
<p>Note: with a Linux device, the POV hat (if any) will use two axes. These will be included in this count. </p>
<p>Definition at line <a class="el" href="_i_event_receiver_8h_source.html#l00468">468</a> of file <a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>.</p>
</div>
</div>
<a class="anchor" id="a31422460c315e69bc057367cb66e4d23"></a><!-- doxytag: member="irr::SJoystickInfo::Buttons" ref="a31422460c315e69bc057367cb66e4d23" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1_s_joystick_info.html#a31422460c315e69bc057367cb66e4d23">irr::SJoystickInfo::Buttons</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The number of buttons that the joystick has. </p>
<p>Definition at line <a class="el" href="_i_event_receiver_8h_source.html#l00463">463</a> of file <a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>.</p>
</div>
</div>
<a class="anchor" id="a691ed1bcdbf4ab3b30a4e9ed648c6d9d"></a><!-- doxytag: member="irr::SJoystickInfo::Joystick" ref="a691ed1bcdbf4ab3b30a4e9ed648c6d9d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> <a class="el" href="structirr_1_1_s_joystick_info.html#a691ed1bcdbf4ab3b30a4e9ed648c6d9d">irr::SJoystickInfo::Joystick</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The ID of the joystick. </p>
<p>This is an internal Irrlicht index; it does not map directly to any particular hardware joystick. It corresponds to the irr::SJoystickEvent Joystick ID. </p>
<p>Definition at line <a class="el" href="_i_event_receiver_8h_source.html#l00457">457</a> of file <a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>.</p>
</div>
</div>
<a class="anchor" id="a56d229ae1e1d9f18b252c2f6bf886815"></a><!-- doxytag: member="irr::SJoystickInfo::Name" ref="a56d229ae1e1d9f18b252c2f6bf886815" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceirr_1_1core.html#ade1071a878633f2f6d8a75c5d11fec19">core::stringc</a> <a class="el" href="structirr_1_1_s_joystick_info.html#a56d229ae1e1d9f18b252c2f6bf886815">irr::SJoystickInfo::Name</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The name that the joystick uses to identify itself. </p>
<p>Definition at line <a class="el" href="_i_event_receiver_8h_source.html#l00460">460</a> of file <a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2abf9d4741731c29fe4d9d64f7909d1e"></a><!-- doxytag: member="irr::SJoystickInfo::PovHat" ref="a2abf9d4741731c29fe4d9d64f7909d1e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum { ... } <a class="el" href="structirr_1_1_s_joystick_info.html#a2abf9d4741731c29fe4d9d64f7909d1e">irr::SJoystickInfo::PovHat</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>An indication of whether the joystick has a POV hat. </p>
<p>A Windows device will identify the presence or absence or the POV hat. A Linux device cannot, and will always return POV_HAT_UNKNOWN. </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a></li>
</ul>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li>
<li class="navelem"><a class="el" href="structirr_1_1_s_joystick_info.html">SJoystickInfo</a> </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</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>
<li class="footer">
<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sat Jul 9 2016 18:18:31 for Irrlicht 3D Engine by
<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
</ul>
</div>
</body>
</html>