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

issue with MOD_GUI_LEFT #23

Open
BeastHunter66 opened this issue May 1, 2020 · 1 comment
Open

issue with MOD_GUI_LEFT #23

BeastHunter66 opened this issue May 1, 2020 · 1 comment

Comments

@BeastHunter66
Copy link

When i send a sendKeystroke(MOD_GUI_LEFT) the response i get is a letter "E" typed over and over again.
I went to usb.org to check the key codes and i found that the code for the Left GUI key is 227. When i enter the code into sendKeyStroke(227), nothing happens. what can i do???

@chriku
Copy link

chriku commented Sep 16, 2020

Had the same issue, got it working with sendKeystroke(0, MOD_GUI_LEFT), as MOD_GUI_LEFT is a modifier. Also it was enough to send it only once and then the "key" is kept "down" until you cancel it using sendKeystroke(0, 0)

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

2 participants