learncodebygaming / pydirectinput

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

Mouse click so long #53

Open RarDay opened 1 year ago

RarDay commented 1 year ago

The problem is that after calling the function, the program seems to heal by pressing the mouse button by 0.01, which is why the logic in the application breaks down. How can I do a faster pressing of the mouse button? i use - pydirectinput.click()

AsiuDaSiudy commented 1 year ago

Try adjusting the value for pydirectinput.PAUSE, it helped me click faster. pydirectinput.PAUSE = 0.005