Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/mac/MacKeyboard.h>
Public Member Functions | |
MacKeyboard (InputManager *creator, bool buffered, bool repeat) | |
virtual | ~MacKeyboard () |
virtual void | _initialize () |
void | _keyDownCallback (EventRef theEvent) |
void | _keyUpCallback (EventRef theEvent) |
void | _modChangeCallback (EventRef theEvent) |
virtual void | capture () |
virtual void | copyKeyStates (char keys[256]) const |
virtual std::string & | getAsString (KeyCode key) |
virtual bool | isKeyDown (KeyCode key) const |
virtual Interface * | queryInterface (Interface::IType type) |
virtual void | setBuffered (bool buffered) |
Public Member Functions inherited from OIS::Keyboard | |
virtual | ~Keyboard () |
KeyListener * | getEventCallback () const |
TextTranslationMode | getTextTranslation () const |
bool | isModifierDown (Modifier mod) const |
virtual void | setEventCallback (KeyListener *keyListener) |
virtual void | setTextTranslation (TextTranslationMode mode) |
Public Member Functions inherited from OIS::Object | |
virtual | ~Object () |
virtual bool | buffered () const |
InputManager * | getCreator () const |
virtual int | getID () const |
Type | type () const |
const std::string & | vendor () const |
Protected Types | |
typedef std::list< MacKeyStackEvent > | eventStack |
typedef std::map< UInt32, KeyCode > | VirtualtoOIS_KeyMap |
Protected Member Functions | |
void | injectEvent (KeyCode kc, unsigned int time, MacEventType type, unsigned int txt=0) |
void | populateKeyConversion () |
Protected Member Functions inherited from OIS::Keyboard | |
Keyboard (const std::string &vendor, bool buffered, int devID, InputManager *creator) | |
Protected Member Functions inherited from OIS::Object | |
Object (const std::string &vendor, Type iType, bool buffered, int devID, InputManager *creator) | |
Protected Attributes | |
std::string | getString |
char | KeyBuffer [256] |
VirtualtoOIS_KeyMap | keyConversion |
EventHandlerRef | keyDownEventRef |
EventHandlerUPP | keyDownUPP |
EventHandlerRef | keyModEventRef |
EventHandlerUPP | keyModUPP |
EventHandlerRef | keyUpEventRef |
EventHandlerUPP | keyUpUPP |
eventStack | pendingEvents |
UInt32 | prevModMask |
bool | useRepeat |
Protected Attributes inherited from OIS::Keyboard | |
KeyListener * | mListener |
Used for buffered/actionmapping callback. More... | |
unsigned int | mModifiers |
Bit field that holds status of Alt, Ctrl, Shift. More... | |
TextTranslationMode | mTextMode |
The current translation mode. More... | |
Protected Attributes inherited from OIS::Object | |
bool | mBuffered |
Buffered flag. More... | |
InputManager * | mCreator |
The creator who created this object. More... | |
int | mDevID |
Not fully implemented yet. More... | |
Type | mType |
Type of controller object. More... | |
std::string | mVendor |
Vendor name if applicable/known. More... | |
Additional Inherited Members | |
Public Types inherited from OIS::Keyboard | |
enum | Modifier { Shift = 0x0000001, Ctrl = 0x0000010, Alt = 0x0000100 } |
Enum of bit position of modifer. More... | |
enum | TextTranslationMode { Off, Unicode, Ascii } |
TextTranslation Mode. More... | |
|
protected |
|
protected |
MacKeyboard::MacKeyboard | ( | InputManager * | creator, |
bool | buffered, | ||
bool | repeat | ||
) |
|
virtual |
|
virtual |
Implements OIS::Object.
void MacKeyboard::_keyDownCallback | ( | EventRef | theEvent | ) |
void MacKeyboard::_keyUpCallback | ( | EventRef | theEvent | ) |
void MacKeyboard::_modChangeCallback | ( | EventRef | theEvent | ) |
|
virtual |
Implements OIS::Object.
|
virtual |
Implements OIS::Keyboard.
|
virtual |
kc | KeyCode to convert |
Implements OIS::Keyboard.
|
protected |
|
virtual |
|
protected |
|
inlinevirtual |
type | The type of interface you are looking for |
Implements OIS::Object.
|
virtual |
Implements OIS::Object.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |