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

why KeyToggle() has no args with keyDelay? #238

Closed
xtlx2000 opened this issue Oct 25, 2019 · 2 comments
Closed

why KeyToggle() has no args with keyDelay? #238

xtlx2000 opened this issue Oct 25, 2019 · 2 comments
Labels
Milestone

Comments

@xtlx2000
Copy link

why KeyToggle() has no args with keyDelay?

in robotgo.go:662, I found keyDelay is be deleted?why?

Thank you

@vcaesar
Copy link
Member

vcaesar commented Oct 25, 2019

Use "Sleep()" or "MicroSleep()", same as keyDelay.

@vcaesar vcaesar closed this as completed Oct 25, 2019
@vcaesar vcaesar added this to the v0.90.0 milestone Oct 25, 2019
vcaesar added a commit that referenced this issue Oct 25, 2019
@vcaesar
Copy link
Member

vcaesar commented Oct 25, 2019

Reference "KeyTap()" legacy code, too many features, code confusion. And here have the "SetKeyDelay()" API.

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

No branches or pull requests

2 participants