def METHOD_NAME(self, p1, p2):
    self.scrcpy_ensure_running()
    with self._scrcpy_control_socket_lock:
        # Unlike minitouch, scrcpy swipes needs to be continuous
        # So 5 times smother
        points = insert_swipe(p0=p1, p3=p2, speed=4, min_distance=2)
        self._scrcpy_control.touch(*p1, const.ACTION_DOWN)
        for point in points[1:-1]:
            self._scrcpy_control.touch(*point, const.ACTION_MOVE)
            self.sleep(0.002)
        self._scrcpy_control.touch(*p2, const.ACTION_MOVE)
        self._scrcpy_control.touch(*p2, const.ACTION_UP)
        self.sleep(0.05)