-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(win-llhook): restore MapVirtualKeyA for default kanata.exe
The commit fab0d89 intended to fix the functionality of keypad enter. It worked for the US layout but broke other OS layouts. It turns out MapVirtualKeyA **was** needed to translate to the appropriate scancode output. The fix for keypad enter is done by attempting `osc_to_u16` if MapVirtualKeyA fails, which it should for a nonexistent VK that kanata uses for keypad enter.
- Loading branch information
Showing
1 changed file
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters