#include <src/core/input/InputInterfaces.h>
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 |
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] |
bool orxonox::KeyEvent::isModifierDown | ( | KeyboardModifier::Enum | modifier | ) | const [inline] |
Referenced by orxonox::InputBuffer::processKey().
unsigned int orxonox::KeyEvent::modifiers |
unsigned int orxonox::KeyEvent::text |
Referenced by orxonox::GUIManager::keyPressed(), and orxonox::InputBuffer::processKey().