Azmyth.XNA.InputManager.PadPressed C# (CSharp) Method

PadPressed() public static method

public static PadPressed ( PlayerIndex player, Buttons button ) : bool
player PlayerIndex
button Buttons
return bool
        public static bool PadPressed(PlayerIndex player, Buttons button)
        {
            return m_padState[(int)player].IsButtonDown(button) && m_lastPadState[(int)player].IsButtonUp(button);
        }