示例#1
0
 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)
     };
 }
示例#2
0
 public KeyPress(DirectInputKeys key)
     : base("output_keypress", "KeyPress")
 {
     Operations = new OutputBase[] {
         new KeyDown(key),
         new Sleep(Core.Instance.Configuration.KeyReleaseDelay),
         new KeyUp(key)
     };
 }
示例#3
0
		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)
			};
		}
示例#4
0
		public KeyPress(DirectInputKeys key)
			: base("output_keypress", "KeyPress")
		{
			Operations = new OutputBase[] {
				new KeyDown(key),
				new Sleep(Core.Instance.Configuration.KeyReleaseDelay),
				new KeyUp(key)
			};
		}