public static bool SendMouseDown(MouseButtons button = MouseButtons.Left) { InputManager inputManager = new InputManager(); inputManager.AddMouseDown(button); return inputManager.SendInputs(); }
public static bool SendMouseMove(int x, int y) { InputManager inputManager = new InputManager(); inputManager.AddMouseMove(x, y); return inputManager.SendInputs(); }
public static bool SendMouseClick(int x, int y, MouseButtons button = MouseButtons.Left) { InputManager inputManager = new InputManager(); inputManager.AddMouseClick(x, y, button); return inputManager.SendInputs(); }
public static bool SendKeyUp(VirtualKeyCode keyCode) { InputManager inputManager = new InputManager(); inputManager.AddKeyUp(keyCode); return inputManager.SendInputs(); }
public static bool SendKeyPressText(string text) { InputManager inputManager = new InputManager(); inputManager.AddKeyPressText(text); return inputManager.SendInputs(); }
public static bool SendKeyPressModifiers(VirtualKeyCode keyCode, params VirtualKeyCode[] modifiers) { InputManager inputManager = new InputManager(); inputManager.AddKeyPressModifiers(keyCode, modifiers); return inputManager.SendInputs(); }
public static bool SendMouseWheel(int delta) { InputManager inputManager = new InputManager(); inputManager.AddMouseWheel(delta); return inputManager.SendInputs(); }