suraj0208/jnativehook

NativeKeyListener isn't case senstive

Closed this issue · 2 comments

What steps will reproduce the problem?
1. Print key name on every press/release
2. Run the program
3. view all key codes values in capital letters

What is the expected output? What do you see instead?
Case sensitive keys

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by thesneak...@gmail.com on 19 Feb 2014 at 7:52

Hi,

Virtual key codes do not have capital letters, because they only represent a 
physical key, not the value assigned to that key in a particular state.  To 
retrieve case sensitive information, please use NativeKeyTyped events.

Original comment by a...@1stleg.com on 19 Feb 2014 at 9:39

  • Changed state: Invalid
Thanks for the clarification.

Original comment by thesneak...@gmail.com on 19 Feb 2014 at 11:25