Merge branch 'master' of git.inpt.fr:tocard-inc/enseeiht/projet-classification
This commit is contained in:
commit
9f4bd10b1f
|
@ -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]}")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue