Microsoft.Xna.Framework.Input.GamePadDPad.operator C# (CSharp) Method

operator() public static method

Determines whether two specified instances of GamePadDPad are equal.
public static operator ( ) : bool
return bool
        public static bool operator ==(GamePadDPad left, GamePadDPad right)
        {
            return (left.Down == right.Down)
                && (left.Left == right.Left)
                && (left.Right == right.Right)
                && (left.Up == right.Up);
        }