Esempio n. 1
0
 public bool Equals(XInputGamepad rhs)
 {
     return
         (Buttons == rhs.Buttons &&
          LeftTrigger == rhs.LeftTrigger &&
          RightTrigger == rhs.RightTrigger &&
          LeftThumbX == rhs.LeftThumbX &&
          LeftThumbY == rhs.LeftThumbY &&
          RightThumbX == rhs.RightThumbX &&
          RightThumbY == rhs.RightThumbY);
 }
 public bool Equals(XInputGamepad rhs)
 {
     return
         Buttons == rhs.Buttons
         && LeftTrigger == rhs.LeftTrigger
         && RightTrigger == rhs.RightTrigger
         && LeftThumbX == rhs.LeftThumbX
         && LeftThumbY == rhs.LeftThumbY
         && RightThumbX == rhs.RightThumbX
         && RightThumbY == rhs.RightThumbY;
 }