Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support non-US keyboard layout on macOS
This commit implements a look up table to map between CGKeyCode on the physical keyboard and the actual output character from the selected input source. This table is built once when the application starts. Currently, we have to restart the application if we change the input source. This can be improved in the future. Fixes #20
- Loading branch information
Showing
5 changed files
with
235 additions
and
65 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.