kwhat / jnativehook

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

Key combinations #239

Open itsfolf opened 6 years ago

itsfolf commented 6 years ago

Key combinations such as graphic accents (á. ã. à) don't work when a key listener is enabled

martindeutschtutall commented 5 years ago

Which OS are you using? Windows, Linux, Mac OS?

itsfolf commented 5 years ago

Windows

kwhat commented 2 years ago

As far as I know this should be working correctly but I don't have these letters in my locale. Please let me know what language and what keys I need to press to duplicate this issue.

BullyWiiPlaza commented 2 years ago

@kwhat This doesn't work for me either. Ironically the system-hook library has the same bug. You can reproduce it by e.g. trying to write a backtick by pressing Shift + ´ and then the space key. This should be on your keyboard as well.

Expected behavior: ` is printed correctly.

Actual behavior: (blank is printed)

If there is any solution it would be much appreciated. This bug is annoying since it globally affects the computer while the hook is enabled.

kwhat commented 2 years ago

@BullyWiiPlaza

Which OS? Windows?

What language / locale? I am using US/English on Windows and I don't have a ´ key. The closest I have is ' and the ~ key.

BullyWiiPlaza commented 2 years ago

@BullyWiiPlaza

Which OS? Windows?

What language / locale? I am using US/English on Windows and I don't have a ´ key. The closest I have is ' and the ~ key.

OS: Windows 11 Pro Language/Locale: Germany/German

Maybe you can install another keyboard layout: image See the key on the top right with ´ and `.

kwhat commented 2 years ago

OS: Windows 11 Pro Language/Locale: Germany/German

Awesome, I can produce the character! Thank you.

BullyWiiPlaza commented 2 years ago

Is there any (planned) progress?

kwhat commented 2 years ago

This is planned to be fixed but I've been slammed with other work for a while now.