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

Keyboard event loss #464

Open
nadyboy opened this issue May 23, 2024 · 0 comments
Open

Keyboard event loss #464

nadyboy opened this issue May 23, 2024 · 0 comments

Comments

@nadyboy
Copy link

nadyboy commented May 23, 2024

I occasionally encounter the issue of missing listening events when using this framework to listen for key values. I would like to press Shift+ So that I can obtain '>'. My ideal code execution process is
1 NativeKeyPressed ->'Shift '(keyCode=0xe36)
2 NativeKeyTyped ->'Shift '(keyCode=0xe36)
3 NativeKeyPressed ->'.' (keyCode=52)
5 NativeKeyTyped ->'.' (keyCode=52)
6 NativeKeyReleased: ->'.' (keyCode=52)
7 NativeKeyReleased: ->'Shift' (keyCode=0xe36)
Unfortunately, I did not execute step 7, which resulted in issues with subsequent buttons. I am using version com. github. kwhat: jnativehook: 2.2.2, running on Ubuntu 22, and using Java version 1.8. How do I fix this issue

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

1 participant