<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Irrlicht Engine: irr::SJoystickInfo Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table class="irrlicht" > <tr valign="middle"> <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> Namespace Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td> </tr> </table> <!-- Generated by Doxygen 1.6.2 --> <div class="navpath"><a class="el" href="namespaceirr.html">irr</a>::<a class="el" href="structirr_1_1_s_joystick_info.html">SJoystickInfo</a> </div> <div class="contents"> <h1>irr::SJoystickInfo Struct Reference</h1><!-- 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="#_details">More...</a></p> <p><code>#include <<a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>></code></p> <p><a href="structirr_1_1_s_joystick_info-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom">{ <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> }</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>An indication of whether the joystick has a POV hat. </p> <a href="structirr_1_1_s_joystick_info.html#a5ab1b9b6969289f70b321d3c3657d999">More...</a><br/></td></tr> <tr><td colspan="2"><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1_s_joystick_info.html#a0a09d1c3fc664207abaa610e5896b0c5">Axes</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of axes that the joystick has, i.e. X, Y, Z, R, U, V. <a href="#a0a09d1c3fc664207abaa610e5896b0c5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1_s_joystick_info.html#a31422460c315e69bc057367cb66e4d23">Buttons</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of buttons that the joystick has. <a href="#a31422460c315e69bc057367cb66e4d23"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1_s_joystick_info.html#a691ed1bcdbf4ab3b30a4e9ed648c6d9d">Joystick</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The ID of the joystick. <a href="#a691ed1bcdbf4ab3b30a4e9ed648c6d9d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classirr_1_1core_1_1string.html">core::stringc</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1_s_joystick_info.html#a56d229ae1e1d9f18b252c2f6bf886815">Name</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The name that the joystick uses to identify itself. <a href="#a56d229ae1e1d9f18b252c2f6bf886815"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum irr::SJoystickInfo:: { ... } </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1_s_joystick_info.html#a2abf9d4741731c29fe4d9d64f7909d1e">PovHat</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">An indication of whether the joystick has a POV hat. <a href="#a2abf9d4741731c29fe4d9d64f7909d1e"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <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#l00450">450</a> of file <a class="el" href="_i_event_receiver_8h_source.html">IEventReceiver.h</a>.</p> <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> </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> </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> </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#l00472">472</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#l00467">467</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#l00462">462</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#l00456">456</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="classirr_1_1core_1_1string.html">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#l00459">459</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> <hr size="1"> <address style="align: right;"> <small> </small> </address> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td> <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht Engine</a> Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:42:03 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> (1.6.2)</font></em></small></div></td> </tr> </table> <address style="align: right;"> </address> </body> </html>