public static bool IsHeldButton(Buttons b) { return(b != 0 && CurrentGamepadState.IsButtonDown(b) && PreviousGamepadState.IsButtonDown(b)); }
public static bool IsNewButtonPress(Buttons b) { return(b != 0 && CurrentGamepadState.IsButtonDown(b) && PreviousGamepadState.IsButtonUp(b)); }