mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Opt: Serial in ADB commands now optional
This commit is contained in:
@@ -70,7 +70,7 @@ class Control(MiniTouch):
|
||||
|
||||
@retry()
|
||||
def _click_adb(self, x, y):
|
||||
self.adb_shell(['input', 'tap', str(x), str(y)], serial=self.serial)
|
||||
self.adb_shell(['input', 'tap', str(x), str(y)])
|
||||
|
||||
def multi_click(self, button, n, interval=(0.1, 0.2)):
|
||||
self.click_record_check(button)
|
||||
|
||||
Reference in New Issue
Block a user