Skip to content

Speed is totally off #20

@Seminko

Description

@Seminko

Something is wrong with the speed, it's slow - doesn't respect duration. Also the movement is very jittery but that's probably because of the slow movement

from humancursor import SystemCursor
import mouse
import time

cursor = SystemCursor()
start_time = time.time()
start_pos = mouse.get_position()
cursor.move_to([100, 100], duration=0.000003, steady=True)
print(f"Took {time.time() - start_time} seconds to move from [{start_pos[0]}, {start_pos[1]}] to [100, 100]")

Took 9.2 seconds to move from [615, 401] to [100, 100]
Took 29.5 seconds to move from [1807, 964] to [100, 100]
Took 5.3 seconds to move from [382, 298] to [100, 100]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions