You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
333 B
Python

import time
from dealy import delay
from mouse.logitech import Logitech
from poe.start import get_start
while True:
delay(10)
if get_start():
st = time.time()
for _ in range(300):
delay(100)
Logitech.mouse.move(1, 1)
print(int((time.time() - st) * 1000), " ms")
break