Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 2408

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::InputReader class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::InputReader  Class Reference</h1>Abstract class which allows input to be read from various controllers. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>&gt;</code>
<p>
Inheritance diagram for Ogre::InputReader:<p><center><img src="classOgre_1_1InputReader__inherit__graph.png" border="0" usemap="#Ogre_1_1InputReader__inherit__map" alt="Inheritance graph"></center>
<map name="Ogre_1_1InputReader__inherit__map">
<area href="classOgre_1_1SDLInput.html" shape="rect" coords="7,105,108,87" alt="">
<area href="classOgre_1_1Win32Input.html" shape="rect" coords="132,105,244,87" alt="">
<area href="classOgre_1_1Win32Input8.html" shape="rect" coords="268,105,388,87" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::InputReader:<p><center><img src="classOgre_1_1InputReader__coll__graph.png" border="0" usemap="#Ogre_1_1InputReader__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1InputReader__coll__map">
<area href="classOgre_1_1Cursor.html" shape="rect" coords="140,271,228,252" alt="">
<area href="classOgre_1_1MouseMotionTarget.html" shape="rect" coords="216,199,379,180" alt="">
<area href="classOgre_1_1PositionTarget.html" shape="rect" coords="7,108,140,89" alt="">
<area href="classOgre_1_1MouseTarget.html" shape="rect" coords="67,199,192,180" alt="">
<area href="classOgre_1_1EventTarget.html" shape="rect" coords="13,36,133,17" alt="">
<area href="classOgre_1_1MouseMotionListener.html" shape="rect" coords="321,108,495,89" alt="">
<area href="classOgre_1_1EventListener.html" shape="rect" coords="255,36,383,17" alt="">
<area href="classOgre_1_1MouseListener.html" shape="rect" coords="164,108,297,89" alt="">
<area href="structOgre_1_1MouseState.html" shape="rect" coords="252,271,369,252" alt="">
<area href="classOgre_1_1EventQueue.html" shape="rect" coords="393,271,513,252" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1InputReader-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1InputReadera0">InputReader</a> ()</td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1InputReadera1">~InputReader</a> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8a15">useBufferedInput</a> (<a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a> *pEventQueue, bool keys=true, bool mouse=true)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Tells the reader to use buffered input and update the passed in queue.</em> <a href="#Ogre_1_1Win32Input8a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa8">setBufferedInput</a> (bool keys, bool mouse)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1InputReadera4">initialise</a> (<a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> *pWindow, bool useKeyboard=true, bool useMouse=true, bool useGameController=false)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initialise the input system.</em> <a href="#Ogre_1_1InputReadera4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1InputReadera5">capture</a> ()=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Captures the state of all the input devices.</em> <a href="#Ogre_1_1InputReadera5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa9">isKeyDown</a> (<a class="el" href="namespaceOgre.html#a633">KeyCode</a> kc) const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Determines if the specified key is currently depressed.</em> <a href="#Ogre_1_1Win32Inputa9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8a16">getMouseRelativeX</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the relative position of the mouse when capture was called relative to the last time.</em> <a href="#Ogre_1_1Win32Input8a16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8a17">getMouseRelativeY</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the relative position of the mouse when capture was called relative to the last time.</em> <a href="#Ogre_1_1Win32Input8a17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8a18">getMouseRelativeZ</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the relative position of the mouse when capture was called relative to the last time.</em> <a href="#Ogre_1_1Win32Input8a18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa13">getMouseRelX</a> () const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the relative (compared to the last input poll) mouse movement on the X (horizontal) axis.</em> <a href="#Ogre_1_1Win32Inputa13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa14">getMouseRelY</a> () const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the relative (compared to the last input poll) mouse movement on the Y (vertical) axis.</em> <a href="#Ogre_1_1Win32Inputa14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa15">getMouseRelZ</a> () const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the relative (compared to the last input poll) mouse movement on the Z (mouse wheel) axis.</em> <a href="#Ogre_1_1Win32Inputa15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa16">getMouseAbsX</a> () const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the absolute mouse position on the X (horizontal) axis.</em> <a href="#Ogre_1_1Win32Inputa16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa17">getMouseAbsY</a> () const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the absolute mouse position on the Y (vertical) axis.</em> <a href="#Ogre_1_1Win32Inputa17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa18">getMouseAbsZ</a> () const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the absolute mouse position on the Z (mouse wheel) axis.</em> <a href="#Ogre_1_1Win32Inputa18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa19">getMouseState</a> (<a class="el" href="structOgre_1_1MouseState.html">MouseState</a> &amp;state) const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the current state of the mouse.</em> <a href="#Ogre_1_1Win32Inputa19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Inputa20">getMouseButton</a> (<a class="el" href="namespaceOgre.html#a350">uchar</a> button) const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves the state of a mouse button.</em> <a href="#Ogre_1_1Win32Inputa20"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8a19">addCursorMoveListener</a> (<a class="el" href="classOgre_1_1MouseMotionListener.html">MouseMotionListener</a> *c)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Adds a mouse motion listener to the cursor object.</em> <a href="#Ogre_1_1Win32Input8a19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8a20">removeCursorMoveListener</a> (<a class="el" href="classOgre_1_1MouseMotionListener.html">MouseMotionListener</a> *c)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Remove a mouse motion listener to the cursor object.</em> <a href="#Ogre_1_1Win32Input8a20"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8d0">getKeyChar</a> (int keyCode, long modifiers=0)</td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8b0">mouseMoved</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Creates mouse moved or dragged events depending if any button is pressed.</em> <a href="#Ogre_1_1Win32Input8b0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8b1">createMouseEvent</a> (int id, int button)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Creates a <a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> that first gets processed by the cursor, then gets pushed on the queue.</em> <a href="#Ogre_1_1Win32Input8b1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8b2">triggerMouseButton</a> (int nMouseCode, bool mousePressed)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Creates mouse pressed, released, and clicked events.</em> <a href="#Ogre_1_1Win32Input8b2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8b3">createKeyEvent</a> (int id, int key)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8b4">keyChanged</a> (int key, bool down)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8b5">setupKeyChars</a> ()</td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8n0">mModifiers</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The modifiers are a binary flags that represent what buttons are pressed, and what key modifiers are down (e.g.</em> <a href="#Ogre_1_1Win32Input8n0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Cursor.html">Cursor</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8n1">mCursor</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Internal <a class="el" href="classOgre_1_1Cursor.html">Cursor</a> object.</em> <a href="#Ogre_1_1Win32Input8n1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8n2">mEventQueue</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a> is used for buffered input support.</em> <a href="#Ogre_1_1Win32Input8n2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8n3">mUseBufferedKeys</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Wether to use buffering input support - buffering support relies on using an <a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a>.</em> <a href="#Ogre_1_1Win32Input8n3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8n4">mUseBufferedMouse</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Wether to use buffering input support - buffering support relies on using an <a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a>.</em> <a href="#Ogre_1_1Win32Input8n4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="structOgre_1_1MouseState.html">MouseState</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8n5">mMouseState</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The mouse state in immediate mode.</em> <a href="#Ogre_1_1Win32Input8n5"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1InputReader.html#Ogre_1_1Win32Input8q0">sKeysInitialised</a> = false</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Abstract class which allows input to be read from various controllers.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 You can access an appropriate concrete subclass of this interface by calling <a class="el" href="classOgre_1_1PlatformManager.html#Ogre_1_1PlatformManagera5">PlatformManager::createInputReader</a>. </dl><dl compact><dt><b>
Warning: </b><dd>
Temporary implementation only. This class is likely to be refactored into a better design when I get time to look at it properly. For now it's a quick-and-dirty way to get what I need. </dl><dl compact><dt><b>
See also: </b><dd>
 <a class="el" href="classOgre_1_1PlatformManager.html#Ogre_1_1PlatformManagera5">PlatformManager::createInputReader</a> </dl>
<p>

<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00218">218</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1InputReadera0" doxytag="Ogre::InputReader::InputReader"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::InputReader::InputReader </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00038">38</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8h-source.html#l00331">mCursor</a>, <a class="el" href="OgreInput_8h-source.html#l00334">mEventQueue</a>, <a class="el" href="OgreInput_8h-source.html#l00321">mModifiers</a>, <a class="el" href="OgreInput_8h-source.html#l00339">mUseBufferedKeys</a>, <a class="el" href="OgreInput_8h-source.html#l00339">mUseBufferedMouse</a>, <a class="el" href="OgreInput_8cpp-source.html#l00215">setupKeyChars</a>(), and <a class="el" href="OgreInput_8cpp-source.html#l00036">sKeysInitialised</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1InputReadera1" doxytag="Ogre::InputReader::~InputReader"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::InputReader::~InputReader </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00078">78</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8h-source.html#l00331">mCursor</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1Win32Input8a19" doxytag="Ogre::InputReader::addCursorMoveListener"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::addCursorMoveListener </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1MouseMotionListener.html">MouseMotionListener</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>c</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Adds a mouse motion listener to the cursor object.
<p>
This keeps the <a class="el" href="classOgre_1_1Cursor.html">Cursor</a> object hidden. 
<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00146">146</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreMouseMotionTarget_8cpp-source.html#l00065">Ogre::MouseMotionTarget::addMouseMotionListener</a>(), and <a class="el" href="OgreInput_8h-source.html#l00331">mCursor</a>.
<p>
Referenced by <a class="el" href="OgreEventProcessor_8cpp-source.html#l00201">Ogre::EventProcessor::addCursorMoveListener</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1InputReadera5" doxytag="Ogre::InputReader::capture"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Ogre::InputReader::capture </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Captures the state of all the input devices.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This method captures the state of all input devices and stores it internally for use when the enquiry methods are next called. This is done to ensure that all input is captured at once and therefore combinations of input are not subject to time differences when methods are called. </dl>
<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa3">Ogre::SDLInput</a>, <a class="el" href="classOgre_1_1Win32Input.html#Ogre_1_1Win32Inputa3">Ogre::Win32Input</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a3">Ogre::Win32Input8</a>.
<p>
Referenced by <a class="el" href="OgreEventProcessor_8cpp-source.html#l00137">Ogre::EventProcessor::frameStarted</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8b3" doxytag="Ogre::InputReader::createKeyEvent"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::createKeyEvent </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>id</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>key</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00123">123</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8h-source.html#l00334">mEventQueue</a>, <a class="el" href="OgreInput_8h-source.html#l00321">mModifiers</a>, and <a class="el" href="OgreEventQueue_8cpp-source.html#l00055">Ogre::EventQueue::push</a>().
<p>
Referenced by <a class="el" href="OgreInput_8cpp-source.html#l00157">keyChanged</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8b1" doxytag="Ogre::InputReader::createMouseEvent"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::createMouseEvent </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>id</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>button</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a <a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> that first gets processed by the cursor, then gets pushed on the queue.
<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00104">104</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreCursor_8h-source.html#l00106">Ogre::Cursor::getRelX</a>(), <a class="el" href="OgreCursor_8h-source.html#l00109">Ogre::Cursor::getRelY</a>(), <a class="el" href="OgreCursor_8h-source.html#l00112">Ogre::Cursor::getRelZ</a>(), <a class="el" href="OgreCursor_8cpp-source.html#l00110">Ogre::Cursor::getX</a>(), <a class="el" href="OgreCursor_8cpp-source.html#l00116">Ogre::Cursor::getY</a>(), <a class="el" href="OgreCursor_8cpp-source.html#l00122">Ogre::Cursor::getZ</a>(), <a class="el" href="OgreInput_8h-source.html#l00331">mCursor</a>, <a class="el" href="OgreInput_8h-source.html#l00334">mEventQueue</a>, <a class="el" href="OgreInput_8h-source.html#l00321">mModifiers</a>, <a class="el" href="OgreCursor_8cpp-source.html#l00087">Ogre::Cursor::processEvent</a>(), and <a class="el" href="OgreEventQueue_8cpp-source.html#l00055">Ogre::EventQueue::push</a>().
<p>
Referenced by <a class="el" href="OgreInput_8cpp-source.html#l00132">mouseMoved</a>(), and <a class="el" href="OgreInput_8cpp-source.html#l00087">triggerMouseButton</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8d0" doxytag="Ogre::InputReader::getKeyChar"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> char Ogre::InputReader::getKeyChar </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>keyCode</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>long&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>modifiers</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00205">205</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8h-source.html#l00035">Ogre::KEYCODE</a>(), and <a class="el" href="OgreInput_8cpp-source.html#l00035">Ogre::sKeyChars</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa16" doxytag="Ogre::InputReader::getMouseAbsX"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseAbsX </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the absolute mouse position on the X (horizontal) axis.
<p>

<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa8">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a8">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa17" doxytag="Ogre::InputReader::getMouseAbsY"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseAbsY </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the absolute mouse position on the Y (vertical) axis.
<p>

<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa9">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a9">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa18" doxytag="Ogre::InputReader::getMouseAbsZ"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseAbsZ </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the absolute mouse position on the Z (mouse wheel) axis.
<p>

<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa10">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a10">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa20" doxytag="Ogre::InputReader::getMouseButton"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual bool Ogre::InputReader::getMouseButton </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a350">uchar</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>button</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the state of a mouse button.
<p>

<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa12">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a12">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8a16" doxytag="Ogre::InputReader::getMouseRelativeX"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseRelativeX </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the relative position of the mouse when capture was called relative to the last time.
<p>

<p>
Reimplemented in <a class="el" href="classOgre_1_1Win32Input.html#Ogre_1_1Win32Inputa5">Ogre::Win32Input</a>.
<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00272">272</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8a17" doxytag="Ogre::InputReader::getMouseRelativeY"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseRelativeY </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the relative position of the mouse when capture was called relative to the last time.
<p>

<p>
Reimplemented in <a class="el" href="classOgre_1_1Win32Input.html#Ogre_1_1Win32Inputa6">Ogre::Win32Input</a>.
<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00276">276</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8a18" doxytag="Ogre::InputReader::getMouseRelativeZ"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseRelativeZ </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the relative position of the mouse when capture was called relative to the last time.
<p>

<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00280">280</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa13" doxytag="Ogre::InputReader::getMouseRelX"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseRelX </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the relative (compared to the last input poll) mouse movement on the X (horizontal) axis.
<p>

<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa5">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a5">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa14" doxytag="Ogre::InputReader::getMouseRelY"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseRelY </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the relative (compared to the last input poll) mouse movement on the Y (vertical) axis.
<p>

<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa6">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a6">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa15" doxytag="Ogre::InputReader::getMouseRelZ"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual long Ogre::InputReader::getMouseRelZ </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the relative (compared to the last input poll) mouse movement on the Z (mouse wheel) axis.
<p>

<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa7">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a7">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa19" doxytag="Ogre::InputReader::getMouseState"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Ogre::InputReader::getMouseState </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1MouseState.html">MouseState</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>state</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the current state of the mouse.
<p>

<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa11">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a11">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1InputReadera4" doxytag="Ogre::InputReader::initialise"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Ogre::InputReader::initialise </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pWindow</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>useKeyboard</em> = true, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>useMouse</em> = true, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>useGameController</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initialise the input system.
<p>
<dl compact><dt><b>
Note: </b><dd>
 Only keyboard and mouse currently implemented. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pWindow</em>&nbsp;</td><td>
The window to capture input for </td></tr>
<tr><td valign=top><em>useKeyboard</em>&nbsp;</td><td>
If true, keyboard input will be supported. </td></tr>
<tr><td valign=top><em>useMouse</em>&nbsp;</td><td>
If true, mouse input will be supported. </td></tr>
<tr><td valign=top><em>useGameController</em>&nbsp;</td><td>
If true, joysticks/gamepads will be supported. </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa2">Ogre::SDLInput</a>, <a class="el" href="classOgre_1_1Win32Input.html#Ogre_1_1Win32Inputa2">Ogre::Win32Input</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a2">Ogre::Win32Input8</a>.
<p>
Referenced by <a class="el" href="OgreEventProcessor_8cpp-source.html#l00096">Ogre::EventProcessor::initialise</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa9" doxytag="Ogre::InputReader::isKeyDown"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual bool Ogre::InputReader::isKeyDown </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a633">KeyCode</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>kc</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines if the specified key is currently depressed.
<p>
<dl compact><dt><b>
Note: </b><dd>
This enquiry method uses the state of the keyboard at the last 'capture' call. </dl>
<p>
Implemented in <a class="el" href="classOgre_1_1SDLInput.html#Ogre_1_1SDLInputa4">Ogre::SDLInput</a>, and <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a4">Ogre::Win32Input8</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8b4" doxytag="Ogre::InputReader::keyChanged"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::keyChanged </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>key</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>down</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00157">157</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8cpp-source.html#l00123">createKeyEvent</a>(), <a class="el" href="namespaceOgre.html#a633a194">Ogre::KC_LCONTROL</a>, <a class="el" href="namespaceOgre.html#a633a221">Ogre::KC_LMENU</a>, <a class="el" href="namespaceOgre.html#a633a207">Ogre::KC_LSHIFT</a>, <a class="el" href="namespaceOgre.html#a633a272">Ogre::KC_RCONTROL</a>, <a class="el" href="namespaceOgre.html#a633a283">Ogre::KC_RMENU</a>, <a class="el" href="namespaceOgre.html#a633a219">Ogre::KC_RSHIFT</a>, and <a class="el" href="OgreInput_8h-source.html#l00321">mModifiers</a>.
<p>
Referenced by <a class="el" href="OgreSDLInput_8cpp-source.html#l00535">Ogre::SDLInput::processBufferedKeyboard</a>(), and <a class="el" href="OgreWin32Input8_8cpp-source.html#l00540">Ogre::Win32Input8::readBufferedKeyboardData</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8b0" doxytag="Ogre::InputReader::mouseMoved"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::mouseMoved </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates mouse moved or dragged events depending if any button is pressed.
<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00132">132</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8cpp-source.html#l00104">createMouseEvent</a>(), and <a class="el" href="OgreInput_8h-source.html#l00321">mModifiers</a>.
<p>
Referenced by <a class="el" href="OgreSDLInput_8cpp-source.html#l00556">Ogre::SDLInput::processBufferedMouse</a>(), and <a class="el" href="OgreWin32Input8_8cpp-source.html#l00608">Ogre::Win32Input8::readBufferedMouseData</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8a20" doxytag="Ogre::InputReader::removeCursorMoveListener"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::removeCursorMoveListener </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1MouseMotionListener.html">MouseMotionListener</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>c</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Remove a mouse motion listener to the cursor object.
<p>
This keeps the <a class="el" href="classOgre_1_1Cursor.html">Cursor</a> object hidden. 
<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00151">151</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8h-source.html#l00331">mCursor</a>, and <a class="el" href="OgreMouseMotionTarget_8cpp-source.html#l00074">Ogre::MouseMotionTarget::removeMouseMotionListener</a>().
<p>
Referenced by <a class="el" href="OgreEventProcessor_8cpp-source.html#l00206">Ogre::EventProcessor::removeCursorMoveListener</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Inputa8" doxytag="Ogre::InputReader::setBufferedInput"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::setBufferedInput </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>keys</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mouse</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented in <a class="el" href="classOgre_1_1Win32Input8.html#Ogre_1_1Win32Input8a13">Ogre::Win32Input8</a>.
<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00070">70</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8h-source.html#l00339">mUseBufferedKeys</a>, and <a class="el" href="OgreInput_8h-source.html#l00339">mUseBufferedMouse</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8b5" doxytag="Ogre::InputReader::setupKeyChars"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::setupKeyChars </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00215">215</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="namespaceOgre.html#a633a176">Ogre::KC_0</a>, <a class="el" href="namespaceOgre.html#a633a167">Ogre::KC_1</a>, <a class="el" href="namespaceOgre.html#a633a168">Ogre::KC_2</a>, <a class="el" href="namespaceOgre.html#a633a169">Ogre::KC_3</a>, <a class="el" href="namespaceOgre.html#a633a170">Ogre::KC_4</a>, <a class="el" href="namespaceOgre.html#a633a171">Ogre::KC_5</a>, <a class="el" href="namespaceOgre.html#a633a172">Ogre::KC_6</a>, <a class="el" href="namespaceOgre.html#a633a173">Ogre::KC_7</a>, <a class="el" href="namespaceOgre.html#a633a174">Ogre::KC_8</a>, <a class="el" href="namespaceOgre.html#a633a175">Ogre::KC_9</a>, <a class="el" href="namespaceOgre.html#a633a195">Ogre::KC_A</a>, <a class="el" href="namespaceOgre.html#a633a243">Ogre::KC_ADD</a>, <a class="el" href="namespaceOgre.html#a633a205">Ogre::KC_APOSTROPHE</a>, <a class="el" href="namespaceOgre.html#a633a263">Ogre::KC_AT</a>, <a class="el" href="namespaceOgre.html#a633a213">Ogre::KC_B</a>, <a class="el" href="namespaceOgre.html#a633a208">Ogre::KC_BACKSLASH</a>, <a class="el" href="namespaceOgre.html#a633a211">Ogre::KC_C</a>, <a class="el" href="namespaceOgre.html#a633a264">Ogre::KC_COLON</a>, <a class="el" href="namespaceOgre.html#a633a216">Ogre::KC_COMMA</a>, <a class="el" href="namespaceOgre.html#a633a197">Ogre::KC_D</a>, <a class="el" href="namespaceOgre.html#a633a248">Ogre::KC_DECIMAL</a>, <a class="el" href="namespaceOgre.html#a633a281">Ogre::KC_DIVIDE</a>, <a class="el" href="namespaceOgre.html#a633a183">Ogre::KC_E</a>, <a class="el" href="namespaceOgre.html#a633a178">Ogre::KC_EQUALS</a>, <a class="el" href="namespaceOgre.html#a633a198">Ogre::KC_F</a>, <a class="el" href="namespaceOgre.html#a633a199">Ogre::KC_G</a>, <a class="el" href="namespaceOgre.html#a633a206">Ogre::KC_GRAVE</a>, <a class="el" href="namespaceOgre.html#a633a200">Ogre::KC_H</a>, <a class="el" href="namespaceOgre.html#a633a188">Ogre::KC_I</a>, <a class="el" href="namespaceOgre.html#a633a201">Ogre::KC_J</a>, <a class="el" href="namespaceOgre.html#a633a202">Ogre::KC_K</a>, <a class="el" href="namespaceOgre.html#a633a203">Ogre::KC_L</a>, <a class="el" href="namespaceOgre.html#a633a191">Ogre::KC_LBRACKET</a>, <a class="el" href="namespaceOgre.html#a633a215">Ogre::KC_M</a>, <a class="el" href="namespaceOgre.html#a633a177">Ogre::KC_MINUS</a>, <a class="el" href="namespaceOgre.html#a633a220">Ogre::KC_MULTIPLY</a>, <a class="el" href="namespaceOgre.html#a633a214">Ogre::KC_N</a>, <a class="el" href="namespaceOgre.html#a633a247">Ogre::KC_NUMPAD0</a>, <a class="el" href="namespaceOgre.html#a633a244">Ogre::KC_NUMPAD1</a>, <a class="el" href="namespaceOgre.html#a633a245">Ogre::KC_NUMPAD2</a>, <a class="el" href="namespaceOgre.html#a633a246">Ogre::KC_NUMPAD3</a>, <a class="el" href="namespaceOgre.html#a633a240">Ogre::KC_NUMPAD4</a>, <a class="el" href="namespaceOgre.html#a633a241">Ogre::KC_NUMPAD5</a>, <a class="el" href="namespaceOgre.html#a633a242">Ogre::KC_NUMPAD6</a>, <a class="el" href="namespaceOgre.html#a633a236">Ogre::KC_NUMPAD7</a>, <a class="el" href="namespaceOgre.html#a633a237">Ogre::KC_NUMPAD8</a>, <a class="el" href="namespaceOgre.html#a633a238">Ogre::KC_NUMPAD9</a>, <a class="el" href="namespaceOgre.html#a633a280">Ogre::KC_NUMPADCOMMA</a>, <a class="el" href="namespaceOgre.html#a633a261">Ogre::KC_NUMPADEQUALS</a>, <a class="el" href="namespaceOgre.html#a633a189">Ogre::KC_O</a>, <a class="el" href="namespaceOgre.html#a633a190">Ogre::KC_P</a>, <a class="el" href="namespaceOgre.html#a633a217">Ogre::KC_PERIOD</a>, <a class="el" href="namespaceOgre.html#a633a181">Ogre::KC_Q</a>, <a class="el" href="namespaceOgre.html#a633a184">Ogre::KC_R</a>, <a class="el" href="namespaceOgre.html#a633a192">Ogre::KC_RBRACKET</a>, <a class="el" href="namespaceOgre.html#a633a196">Ogre::KC_S</a>, <a class="el" href="namespaceOgre.html#a633a204">Ogre::KC_SEMICOLON</a>, <a class="el" href="namespaceOgre.html#a633a218">Ogre::KC_SLASH</a>, <a class="el" href="namespaceOgre.html#a633a222">Ogre::KC_SPACE</a>, <a class="el" href="namespaceOgre.html#a633a239">Ogre::KC_SUBTRACT</a>, <a class="el" href="namespaceOgre.html#a633a185">Ogre::KC_T</a>, <a class="el" href="namespaceOgre.html#a633a187">Ogre::KC_U</a>, <a class="el" href="namespaceOgre.html#a633a265">Ogre::KC_UNDERLINE</a>, <a class="el" href="namespaceOgre.html#a633a212">Ogre::KC_V</a>, <a class="el" href="namespaceOgre.html#a633a182">Ogre::KC_W</a>, <a class="el" href="namespaceOgre.html#a633a210">Ogre::KC_X</a>, <a class="el" href="namespaceOgre.html#a633a186">Ogre::KC_Y</a>, <a class="el" href="namespaceOgre.html#a633a209">Ogre::KC_Z</a>, <a class="el" href="OgreInput_8h-source.html#l00035">Ogre::KEYCODE</a>(), and <a class="el" href="OgreInput_8cpp-source.html#l00035">Ogre::sKeyChars</a>.
<p>
Referenced by <a class="el" href="OgreInput_8cpp-source.html#l00038">InputReader</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8b2" doxytag="Ogre::InputReader::triggerMouseButton"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::triggerMouseButton </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>nMouseCode</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mousePressed</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates mouse pressed, released, and clicked events.
<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00087">87</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8cpp-source.html#l00104">createMouseEvent</a>(), and <a class="el" href="OgreInput_8h-source.html#l00321">mModifiers</a>.
<p>
Referenced by <a class="el" href="OgreSDLInput_8cpp-source.html#l00556">Ogre::SDLInput::processBufferedMouse</a>(), and <a class="el" href="OgreWin32Input8_8cpp-source.html#l00608">Ogre::Win32Input8::readBufferedMouseData</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8a15" doxytag="Ogre::InputReader::useBufferedInput"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::InputReader::useBufferedInput </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pEventQueue</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>keys</em> = true, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mouse</em> = true</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Tells the reader to use buffered input and update the passed in queue.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 The default behaviour of the input reader is simply to capture the current state of the mouse / keyboard on demand. An alternative is to use  buffered input where all events are registered on a queue. </dl>
<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00053">53</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
References <a class="el" href="OgreInput_8h-source.html#l00331">mCursor</a>, <a class="el" href="OgreInput_8h-source.html#l00334">mEventQueue</a>, <a class="el" href="OgreInput_8h-source.html#l00339">mUseBufferedKeys</a>, and <a class="el" href="OgreInput_8h-source.html#l00339">mUseBufferedMouse</a>.
<p>
Referenced by <a class="el" href="OgreEventProcessor_8cpp-source.html#l00096">Ogre::EventProcessor::initialise</a>().    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1Win32Input8n1" doxytag="Ogre::InputReader::mCursor"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Cursor.html">Cursor</a>* Ogre::InputReader::mCursor<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal <a class="el" href="classOgre_1_1Cursor.html">Cursor</a> object.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This is a mathematical representation of where the cursor is, it does  not draw a cursor. </dl><dl compact><dt><b>
See also: </b><dd>
<a class="el" href="classOgre_1_1CursorGuiElement.html">CursorGuiElement</a>. </dl>
<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00331">331</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.
<p>
Referenced by <a class="el" href="OgreInput_8cpp-source.html#l00146">addCursorMoveListener</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00104">createMouseEvent</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00038">InputReader</a>(), <a class="el" href="OgreSDLInput_8cpp-source.html#l00556">Ogre::SDLInput::processBufferedMouse</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00608">Ogre::Win32Input8::readBufferedMouseData</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00151">removeCursorMoveListener</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00053">useBufferedInput</a>(), and <a class="el" href="OgreInput_8cpp-source.html#l00078">~InputReader</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8n2" doxytag="Ogre::InputReader::mEventQueue"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a>* Ogre::InputReader::mEventQueue<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a> is used for buffered input support.
<p>

<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00334">334</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.
<p>
Referenced by <a class="el" href="OgreInput_8cpp-source.html#l00123">createKeyEvent</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00104">createMouseEvent</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00038">InputReader</a>(), <a class="el" href="OgreSDLInput_8cpp-source.html#l00033">Ogre::SDLInput::SDLInput</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00053">useBufferedInput</a>(), and <a class="el" href="OgreWin32Input8_8cpp-source.html#l00042">Ogre::Win32Input8::Win32Input8</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8n0" doxytag="Ogre::InputReader::mModifiers"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> long Ogre::InputReader::mModifiers<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The modifiers are a binary flags that represent what buttons are pressed, and what key modifiers are down (e.g.
<p>
shift/alt). 
<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00321">321</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.
<p>
Referenced by <a class="el" href="OgreWin32Input8_8cpp-source.html#l00415">Ogre::Win32Input8::capture</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00123">createKeyEvent</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00104">createMouseEvent</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00806">Ogre::Win32Input8::getKeyModifiers</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00038">InputReader</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00157">keyChanged</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00132">mouseMoved</a>(), and <a class="el" href="OgreInput_8cpp-source.html#l00087">triggerMouseButton</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8n5" doxytag="Ogre::InputReader::mMouseState"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structOgre_1_1MouseState.html">MouseState</a> Ogre::InputReader::mMouseState<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The mouse state in immediate mode.
<p>

<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00342">342</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.
<p>
Referenced by <a class="el" href="OgreSDLInput_8cpp-source.html#l00170">Ogre::SDLInput::capture</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00478">Ogre::Win32Input8::captureMouse</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00778">Ogre::Win32Input8::getMouseAbsX</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00783">Ogre::Win32Input8::getMouseAbsY</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00788">Ogre::Win32Input8::getMouseAbsZ</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00794">Ogre::Win32Input8::getMouseButton</a>(), <a class="el" href="OgreSDLInput_8cpp-source.html#l00530">Ogre::SDLInput::getMouseButton</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00761">Ogre::Win32Input8::getMouseRelX</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00767">Ogre::Win32Input8::getMouseRelY</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00773">Ogre::Win32Input8::getMouseRelZ</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00800">Ogre::Win32Input8::getMouseState</a>(), <a class="el" href="OgreSDLInput_8cpp-source.html#l00640">Ogre::SDLInput::getMouseState</a>(), and <a class="el" href="OgreWin32Input8_8cpp-source.html#l00198">Ogre::Win32Input8::initialiseImmediateMouse</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8n3" doxytag="Ogre::InputReader::mUseBufferedKeys"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::InputReader::mUseBufferedKeys<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Wether to use buffering input support - buffering support relies on using an <a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a>.
<p>
<dl compact><dt><b>
See also: </b><dd>
class <a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a> </dl>
<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00339">339</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.
<p>
Referenced by <a class="el" href="OgreSDLInput_8cpp-source.html#l00170">Ogre::SDLInput::capture</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00038">InputReader</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00373">Ogre::Win32Input8::setBufferedInput</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00070">setBufferedInput</a>(), and <a class="el" href="OgreInput_8cpp-source.html#l00053">useBufferedInput</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8n4" doxytag="Ogre::InputReader::mUseBufferedMouse"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::InputReader::mUseBufferedMouse<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Wether to use buffering input support - buffering support relies on using an <a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a>.
<p>
<dl compact><dt><b>
See also: </b><dd>
class <a class="el" href="classOgre_1_1EventQueue.html">EventQueue</a> </dl>
<p>
Definition at line <a class="el" href="OgreInput_8h-source.html#l00339">339</a> of file <a class="el" href="OgreInput_8h-source.html">OgreInput.h</a>.
<p>
Referenced by <a class="el" href="OgreSDLInput_8cpp-source.html#l00170">Ogre::SDLInput::capture</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00038">InputReader</a>(), <a class="el" href="OgreWin32Input8_8cpp-source.html#l00373">Ogre::Win32Input8::setBufferedInput</a>(), <a class="el" href="OgreInput_8cpp-source.html#l00070">setBufferedInput</a>(), and <a class="el" href="OgreInput_8cpp-source.html#l00053">useBufferedInput</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Win32Input8q0" doxytag="Ogre::InputReader::sKeysInitialised"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::InputReader::sKeysInitialised = false<code> [static, protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreInput_8cpp-source.html#l00036">36</a> of file <a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a>.
<p>
Referenced by <a class="el" href="OgreInput_8cpp-source.html#l00038">InputReader</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgreInput_8h-source.html">OgreInput.h</a><li><a class="el" href="OgreInput_8cpp-source.html">OgreInput.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:17:57 2004
</p>
</body>
</html>