public MouseClick(System.Windows.Forms.MouseButtons button) : base("output_mouseclick", "MouseClick") { Operations = new OutputBase[] { new MouseDown(button), new Sleep(Core.Instance.Configuration.MouseReleaseDelay), new MouseUp(button) }; }
public KeyPress(DirectInputKeys key) : base("output_keypress", "KeyPress") { Operations = new OutputBase[] { new KeyDown(key), new Sleep(Core.Instance.Configuration.KeyReleaseDelay), new KeyUp(key) }; }