kwhat / jnativehook

Global keyboard and mouse listeners for Java.
Other
1.75k stars 347 forks source link

All keyboard input is all capitols. #441

Closed matthew1246 closed 1 year ago

matthew1246 commented 1 year ago

No matter what input I enter, the input is all capitols. For eg) If I enter little a, the input is detected as capitol A. If I enter b I get B as output.

matthew1246 commented 1 year ago

User32.dll only gives capitols letter. You have to detect shift key or capslock in your code before you detect capitol character.