/// <summary> /// Returns if a button is currently up /// </summary> /// <param name="button">Button to check</param> /// <returns>True if the button is currently up</returns> public Boolean IsButtonUp(Buttons button) { return(CurrPad.IsButtonUp(button)); }
/// <summary> /// Returns if a button was just released /// </summary> /// <param name="button">Button to check</param> /// <returns>True if the button was just released</returns> public Boolean IsButtonReleased(Buttons button) { return(CurrPad.IsButtonUp(button) && !PrevPad.IsButtonUp(button)); }
/// <summary> /// Returns if a button is currently down /// </summary> /// <param name="button">Button to check</param> /// <returns>True if the button is currently down</returns> public Boolean IsButtonDown(Buttons button) { return(CurrPad.IsButtonDown(button)); }
/// <summary> /// Returns if a button was just tapped /// </summary> /// <param name="button">Button to check</param> /// <returns>True if button was just tapped</returns> public Boolean IsButtonTapped(Buttons button) { return(CurrPad.IsButtonDown(button) && !PrevPad.IsButtonDown(button)); }