Engines/FlatRedBallXNA/FlatRedBall/Input/Xbox360Gamepad.cs
/// <summary>
/// Returns an Xbox360ButtonReference from the argument Button.
/// </summary>
/// <param name="button">The button, such as Button.A</param>
/// <returns>The reference, which can then be used to check for input.</returns>
Returns an Xbox360ButtonReference from the argument Button.
Returns an Xbox360ButtonReference from the argument Button .
public Xbox360ButtonReference GetButton(Button button)
        {
            var toReturn = new Xbox360ButtonReference();
            toReturn.Button = button;
            toReturn.GamePad = this;
            return toReturn;
        }
public Xbox360ButtonReference GetButton ( Button button ) { var toReturn = new Xbox360ButtonReference ( ) ; toReturn . Button = button ; toReturn . GamePad = this ; return toReturn ; }
Returns an Xbox360ButtonReference from the argument Button.
Returns an Xbox360ButtonReference from the argument Button .
The reference, which can then be used to check for input.
The reference which can then be used to check for input .
button
Button
The button, such as Button.A
The button such as Button . A