RazerHydraDevice
Engine/source/platform/input/razerHydra/razerHydraDevice.h
Public Static Attributes
RH_ROTAXISX [RazerHydraConstants::MaxControllers]
RH_ROTAXISY [RazerHydraConstants::MaxControllers]
RH_SHOULDER [RazerHydraConstants::MaxControllers]
RH_TRIGGER [RazerHydraConstants::MaxControllers]
bool
bool
Protected Attributes
bool
Is the Razer Hydra active (enabled means the library is loaded)
mDataBuffer [RazerHydraConstants::MaxControllers][2]
Buffers to store data for the controllers.
When was the last check for an active Hydra.
mPrevData [RazerHydraConstants::MaxControllers]
Points to the buffers that holds the previously collected data for each controller.
Public Functions
bool
enable()
getControllerPosition(U32 controller)
getControllerRotation(U32 controller)
bool
isActive()
bool
isControllerDocked(U32 controller)
bool
process()
Public Static Functions
const char *
Protected Functions
Build out the codes used for controller actions with the Input Event Manager.
bool
Checks if there are active controllers.
Detailed Description
Public Static Attributes
U32 RH_1 [RazerHydraConstants::MaxControllers]
U32 RH_2 [RazerHydraConstants::MaxControllers]
U32 RH_3 [RazerHydraConstants::MaxControllers]
U32 RH_4 [RazerHydraConstants::MaxControllers]
U32 RH_DOCKED [RazerHydraConstants::MaxControllers]
U32 RH_FRAME
U32 RH_POS [RazerHydraConstants::MaxControllers]
U32 RH_POSX [RazerHydraConstants::MaxControllers]
U32 RH_POSY [RazerHydraConstants::MaxControllers]
U32 RH_POSZ [RazerHydraConstants::MaxControllers]
U32 RH_ROT [RazerHydraConstants::MaxControllers]
U32 RH_ROTAXISX [RazerHydraConstants::MaxControllers]
U32 RH_ROTAXISY [RazerHydraConstants::MaxControllers]
U32 RH_SHOULDER [RazerHydraConstants::MaxControllers]
U32 RH_START [RazerHydraConstants::MaxControllers]
U32 RH_THUMB [RazerHydraConstants::MaxControllers]
U32 RH_THUMBX [RazerHydraConstants::MaxControllers]
U32 RH_THUMBY [RazerHydraConstants::MaxControllers]
U32 RH_TRIGGER [RazerHydraConstants::MaxControllers]
bool smCombinedPositionEvents
bool smEnableDevice
bool smGenerateWholeFrameEvents
F32 smMaximumAxisAngle
bool smProcessWhenDocked
bool smRotationAsAxisEvents
bool smSeparatePositionEvents
Protected Attributes
bool mActive
Is the Razer Hydra active (enabled means the library is loaded)
RazerHyrdaControllerData * mDataBuffer [RazerHydraConstants::MaxControllers][2]
Buffers to store data for the controllers.
FN_SixenseAutoEnableHemisphereTracking mfnSixenseAutoEnableHemisphereTracking
FN_SixenseExit mfnSixenseExit
FN_SixenseGetAllData mfnSixenseGetAllData
FN_SixenseGetAllNewestData mfnSixenseGetAllNewestData
FN_SixenseGetBaseColor mfnSixenseGetBaseColor
FN_SixenseGetData mfnSixenseGetData
FN_SixenseGetFilterEnabled mfnSixenseGetFilterEnabled
FN_SixenseGetFilterParams mfnSixenseGetFilterParams
FN_SixenseGetHemisphereTrackingMode mfnSixenseGetHemisphereTrackingMode
FN_SixenseGetHighPriorityBindingEnabled mfnSixenseGetHighPriorityBindingEnabled
FN_SixenseGetHistorySize mfnSixenseGetHistorySize
FN_SixenseGetMaxBases mfnSixenseGetMaxBases
FN_SixenseGetMaxControllers mfnSixenseGetMaxControllers
FN_SixenseGetNewestData mfnSixenseGetNewestData
FN_SixenseGetNumActiveControllers mfnSixenseGetNumActiveControllers
FN_SixenseInit mfnSixenseInit
FN_SixenseIsBaseConnected mfnSixenseIsBaseConnected
FN_SixenseIsControllerEnabled mfnSixenseIsControllerEnabled
FN_SixenseSetActiveBase mfnSixenseSetActiveBase
FN_SixenseSetBaseColor mfnSixenseSetBaseColor
FN_SixenseSetFilterEnabled mfnSixenseSetFilterEnabled
FN_SixenseSetFilterParams mfnSixenseSetFilterParams
FN_SixenseSetHemisphereTrackingMode mfnSixenseSetHemisphereTrackingMode
FN_SixenseSetHighPriorityBindingEnabled mfnSixenseSetHighPriorityBindingEnabled
FN_SixenseTriggerVibration mfnSixenseTriggerVibration
S32 mLastActiveCheck
When was the last check for an active Hydra.
S32 mMaximumBases
S32 mMaximumControllers
S32 mNumberActiveControllers
RazerHyrdaControllerData * mPrevData [RazerHydraConstants::MaxControllers]
Points to the buffers that holds the previously collected data for each controller.
DLibraryRef mRazerHydraLib
Public Functions
RazerHydraDevice()
~RazerHydraDevice()
disable()
enable()
getControllerPosition(U32 controller)
getControllerRotation(U32 controller)
isActive()
isControllerDocked(U32 controller)
process()
Reimplemented from: IInputDevice
Public Static Functions
getSingletonName()
staticInit()
Protected Functions
buildCodeTable()
Build out the codes used for controller actions with the Input Event Manager.
checkControllers()
Checks if there are active controllers.