OIS 1.6
Object-oriented Input System
Loading...
Searching...
No Matches
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.
unsigned int text
 Text character, depends on current TextTranslationMode.
Public Attributes inherited from OIS::EventArg
const Objectdevice
 Pointer to the Input Device.

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: