2021-02-24 09:05:11 +01:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MassiveKnob.Plugin
|
2021-02-21 14:04:24 +01: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 09:05:11 +01: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 14:04:24 +01:00
|
|
|
|
}
|
|
|
|
|
}
|