1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 16:47:03 +08:00

Add: Island Pearl Daemon

This commit is contained in:
sui-feng-cb
2026-02-17 20:58:33 +08:00
parent 1e5a7d444b
commit 76eeba667f
23 changed files with 394 additions and 4 deletions

View File

@@ -679,7 +679,7 @@ class Minitouch(Connection):
builder.send()
@retry
def swipe_minitouch(self, p1, p2):
def swipe_minitouch(self, p1, p2, hold_time):
points = insert_swipe(p0=p1, p3=p2)
builder = self.minitouch_builder
@@ -689,6 +689,9 @@ class Minitouch(Connection):
for point in points[1:]:
builder.move(*point).commit().wait(10)
builder.send()
if hold_time > 0:
builder.wait(hold_time)
builder.up().commit()
builder.send()