mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
chore(python): debuglink: wait for swipe
[no changelog]
This commit is contained in:
parent
b8abccbc94
commit
483c7a6342
@ -369,14 +369,14 @@ class DebugLink:
|
|||||||
def swipe_up(self, wait: bool = False) -> None:
|
def swipe_up(self, wait: bool = False) -> None:
|
||||||
self.input(swipe=messages.DebugSwipeDirection.UP, wait=wait)
|
self.input(swipe=messages.DebugSwipeDirection.UP, wait=wait)
|
||||||
|
|
||||||
def swipe_down(self) -> None:
|
def swipe_down(self, wait: bool = False) -> None:
|
||||||
self.input(swipe=messages.DebugSwipeDirection.DOWN)
|
self.input(swipe=messages.DebugSwipeDirection.DOWN, wait=wait)
|
||||||
|
|
||||||
def swipe_right(self) -> None:
|
def swipe_right(self, wait: bool = False) -> None:
|
||||||
self.input(swipe=messages.DebugSwipeDirection.RIGHT)
|
self.input(swipe=messages.DebugSwipeDirection.RIGHT, wait=wait)
|
||||||
|
|
||||||
def swipe_left(self) -> None:
|
def swipe_left(self, wait: bool = False) -> None:
|
||||||
self.input(swipe=messages.DebugSwipeDirection.LEFT)
|
self.input(swipe=messages.DebugSwipeDirection.LEFT, wait=wait)
|
||||||
|
|
||||||
def stop(self) -> None:
|
def stop(self) -> None:
|
||||||
self._call(messages.DebugLinkStop(), nowait=True)
|
self._call(messages.DebugLinkStop(), nowait=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user