1
0
mirror of synced 2024-12-05 00:53:08 +01:00
MassiveKnob/Windows/MassiveKnob.Plugin/IMassiveKnobAnalogAction.cs
Mark van Renswoude ff1e1ca74c Working proof-of-concept for refactoring
Implemented orchestrator
Implemented mock device
Implemented serial device
Implemented volume action
Removed old implementation
2021-02-24 09:05:11 +01:00

17 lines
527 B
C#

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