Nez.Portable/Input/Virtual/VirtualButton.cs
/// <summary>
/// adds a GamePad buttons press to this VirtualButton
/// </summary>
/// <returns>The game pad button.</returns>
/// <param name="gamepadIndex">Gamepad index.</param>
/// <param name="button">Button.</param>
adds a GamePad buttons press to this VirtualButton
adds a GamePad buttons press to this VirtualButton
public VirtualButton addGamePadButton(int gamepadIndex, Buttons button)
        {
            nodes.Add(new GamePadButton(gamepadIndex, button));
            return this;
        }
public VirtualButton addGamePadButton ( int gamepadIndex , Buttons button ) { nodes . Add ( new GamePadButton ( gamepadIndex , button ) ) ; return this ; }
adds a GamePad buttons press to this VirtualButton
adds a GamePad buttons press to this VirtualButton
The game pad button.
The game pad button .
gamepadIndex
int
None
button
Buttons
None