using System.Threading.Tasks;
namespace MassiveKnob.Plugin
{
///
/// Required to be implemented for Action type InputAnalog. Receives an update when a knob's position changes.
///
public interface IMassiveKnobAnalogAction : IMassiveKnobActionInstance
{
///
/// Called when an analog input's value changes.
///
/// The new value. Range is 0 to 100.
ValueTask AnalogChanged(byte value);
}
}