public override int GetHashCode() { int hash = 13; hash = (hash * 7) + isKeyboard.GetHashCode(); hash = (hash * 7) + keyboardKey.GetHashCode(); hash = (hash * 7) + mouseState.GetHashCode(); return(hash); }