Orxonox
0.0.5 Codename: Arcturus
|
Win32InputManager specialization - Using DirectInput8. More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/win32/Win32InputManager.h>
Public Member Functions | |
Win32InputManager () | |
virtual | ~Win32InputManager () |
void | _initialize (ParamList ¶mList) |
void | _returnJoyStick (const JoyStickInfo &joystick) |
Internal method, return unused joystick to queue. More... | |
void | _setKeyboardUsed (bool used) |
Internal method, used for flaggin keyboard as available/unavailable for creation. More... | |
void | _setMouseUsed (bool used) |
Internal method, used for flaggin mouse as available/unavailable for creation. More... | |
Object * | createObject (InputManager *creator, Type iType, bool bufferMode, const std::string &vendor="") |
void | destroyObject (Object *obj) |
DeviceList | freeDeviceList () |
int | freeDevices (Type iType) |
HWND | getWindowHandle () |
Returns HWND needed by DirectInput Device Object. More... | |
int | totalDevices (Type iType) |
bool | vendorExist (Type iType, const std::string &vendor) |
Public Member Functions inherited from OIS::InputManager | |
void | addFactoryCreator (FactoryCreator *factory) |
Object * | createInputObject (Type iType, bool bufferMode, const std::string &vendor="") |
void | destroyInputObject (Object *obj) |
void | enableAddOnFactory (AddOnFactories factory) |
int | getNumberOfDevices (Type iType) |
const std::string & | getVersionName () |
const std::string & | inputSystemName () |
DeviceList | listFreeDevices () |
void | removeFactoryCreator (FactoryCreator *factory) |
Public Member Functions inherited from OIS::FactoryCreator | |
virtual | ~FactoryCreator () |
Protected Member Functions | |
void | _enumerateDevices () |
internal class method for finding attached devices More... | |
void | _parseConfigSettings (ParamList ¶mList) |
internal class method for dealing with param list More... | |
Protected Member Functions inherited from OIS::InputManager | |
InputManager (const std::string &name) | |
virtual | ~InputManager () |
Static Protected Member Functions | |
static BOOL CALLBACK | _DIEnumDevCallback (LPCDIDEVICEINSTANCE lpddi, LPVOID pvRef) |
Used during device enumeration. More... | |
Protected Attributes | |
HWND | hWnd |
The window handle we are using. More... | |
DWORD | joySettings |
Used for joystick device settings. More... | |
char | joySticks |
Number of total joysticks (inuse or not) More... | |
DWORD | kbSettings |
Used for keyboard device settings. More... | |
bool | keyboardUsed |
Used to know if we used up keyboard. More... | |
IDirectInput8 * | mDirectInput |
Direct Input Interface. More... | |
DWORD | mouseSettings |
Used for mouse device settings. More... | |
bool | mouseUsed |
Used to know if we used up mouse. More... | |
JoyStickInfoList | unusedJoyStickList |
Keep a list of all joysticks enumerated, but not in use. More... | |
Protected Attributes inherited from OIS::InputManager | |
LIRCFactoryCreator * | m_lircSupport |
Extra factory (not enabled by default) More... | |
const std::string | m_VersionName |
OIS Version name. More... | |
WiiMoteFactoryCreator * | m_wiiMoteSupport |
FactoryList | mFactories |
FactoryCreator list. More... | |
FactoryCreatedObject | mFactoryObjects |
Factory created objects - useful so we can find creator to send destruction request to. More... | |
const std::string | mInputSystemName |
Name of the input system. More... | |
Additional Inherited Members | |
Public Types inherited from OIS::InputManager | |
enum | AddOnFactories { AddOn_All = 0, AddOn_LIRC = 1, AddOn_WiiMote = 2 } |
All generic devices OIS supports internally (if they are compiled in) More... | |
Static Public Member Functions inherited from OIS::InputManager | |
static InputManager * | createInputSystem (std::size_t winHandle) |
static InputManager * | createInputSystem (ParamList ¶mList) |
static void | destroyInputSystem (InputManager *manager) |
static unsigned int | getVersionNumber () |
Win32InputManager specialization - Using DirectInput8.
Win32InputManager::Win32InputManager | ( | ) |
|
virtual |
|
staticprotected |
Used during device enumeration.
|
protected |
internal class method for finding attached devices
Implements OIS::InputManager.
internal class method for dealing with param list
void Win32InputManager::_returnJoyStick | ( | const JoyStickInfo & | joystick | ) |
Internal method, return unused joystick to queue.
|
inline |
Internal method, used for flaggin keyboard as available/unavailable for creation.
|
inline |
Internal method, used for flaggin mouse as available/unavailable for creation.
|
virtual |
iType | Type to create |
bufferMode | True to setup for buffered events |
vendor | Create a device with the vendor name, "" means vendor name is unimportant |
Implements OIS::FactoryCreator.
|
virtual |
Implements OIS::FactoryCreator.
|
virtual |
iType | Type of devices to check |
Implements OIS::FactoryCreator.
|
inline |
Returns HWND needed by DirectInput Device Object.
|
virtual |
iType | Type of devices to check |
Implements OIS::FactoryCreator.
|
virtual |
iType | Type to check |
vendor | Vendor name to test |
Implements OIS::FactoryCreator.
|
protected |
The window handle we are using.
|
protected |
Used for joystick device settings.
|
protected |
Number of total joysticks (inuse or not)
|
protected |
Used for keyboard device settings.
|
protected |
Used to know if we used up keyboard.
|
protected |
Direct Input Interface.
|
protected |
Used for mouse device settings.
|
protected |
Used to know if we used up mouse.
|
protected |
Keep a list of all joysticks enumerated, but not in use.