Merge branch 'master' of git.inpt.fr:tocard-inc/enseeiht/projet-classification

This commit is contained in:
Laureηt 2022-03-26 17:14:03 +01:00
commit 9f4bd10b1f
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -25,11 +25,11 @@ DATA_FOLDER = "data/"
UserList = list[tuple[int, str]] UserList = list[tuple[int, str]]
def tap(pos): def tap(pos) -> None:
device.shell(f"input tap {pos[0]} {pos[1]}") device.shell(f"input tap {pos[0]} {pos[1]}")
def motion(pos, type): def motion(pos, type) -> None:
device.shell(f"input motionevent {type} {pos[0]} {pos[1]}") device.shell(f"input motionevent {type} {pos[0]} {pos[1]}")