public DummyKey(IDigitalOutputPin pin, IDelay delay, bool clickPolarity, uint clickDurationTime, uint clickReactionTime) : this(pin, delay) { ClickPolarity = clickPolarity; ClickReactionTime = clickReactionTime; ClickDurationTime = clickDurationTime; DoubleClickDurationTime = ClickReactionTime / 2; }
/// <summary> /// Creates a new DummyKey instance with the default values. /// </summary> /// <param name="pin"></param> /// <param name="delay"></param> public DummyKey(IDigitalOutputPin pin, IDelay delay) { Pin = pin; ClickPolarity = false; ClickReactionTime = ClickDurationTime = 100; DoubleClickDurationTime = ClickReactionTime / 2; _delay = delay; }
public DummyKey(IDigitalOutputPin pin, IDelay delay, bool clickPolarity, uint clickDurationTime, uint clickReactionTime, uint doubleClickDurationTime) : this(pin, delay, clickPolarity, clickDurationTime, clickReactionTime) { DoubleClickDurationTime = doubleClickDurationTime; }