OIS::KeyListener Class Reference

#include <OISKeyboard.h>

Inheritance diagram for OIS::KeyListener:
[legend]

List of all members.

Public Member Functions

virtual ~KeyListener ()
virtual bool keyPressed (const KeyEvent &arg)=0
virtual bool keyReleased (const KeyEvent &arg)=0


Detailed Description

To recieve buffered keyboard input, derive a class from this, and implement the methods here. Then set the call back to your Keyboard instance with Keyboard::setEventCallback

Definition at line 199 of file OISKeyboard.h.


Constructor & Destructor Documentation

virtual OIS::KeyListener::~KeyListener (  )  [inline, virtual]

Definition at line 202 of file OISKeyboard.h.


Member Function Documentation

virtual bool OIS::KeyListener::keyPressed ( const KeyEvent arg  )  [pure virtual]

Implemented in EventHandler, EventHandler, and EventHandler.

Referenced by OIS::Win32Keyboard::_readBuffered(), OIS::SDLKeyboard::capture(), and OIS::MacKeyboard::capture().

virtual bool OIS::KeyListener::keyReleased ( const KeyEvent arg  )  [pure virtual]

Implemented in EventHandler, EventHandler, and EventHandler.

Referenced by OIS::Win32Keyboard::_readBuffered(), OIS::SDLKeyboard::capture(), and OIS::MacKeyboard::capture().


The documentation for this class was generated from the following file:
Generated on Sat Dec 1 20:13:55 2007 for OIS by  doxygen 1.5.4