dbisu / pico-ducky

Create a USB Rubber Ducky like device using a Raspberry PI Pico
GNU General Public License v2.0
2.42k stars 440 forks source link

how can i reduce the speed of how fast each character is typed? #253

Closed salemnaasan123 closed 6 months ago

salemnaasan123 commented 6 months ago

how can i reduce the speed of how fast each character is typed?

dbisu commented 6 months ago

probably the easiest way would be to have each character as its own STRING line. If you need more time, you can add DELAY lines between the STRING lines.

salemnaasan123 commented 6 months ago

Thanks for the feedback, but I am asking because I have like a text of 500 words for exempel that I want to be written, and it will take so long if I just put a delay between each one. My plan is that to make an random delay (from 50 ms to 100 ms) between each charchter. I have tried to modify the code a little but didn't work, I appreciate so much if you give me a solution.

salemnaasan123 commented 6 months ago

Do you have any idea?

salemnaasan123 commented 6 months ago

Never mind, Ive edit a bit on the code and now I have a random delay between every character.

dbisu commented 6 months ago

ok, sounds good. Closing, resolved.