2021-02-24 08:05:11 +00:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MassiveKnob.Plugin
|
2021-02-21 13:04:24 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required to be implemented for Action type InputDigital. Receives an update when a knob's position changes.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IMassiveKnobDigitalAction : IMassiveKnobActionInstance
|
|
|
|
|
{
|
2021-02-24 08:05:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Called when a digital input's value changes.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="on">The new value.</param>
|
|
|
|
|
ValueTask DigitalChanged(bool on);
|
2021-02-21 13:04:24 +00:00
|
|
|
|
}
|
|
|
|
|
}
|