Orxonox: OIS::KeyEvent Class Reference

# OIS::KeyEvent Class Reference

`#include <src/ois/OISKeyboard.h>`

Inheritance diagram for OIS::KeyEvent:

List of all members.

## Public Member Functions

| KeyEvent (Object *obj, KeyCode kc, unsigned int txt)
virtual | ~KeyEvent ()

## Public Attributes

const KeyCode | key
| KeyCode of event.
unsigned int | text
| Text character, depends on current TextTranslationMode.

## Detailed Description

Specialised for key events

## Constructor & Destructor Documentation

OIS::KeyEvent::KeyEvent | ( | Object * | obj,
|  | KeyCode | kc,
|  | unsigned int | txt |
| ) |  |  | `[inline]`

virtual OIS::KeyEvent::~KeyEvent | ( |  | ) | `[inline, virtual]`

## Member Data Documentation

const KeyCode OIS::KeyEvent::key

KeyCode of event.

Referenced by orxonox::InputManager::keyPressed(), and orxonox::InputManager::keyReleased().

unsigned int OIS::KeyEvent::text

Text character, depends on current TextTranslationMode.

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

- src/ois/OISKeyboard.h