| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
KeyEvent class - DOCUMENTATION NEEDED. More...
#include <KeyEvent.h>
Public Member Functions | |
| KeyCode | getKey () const |
| getKey - DOCUMENTATION NEEDED | |
| u32 | getModifiers () const |
| getModifiers - DOCUMENTATION NEEDED | |
| u32 | getText () const |
| getText - DOCUMENTATION NEEDED | |
| KeyEvent () | |
| Contructor. | |
| void | set (KeyCode key, u32 modifiers, u32 text, InputDevice *source) |
| ~KeyEvent () | |
| Destructor. | |
Protected Attributes | |
| KeyCode | mKey |
| u32 | mModifiers |
| u32 | mText |
KeyEvent class - DOCUMENTATION NEEDED.
| input::KeyEvent::KeyEvent | ( | ) |
Contructor.
References input::KC_UNKNOWN, mKey, mModifiers, and mText.
| input::KeyEvent::~KeyEvent | ( | ) |
Destructor.
| u32 input::KeyEvent::getModifiers | ( | ) | const |
getModifiers - DOCUMENTATION NEEDED
References mModifiers.
| void input::KeyEvent::set | ( | KeyCode | key, |
| u32 | modifiers, | ||
| u32 | text, | ||
| InputDevice * | source | ||
| ) |
Set the key event
| key,: | KeyCode enumeration type, specifying the key. |
| modifiers,: | specifying the modifiers. |
| text,: | DOCUMENTATION NEEDED |
| source,: | The input device which this event originates from. |
References mKey, mModifiers, and mText.
KeyCode input::KeyEvent::mKey [protected] |
Referenced by getKey(), KeyEvent(), and set().
u32 input::KeyEvent::mModifiers [protected] |
Referenced by getModifiers(), KeyEvent(), and set().
u32 input::KeyEvent::mText [protected] |
Referenced by getText(), KeyEvent(), and set().
|
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:07 by
Doxygen
(1.7.4)
|