1
0
mirror of synced 2024-11-22 07:43:50 +00:00
MassiveKnob/Windows/MassiveKnob.Plugin/IMassiveKnobDigitalAction.cs

17 lines
505 B
C#
Raw Normal View History

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);
}
}