-
Notifications
You must be signed in to change notification settings - Fork 252
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 interval functionality for type function of pynput.keyboard.Controller().type #579
base: master
Are you sure you want to change the base?
Added interval functionality for type function of pynput.keyboard.Controller().type #579
Conversation
Now each key press+release will have `interval` amount of time in between them
of `pynput.keyboard.Controller().type()`
This would be a useful feature. See https://github.com/Evidlo/passhole/pull/64/files#diff-b60a6055af04b5a093f4c39c708a87d60e3b0f54d14552548e18af445966425fR590-R598 for details on how I proposed to solve this. |
👍 |
It will hold each key for `hold` seconds.
Merge 'add-interval-for-type' of https://github.com/ShobanChiddarth/pynput into add-interval-for-type
Done |
Nice work. Perhaps a test should be added? |
I really don't know how to do that. I have never used tests in my life. |
Basically just modify the test to call If you want to run the tests:
|
Each press and release can be delayed
interval
seconds if the required delay time is provided in the argument when calling the function.