Exemple #1
0
        public override int GetHashCode()
        {
            // Was auto generated by VS, please do not kill me
            int hashCode = 1488379021 + GamePadButton.GetHashCode();

            hashCode = hashCode * -1521134295 + Key.GetHashCode();
            hashCode = hashCode * -1521134295 + Modifiers.GetHashCode();
            return(hashCode);
        }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Buttons.GetHashCode();
         hashCode = (hashCode * 397) ^ LeftThumb.GetHashCode();
         hashCode = (hashCode * 397) ^ RightThumb.GetHashCode();
         hashCode = (hashCode * 397) ^ LeftTrigger.GetHashCode();
         hashCode = (hashCode * 397) ^ RightTrigger.GetHashCode();
         return(hashCode);
     }
 }