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.
|
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 |