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

Support for multiple keys pressed at the same time. #47

Open
Mach1212 opened this issue Oct 24, 2021 · 2 comments
Open

Support for multiple keys pressed at the same time. #47

Mach1212 opened this issue Oct 24, 2021 · 2 comments

Comments

@Mach1212
Copy link

No description provided.

@Megamannen
Copy link

I haven't used this lib, but it already has it, right?

LShiftKey.press();
WKey.press();
sleep(Duration::from_millis(50)); // Now Shift+W is pressed simultaneously for 50 ms
WKey.release();
LShiftKey.release();

@seyoatda
Copy link

I haven't used this lib, but it already has it, right?

LShiftKey.press();
WKey.press();
sleep(Duration::from_millis(50)); // Now Shift+W is pressed simultaneously for 50 ms
WKey.release();
LShiftKey.release();

I think he means checking the condition of multiple keys pressed at the same time, instead of simulating the inputs

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

No branches or pull requests

3 participants