Ejemplo n.º 1
0
 public ControllerHand()
 {
     App                 = new PvrControllerKey();
     Touch               = new PvrControllerKey();
     Home                = new PvrControllerKey();
     VolumeDown          = new PvrControllerKey();
     VolumeUp            = new PvrControllerKey();
     Trigger             = new PvrControllerKey();
     A                   = new PvrControllerKey();
     B                   = new PvrControllerKey();
     X                   = new PvrControllerKey();
     Y                   = new PvrControllerKey();
     Left                = new PvrControllerKey();
     Right               = new PvrControllerKey();
     TouchPadPosition    = new Vector2();
     Rotation            = new Quaternion();
     Position            = new Vector3();
     touchDownPosition   = new Vector2();
     touchUpPosition     = new Vector2();
     swipeData           = new Vector2();
     isVertical          = false;
     isHorizontal        = false;
     touchClock          = false;
     triggerClock        = false;
     Battery             = 0;
     TriggerNum          = 0;
     ConnectState        = ControllerState.Error;
     SwipeDirection      = SwipeDirection.No;
     SwipeDirectionState = SwipeDirection.No;
     rockerState         = false;
     TouchPadClick       = TouchPadClick.No;
 }
Ejemplo n.º 2
0
 public ControllerHand()
 {
     AppKey            = new PvrControllerKey();
     TouchKey          = new PvrControllerKey();
     HomeKey           = new PvrControllerKey();
     VolumeDownKey     = new PvrControllerKey();
     VolumeUpKey       = new PvrControllerKey();
     TriggerKey        = new PvrControllerKey();
     TouchPadPosition  = new Vector2();
     Rotation          = new Quaternion();
     Position          = new Vector3();
     touchDownPosition = new Vector2();
     touchUpPosition   = new Vector2();
     swipeData         = new Vector2();
     isVertical        = false;
     isHorizontal      = false;
     touchClock        = false;
     swipeClock        = false;
     triggerClock      = false;
     Battery           = 0;
     TriggerNum        = 0;
     ConnectState      = ControllerState.Error;
     SwipeDirection    = SwipeDirection.No;
     TouchPadClick     = TouchPadClick.No;
 }
Ejemplo n.º 3
0
 public ControllerHand()
 {
     App              = new PvrControllerKey();
     Touch            = new PvrControllerKey();
     Home             = new PvrControllerKey();
     VolumeDown       = new PvrControllerKey();
     VolumeUp         = new PvrControllerKey();
     Trigger          = new PvrControllerKey();
     A                = new PvrControllerKey();
     B                = new PvrControllerKey();
     X                = new PvrControllerKey();
     Y                = new PvrControllerKey();
     Left             = new PvrControllerKey();
     Right            = new PvrControllerKey();
     Thumbrest        = new PvrControllerKey();
     TouchPadPosition = new Vector2();
     Rotation         = new Quaternion();
     Position         = new Vector3();
     Battery          = 0;
     TriggerNum       = 0;
     GripValue        = 0;
     ConnectState     = ControllerState.Error;
     SwipeDirection   = SwipeDirection.No;
     TouchPadClick    = TouchPadClick.No;
     isShowBoundary   = false;
 }