learncodebygaming / pydirectinput

Python mouse and keyboard input automation for Windows using Direct Input.
Other
510 stars 90 forks source link

How to make the mouse move slowly? #50

Open lzkgbld opened 1 year ago

lzkgbld commented 1 year ago

I found that when using pydirectinput to move the mouse, it almost instantaneously moved to the specified coordinates, which made some games not work properly when suddenly given this command and might move to other strange coordinates. I can add duration to pyautogui to make mouse movement slower and softer, but pyautogui is not supported So do I have any parameters that make the mouse move slowly to the target?