private void MoveCursor(IPEndPoint sender, byte[] parameters) { int x = BitConverter.ToInt32(parameters, 1); int y = BitConverter.ToInt32(parameters, 5); VirtualMouse.Move(x, y); }
private void Scroll(IPEndPoint sender, byte[] parameters) { int z = BitConverter.ToInt32(parameters, 1); VirtualMouse.Scroll(z); }
private void RightMouseButtonUp(IPEndPoint sender, byte[] parameters) { VirtualMouse.RightButtonUp(); }
private void LeftMouseButtonDown(IPEndPoint sender, byte[] parameters) { VirtualMouse.LeftButtonDown(); }