Orxonox: orxonox::KeyEvent Class Reference

# orxonox::KeyEvent Class Reference

`#include <src/core/input/InputInterfaces.h>`

List of all members.

## Public Member Functions

bool | isModifierDown (KeyboardModifier::Enum modifier) const
| KeyEvent (const Key &key, unsigned int mod)
| KeyEvent (const OIS::KeyEvent &evt, unsigned int mod)
| KeyEvent (KeyCode::ByEnum key, unsigned int text)

## Public Attributes

const KeyCode::ByEnum | key
unsigned int | modifiers
unsigned int | text

## Constructor & Destructor Documentation

orxonox::KeyEvent::KeyEvent | ( | KeyCode::ByEnum | key,
|  | unsigned int | text |
| ) |  |  | `[inline]`

orxonox::KeyEvent::KeyEvent | ( | const OIS::KeyEvent & | evt,
|  | unsigned int | mod |
| ) |  |  | `[inline]`

orxonox::KeyEvent::KeyEvent | ( | const Key & | key,
|  | unsigned int | mod |
| ) |  |  | `[inline]`

## Member Function Documentation

bool orxonox::KeyEvent::isModifierDown | ( | KeyboardModifier::Enum | modifier | ) | const`[inline]`

Referenced by orxonox::InputBuffer::processKey().

## Member Data Documentation

const KeyCode::ByEnum orxonox::KeyEvent::key

Referenced by orxonox::KeyBinder::keyHeld(), orxonox::InputBuffer::keyHeld(), orxonox::GUIManager::keyPressed(), orxonox::KeyBinder::keyPressed(), orxonox::InputBuffer::keyPressed(), orxonox::GUIManager::keyReleased(), orxonox::KeyBinder::keyReleased(), and orxonox::InputBuffer::processKey().

unsigned int orxonox::KeyEvent::modifiers

unsigned int orxonox::KeyEvent::text

Referenced by orxonox::GUIManager::keyPressed(), and orxonox::InputBuffer::processKey().

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

- src/core/input/InputInterfaces.h