Engines/FlatRedBallXNA/FlatRedBall/Input/Xbox360Gamepad.cs
/// <summary>
/// Clears the input on this controller for this frame. This includes
/// analog stick values, button values, and trigger values.
/// </summary>
Clears the input on this controller for this frame. This includes
analog stick values, button values, and trigger values.
Clears the input on this controller for this frame . This includes analog stick values button values and trigger values .
public void Clear()
        {
            mGamePadState = new GamePadState();
            mLastGamePadState = new GamePadState();
            for (int i = 0; i < NumberOfButtons; i++)
            {
                if (ButtonPushed((Button)i))
                {
                    IgnoreButtonForOneFrame((Button)i);
                }
            }
            mLeftStick.Clear();
            mRightStick.Clear();
            mLeftTrigger.Clear();
            mRightTrigger.Clear();
        }
public void Clear ( ) { mGamePadState = new GamePadState ( ) ; mLastGamePadState = new GamePadState ( ) ; for ( int i = 0 ; i < NumberOfButtons ; i ++ ) { if ( ButtonPushed ( ( Button ) i ) ) { IgnoreButtonForOneFrame ( ( Button ) i ) ; } } mLeftStick . Clear ( ) ; mRightStick . Clear ( ) ; mLeftTrigger . Clear ( ) ; mRightTrigger . Clear ( ) ; }
Clears the input on this controller for this frame.
Clears the input on this controller for this frame .