I have a question regarding a Java KeyListener.
I use both Java's built in key listener in a JTextField and the NativeKeyListener of jnativehook, and unfortunately, they both give out different key codes. I think that it might be cause I have a german keyboard layout, and Java's KeyListener maps my keys correctly, but NativeKeyListener doesn't. How can I set the key layout of the NativeKeyListener? Or is there any other fix?