OIS  1.5
Object-oriented Input System
Public Member Functions | List of all members
OIS::KeyListener Class Referenceabstract

#include <OISKeyboard.h>

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

Constructor & Destructor Documentation

◆ ~KeyListener()

virtual OIS::KeyListener::~KeyListener ( )
inlinevirtual

Member Function Documentation

◆ keyPressed()

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

◆ keyReleased()

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

The documentation for this class was generated from the following file: