public static API_InputSimulator mouse_SetPosition(this API_InputSimulator inputSimulator, double x, double y, bool sleepAfterSetPosition)
        {
            var xPos = x * inputSimulator.XDelta;
            var yPos = y * inputSimulator.YDelta;

            inputSimulator.DebugMode.ifInfo("Setting mouse location to: {0}/{1} :: {2}/{3}".format(x, y, xPos, yPos));
            inputSimulator.Input_Simulator.Mouse.MoveMouseToPositionOnVirtualDesktop(xPos, yPos);
            if (sleepAfterSetPosition)
            {
                inputSimulator.sleep(inputSimulator.Move_SleepValue, false);
            }
            Cursor.Show();
            Application.DoEvents();
            return(inputSimulator);
        }