29 #ifndef _Core_Keyboard_H__ 30 #define _Core_Keyboard_H__
KeyEvent ButtonType
Definition: Keyboard.h:42
void setModifiers(int modifiers)
Definition: InputHandler.h:93
int modifiers_
Bit mask representing keyboard modifiers.
Definition: Keyboard.h:86
::std::string string
Definition: gtest-port.h:756
KeyEvent & ButtonTypeParam
Definition: Keyboard.h:43
static std::string getClassNameImpl()
Returns the class name as string.
Definition: Keyboard.h:81
Wraps around an OIS::Mouse and forwards the input events to a list of input states.
Definition: Keyboard.h:54
KeyEvent & getButtonEventArg(KeyEvent &button)
Translates the KeyHandle to a KeyEvent.
Definition: Keyboard.h:71
void clearBuffersImpl()
Resets the keyboard modifiers.
Definition: Keyboard.h:69
InputDeviceTemplated< KeyboardTraits > super
Super class alias.
Definition: Keyboard.h:60
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
#define _CoreExport
Definition: CorePrereqs.h:61
Event argument for key events.
Definition: InputHandler.h:76
Keyboard DeviceClass
Definition: Keyboard.h:40
Keyboard(unsigned int id, OIS::InputManager *oisInputManager)
Only resets the keyboard modifiers. Initialising is done in the base class.
Definition: Keyboard.h:64
Type
Each Input class has a General Type variable, a form of RTTI.
Definition: OISPrereqs.h:138
Definition: OISPrereqs.h:141
Template parameter collection for the base class
Definition: Keyboard.h:38
static const OIS::Type OISDeviceValue
Definition: Keyboard.h:44
Specialised for key events.
Definition: OISKeyboard.h:183
Keyboard base class.
Definition: OISKeyboard.h:211
OIS::Keyboard OISDeviceClass
Definition: Keyboard.h:41
To recieve buffered keyboard input, derive a class from this, and implement the methods here...
Definition: OISKeyboard.h:199