Engines/FlatRedBallXNA/FlatRedBall/Input/Xbox360Gamepad.cs
/// <summary>
/// Updates the Xbox360Gamepad according to the argument gamepadState.  This is publicly available for games
/// which need to simulate Xbox360Gamepads.
/// </summary>
/// <remarks>
/// This function is normally called automatically by the FlatRedBall Engine
/// in its regular update loop.  You only need to call this function if you want
/// to override the behavior of the gamepad.  Be sure to call this function after
/// FlatRedBallServices.Update, but before any custom game logic (such as ScreenManager.Activity).
/// </remarks>
/// <param name="gamepadState">The state containing the data for this frame.</param>
Updates the Xbox360Gamepad according to the argument gamepadState.  This is publicly available for games
which need to simulate Xbox360Gamepads.
Updates the Xbox360Gamepad according to the argument gamepadState . This is publicly available for games which need to simulate Xbox360Gamepads .
public void Update(GamePadState gamepadState)
        {
            UpdateInputManagerBack();
            mLastGamePadState = mGamePadState;
            mGamePadState = gamepadState;
            UpdateAnalogStickAndTriggerValues();
            UpdateLastButtonPushedValues();
        }
public void Update ( GamePadState gamepadState ) { UpdateInputManagerBack ( ) ; mLastGamePadState = mGamePadState ; mGamePadState = gamepadState ; UpdateAnalogStickAndTriggerValues ( ) ; UpdateLastButtonPushedValues ( ) ; }
Updates the Xbox360Gamepad according to the argument gamepadState.
Updates the Xbox360Gamepad according to the argument gamepadState .
gamepadState
GamePadState
The state containing the data for this frame.
The state containing the data for this frame .
remarks
This function is normally called automatically by the FlatRedBall Engine
in its regular update loop.  You only need to call this function if you want
to override the behavior of the gamepad.  Be sure to call this function after
FlatRedBallServices.Update, but before any custom game logic (such as ScreenManager.Activity).
This function is normally called automatically by the FlatRedBall Engine in its regular update loop . You only need to call this function if you want to override the behavior of the gamepad . Be sure to call this function after FlatRedBallServices . Update but before any custom game logic ( such as ScreenManager . Activity ) .