Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/win32/Win32KeyBoard.h>
Public Member Functions | |
Win32Keyboard (InputManager *creator, IDirectInput8 *pDI, bool buffered, DWORD coopSettings) | |
virtual | ~Win32Keyboard () |
virtual void | _initialize () |
virtual void | capture () |
virtual void | copyKeyStates (char keys[256]) const |
virtual const std::string & | getAsString (KeyCode kc) |
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 Member Functions | |
void | _read () |
void | _readBuffered () |
int | _translateText (KeyCode kc) |
Internal method for translating KeyCodes to Text. More... | |
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 | |
DWORD | coopSetting |
WCHAR | deadKey |
Stored dead key from last translation. More... | |
unsigned char | KeyBuffer [256] |
IDirectInput8 * | mDirectInput |
std::string | mGetString |
used for getAsString More... | |
IDirectInputDevice8 * | mKeyboard |
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... | |
Win32Keyboard::Win32Keyboard | ( | InputManager * | creator, |
IDirectInput8 * | pDI, | ||
bool | buffered, | ||
DWORD | coopSettings | ||
) |
pDI | Valid DirectInput8 Interface |
buffered | True for buffered input mode |
coopSettings | A combination of DI Flags (see DX Help for info on input device settings) |
|
virtual |
|
virtual |
Implements OIS::Object.
|
protected |
|
protected |
|
protected |
Internal method for translating KeyCodes to Text.
|
virtual |
Implements OIS::Object.
|
virtual |
Implements OIS::Keyboard.
|
virtual |
kc | KeyCode to convert |
Implements OIS::Keyboard.
|
virtual |
|
inlinevirtual |
type | The type of interface you are looking for |
Implements OIS::Object.
|
virtual |
Implements OIS::Object.
|
protected |
|
protected |
Stored dead key from last translation.
|
protected |
|
protected |
|
protected |
used for getAsString
|
protected |