kwhat / jnativehook

Global keyboard and mouse listeners for Java.
Other
1.73k stars 344 forks source link

Jnativehook remembers keys being pressed while being turned off. #286

Open VingGit opened 4 years ago

VingGit commented 4 years ago

I have made a stackoverflow question regarding this and because i'm quite sure i will be downvoted to hell for "not being specific enough" or something, i'll just ask directly here.

the same behavior i described in the post can also be seen in this small file i linked.

message (3).txt

VingGit commented 4 years ago

idk what's wrong with that hyperlink but here it is again:

https://stackoverflow.com/questions/60692953/jnativehook-remembers-keys-pressed-while-being-turned-off

VingGit commented 4 years ago

Here's the problem explained more briefly:

https://stackoverflow.com/questions/60694783/how-to-deactivate-jnativehook-on-demand