Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/win32/Win32JoyStick.h>
Public Member Functions | |
Win32JoyStick (InputManager *creator, IDirectInput8 *pDI, bool buffered, DWORD coopSettings, const JoyStickInfo &info) | |
virtual | ~Win32JoyStick () |
virtual void | _initialize () |
virtual void | capture () |
void | captureXInput () |
hanlde xinput More... | |
virtual Interface * | queryInterface (Interface::IType type) |
virtual void | setBuffered (bool buffered) |
Public Member Functions inherited from OIS::JoyStick | |
virtual | ~JoyStick () |
JoyStickListener * | getEventCallback () const |
const JoyStickState & | getJoyStickState () const |
int | getNumberOfComponents (ComponentType cType) const |
float | getVector3Sensitivity () const |
virtual void | setEventCallback (JoyStickListener *joyListener) |
void | setVector3Sensitivity (float degrees=OIS_JOYSTICK_VECTOR3_DEFAULT) |
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 |
Static Public Member Functions | |
static void | CheckXInputDevices (JoyStickInfoList &joys) |
Protected Member Functions | |
bool | _changePOV (int pov, DIDEVICEOBJECTDATA &di) |
bool | _doButtonClick (int button, DIDEVICEOBJECTDATA &di) |
void | _enumerate () |
Enumerates all things. More... | |
Protected Member Functions inherited from OIS::JoyStick | |
JoyStick (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) | |
Static Protected Member Functions | |
static BOOL CALLBACK | DIEnumDeviceObjectsCallback (LPCDIDEVICEOBJECTINSTANCE lpddoi, LPVOID pvRef) |
Enumerate axis callback. More... | |
static BOOL CALLBACK | DIEnumEffectsCallback (LPCDIEFFECTINFO pdei, LPVOID pvRef) |
Enumerate Force Feedback callback. More... | |
Protected Attributes | |
int | _AxisNumber |
Mapping. More... | |
DWORD | coopSetting |
DIDEVCAPS | mDIJoyCaps |
IDirectInput8 * | mDirectInput |
Win32ForceFeedback * | mFfDevice |
A force feedback device. More... | |
JoyStickInfo | mJoyInfo |
IDirectInputDevice8 * | mJoyStick |
Protected Attributes inherited from OIS::JoyStick | |
JoyStickListener * | mListener |
The callback listener. More... | |
int | mPOVs |
Number of POVs. More... | |
int | mSliders |
Number of sliders. More... | |
JoyStickState | mState |
The JoyStickState structure (contains all component values) More... | |
float | mVector3Sensitivity |
Adjustment factor for orientation vector accuracy. 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 | |
Static Public Attributes inherited from OIS::JoyStick | |
static const int | MAX_AXIS = 32767 |
The maximum axis value. More... | |
static const int | MIN_AXIS = -32768 |
The minimal axis value. More... | |
Win32JoyStick::Win32JoyStick | ( | InputManager * | creator, |
IDirectInput8 * | pDI, | ||
bool | buffered, | ||
DWORD | coopSettings, | ||
const JoyStickInfo & | info | ||
) |
|
virtual |
|
protected |
|
protected |
|
protected |
Enumerates all things.
|
virtual |
Implements OIS::Object.
|
virtual |
Implements OIS::Object.
void Win32JoyStick::captureXInput | ( | ) |
hanlde xinput
|
static |
|
staticprotected |
Enumerate axis callback.
|
staticprotected |
Enumerate Force Feedback callback.
|
virtual |
type | The type of interface you are looking for |
Implements OIS::Object.
|
virtual |
Implements OIS::Object.
|
protected |
Mapping.
|
protected |
|
protected |
|
protected |
|
protected |
A force feedback device.
|
protected |
|
protected |