OIS  1.5
Object-oriented Input System
Public Member Functions | Public Attributes | List of all members
OIS::KeyEvent Class Reference

#include <OISKeyboard.h>

Inheritance diagram for OIS::KeyEvent:
OIS::EventArg

Public Member Functions

 KeyEvent (Object *obj, KeyCode kc, unsigned int txt)
 
virtual ~KeyEvent ()
 
- Public Member Functions inherited from OIS::EventArg
 EventArg (Object *obj)
 
virtual ~EventArg ()
 

Public Attributes

KeyCode key
 KeyCode of event. More...
 
unsigned int text
 Text character, depends on current TextTranslationMode. More...
 
- Public Attributes inherited from OIS::EventArg
const Objectdevice
 Pointer to the Input Device. More...
 

Detailed Description

Specialised for key events

Constructor & Destructor Documentation

◆ KeyEvent()

OIS::KeyEvent::KeyEvent ( Object obj,
KeyCode  kc,
unsigned int  txt 
)
inline

◆ ~KeyEvent()

virtual OIS::KeyEvent::~KeyEvent ( )
inlinevirtual

Member Data Documentation

◆ key

KeyCode OIS::KeyEvent::key

KeyCode of event.

◆ text

unsigned int OIS::KeyEvent::text

Text character, depends on current TextTranslationMode.


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