Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new feature. Random delay in wite() function #513

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

canklot
Copy link

@canklot canklot commented Dec 8, 2021

With the help of random delay, the write function mimics human typing better.

Usage: keyboard.write("hello world",delaymin=0.1,delaymax=0.9)

With the help of random delay, the write function mimics human typing better.
@ljhcage
Copy link

ljhcage commented Dec 14, 2021

When delay delaymin and delaymax is set simultaneous, delaytime will equal delay + (delaymin, delaymax) , whether it's appropriate?
And new feature arguments should be add to docstring and README.md correspondingly.

When delay, delaymin, delaymax are defined at the same time, only delay variable will be used and delaymin and delaymax will be ignored
@canklot
Copy link
Author

canklot commented Dec 17, 2021

Fixed delay + (delaymin, delaymax) problem and updated Docstring and README.md. Anything else?

@ljhcage
Copy link

ljhcage commented Dec 17, 2021

looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants