Skip to content

Keyboard event loss #464

@nadyboy

Description

@nadyboy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions