Support "Kana" and "Eisu" keys on Japanese Apple Pro Keyboard (JIS) (#7040)

* Support "Kana" and "Eisu" keys on Japanese Apple Pro Keyboard (JIS)

* Update ChangeLog

Co-authored-by: Serhii Hadzhilov <serhii-external@symless.com>
Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
This commit is contained in:
Toru Yamada
2021-06-30 20:15:34 +09:00
committed by GitHub
parent 2fdde93f3d
commit 16d9a3dce0
2 changed files with 6 additions and 0 deletions

View File

@ -118,6 +118,11 @@ static const KeyEntry s_controlKeys[] = {
// toggle modifiers
{ kKeyNumLock, s_numLockVK },
{ kKeyCapsLock, s_capsLockVK },
// for Apple Pro JIS Keyboard, map Kana (IME activate) to Henkan (show next IME conversion), and
// Eisu (IME deactivate) to Zenkaku (IME activation toggle) on Windows Japanese keyboard (OADG109A)
{ kKeyHenkan, kVK_JIS_Kana },
{ kKeyZenkaku, kVK_JIS_Eisu },
{ kKeyMissionControl, s_missionControlVK },
{ kKeyLaunchpad, s_launchpadVK },