def _do_event(self, flags, x, y, data, extra_info):

        x_metric = ctypes.windll.user32.GetSystemMetrics(self._SM_CXSCREEN)
        y_metric = ctypes.windll.user32.GetSystemMetrics(self._SM_CYSCREEN)
        x_calc = 65536L * x / x_metric + 1
        y_calc = 65536L * y / y_metric + 1
        ctypes.windll.user32.mouse_event(
            flags, x_calc, y_calc, data, extra_info)
Generates mouse event fo a special coordinate.
dataset/ETHPy150Open F1ashhimself/UISoup/uisoup/win_soup/mouse.py/WinMouse._do_event