23 #ifndef _WIN32_KEYBOARD_H_EADER_ 24 #define _WIN32_KEYBOARD_H_EADER_ 87 #endif //_WIN32_KEYBOARD_H_EADER_ Win32Keyboard(InputManager *creator, IDirectInput8 *pDI, bool buffered, DWORD coopSettings)
Definition: Win32KeyBoard.cpp:32
unsigned char KeyBuffer[256]
Definition: Win32KeyBoard.h:75
virtual void setBuffered(bool buffered)
Definition: Win32KeyBoard.cpp:319
IDirectInput8 * mDirectInput
Definition: Win32KeyBoard.h:71
An Object's interface is a way to gain write access to devices which support it.
Definition: OISInterface.h:34
::std::string string
Definition: gtest-port.h:756
IType
Type of Interface.
Definition: OISInterface.h:40
DWORD coopSetting
Definition: Win32KeyBoard.h:73
void _read()
Definition: Win32KeyBoard.cpp:204
IDirectInputDevice8 * mKeyboard
Definition: Win32KeyBoard.h:72
KeyCode
Keyboard scan codes.
Definition: OISKeyboard.h:31
virtual void capture()
Definition: Win32KeyBoard.cpp:93
virtual const std::string & getAsString(KeyCode kc)
Definition: Win32KeyBoard.cpp:289
int _translateText(KeyCode kc)
Internal method for translating KeyCodes to Text.
Definition: Win32KeyBoard.cpp:226
virtual bool isKeyDown(KeyCode key) const
Definition: Win32KeyBoard.cpp:283
std::string mGetString
used for getAsString
Definition: Win32KeyBoard.h:84
virtual void copyKeyStates(char keys[256]) const
Definition: Win32KeyBoard.cpp:312
virtual bool buffered() const
Definition: OISObject.h:44
virtual ~Win32Keyboard()
Definition: Win32KeyBoard.cpp:81
virtual Interface * queryInterface(Interface::IType type)
Definition: Win32KeyBoard.h:63
Definition: EventHelpers.h:31
Definition: Win32KeyBoard.h:31
virtual void _initialize()
Definition: Win32KeyBoard.cpp:46
Type type() const
Definition: OISObject.h:38
Keyboard base class.
Definition: OISKeyboard.h:211
WCHAR deadKey
Stored dead key from last translation.
Definition: Win32KeyBoard.h:81
void _readBuffered()
Definition: Win32KeyBoard.cpp:102