def release(self, x, y, button=1): if isinstance(button, str): button = BUTTON.get(button) action, e = BUTTON_UP.get(button) self.move(x, y) winapi.mouse_event(action, x, y, 0, 0) print action
def release(self, x, y, button=1): if isinstance(button, str): button = BUTTON.get(button) action, e = BUTTON_UP.get(button) self.move(x,y) winapi.mouse_event(action, x, y, 0,0) print action
def press(self, x, y, button=1): if isinstance(button, str): button = BUTTON.get(button) action, e = BUTTON_DOWN.get(button) self.move(x, y) winapi.mouse_event(action, x, y, e, 0) print action
def press(self, x, y, button=1): if isinstance(button, str): button = BUTTON.get(button) action, e = BUTTON_DOWN.get(button) self.move(x,y) winapi.mouse_event(action, x, y, e, 0) print action