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

typeString leave Shift key pressed #12

Closed
s1hofmann opened this issue Jul 14, 2020 · 0 comments
Closed

typeString leave Shift key pressed #12

s1hofmann opened this issue Jul 14, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@s1hofmann
Copy link
Member

Version
2.0.0

Short overview
typeString toggles Shift key

Detailed error description
When typing a string via typeString method the Shift key is constantly pressed and not released, no matter whether it has been actually pressed or not. Key will be released as soon as manual input follows.

Steps to reproduce error
On a Windows system this behaviour can be verified by opening the virtual keyboard and running this snippet:

const libnut = require(".");

libnut.keyTap("a");
libnut.keyToggle("b", "down");
libnut.keyToggle("b", "up");
libnut.typeString("THIS is A test")

Additional content

Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant