Torque3D Documentation / _generateds / RazerHyrdaControllerData

RazerHyrdaControllerData

Engine/source/platform/input/razerHydra/razerHydraData.h

More...

Public Types

enum
DataDifferences {
  DIFF_NONE = 0
  DIFF_POSX = (1<<0)
  DIFF_POSY = (1<<1)
  DIFF_POSZ = (1<<2)
  DIFF_ROT = (1<<3)
  DIFF_ROTAXISX = (1<<4)
  DIFF_ROTAXISY = (1<<5)
  DIFF_AXISX = (1<<6)
  DIFF_AXISY = (1<<7)
  DIFF_TRIGGER = (1<<8)
  DIFF_BUTTON1 = (1<<9)
  DIFF_BUTTON2 = (1<<10)
  DIFF_BUTTON3 = (1<<11)
  DIFF_BUTTON4 = (1<<12)
  DIFF_BUTTON_START = (1<<13)
  DIFF_BUTTON_SHOULDER = (1<<14)
  DIFF_BUTTON_THUMB = (1<<15)
  DIFF_POS = (DIFF_POSX | DIFF_POSY | DIFF_POSZ)
  DIFF_AXIS = (DIFF_AXISX | DIFF_AXISY)
  DIFF_ROTAXIS = (DIFF_ROTAXISX | DIFF_ROTAXISY)
}
enum
MetaDataDifferences {
  METADIFF_NONE = 0
  METADIFF_DOCKED = (1<<0)
}

Public Functions

Compare this data and given and return differences.

Compare meta data between this and given and return differences.

Reset controller data.

setData(const sixenseControllerData & data, const F32 & maxAxisRadius)

Set position based on sixense controller data.

Detailed Description

Public Types

DataDifferences

Enumerator

DIFF_NONE = 0
DIFF_POSX = (1<<0)
DIFF_POSY = (1<<1)
DIFF_POSZ = (1<<2)
DIFF_ROT = (1<<3)
DIFF_ROTAXISX = (1<<4)
DIFF_ROTAXISY = (1<<5)
DIFF_AXISX = (1<<6)
DIFF_AXISY = (1<<7)
DIFF_TRIGGER = (1<<8)
DIFF_BUTTON1 = (1<<9)
DIFF_BUTTON2 = (1<<10)
DIFF_BUTTON3 = (1<<11)
DIFF_BUTTON4 = (1<<12)
DIFF_BUTTON_START = (1<<13)
DIFF_BUTTON_SHOULDER = (1<<14)
DIFF_BUTTON_THUMB = (1<<15)
DIFF_POS = (DIFF_POSX | DIFF_POSY | DIFF_POSZ)
DIFF_AXIS = (DIFF_AXISX | DIFF_AXISY)
DIFF_ROTAXIS = (DIFF_ROTAXISX | DIFF_ROTAXISY)
MetaDataDifferences

Enumerator

METADIFF_NONE = 0
METADIFF_DOCKED = (1<<0)

Public Attributes

bool mButton1 
bool mButton2 
bool mButton3 
bool mButton4 
bool mDataSet 
bool mIsDocked 
S32 mPos [3]
Point3F mPosPoint 
F32 mRawPos [3]
MatrixF mRot 
Point2F mRotAxis 
QuatF mRotQuat 
U32 mSequenceNum 
bool mShoulder 
bool mStart 
bool mThumb 
F32 mThumbStick [2]
F32 mTrigger 

Public Functions

RazerHyrdaControllerData()

compare(RazerHyrdaControllerData * other)

Compare this data and given and return differences.

compareMeta(RazerHyrdaControllerData * other)

Compare meta data between this and given and return differences.

reset()

Reset controller data.

setData(const sixenseControllerData & data, const F32 & maxAxisRadius)

Set position based on sixense controller data.