Skip to content

Commit

Permalink
Fix debauchee#1531: Revert control key remapping from grave/tilde to …
Browse files Browse the repository at this point in the history
…zenkaku

It was introduced in the pull request debauchee#1214, and even in the description of the request it had been acknowledged that there is no such key on mac keyboards.

As a consequence, it led to inability to transfer grave and tilde symbols, at least from macOS to Windows on default "ABC" keyboard layout.

Unfortunately, I don't have a JIS keyboard, nor understand how to use it. The only thing I can suggest now is to revert the controversial remapping.
  • Loading branch information
vladimirlagunov committed Jan 26, 2022
1 parent 433126e commit c5ab07d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/platform/OSXKeyState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ static const KeyEntry s_controlKeys[] = {
{ kKeyEisuToggle, kVK_JIS_Eisu },
{ kKeyKana, kVK_JIS_Kana },
{ kKeyMuhenkan, s_int5VK },
{ kKeyHenkan, s_int4VK },
{ kKeyZenkaku, kVK_ANSI_Grave }
{ kKeyHenkan, s_int4VK }
};


Expand Down

0 comments on commit c5ab07d

Please sign in to comment.