Mark van Renswoude
ff1e1ca74c
Implemented orchestrator Implemented mock device Implemented serial device Implemented volume action Removed old implementation
17 lines
505 B
C#
17 lines
505 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace MassiveKnob.Plugin
|
|
{
|
|
/// <summary>
|
|
/// Required to be implemented for Action type InputDigital. Receives an update when a knob's position changes.
|
|
/// </summary>
|
|
public interface IMassiveKnobDigitalAction : IMassiveKnobActionInstance
|
|
{
|
|
/// <summary>
|
|
/// Called when a digital input's value changes.
|
|
/// </summary>
|
|
/// <param name="on">The new value.</param>
|
|
ValueTask DigitalChanged(bool on);
|
|
}
|
|
}
|