From a3d7d7d4ef949e0dee006e8a67f9bd7b6d10b5c2 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 9 Dec 2020 15:57:05 +0100 Subject: [PATCH] Map macOS Eisu key to XK_Eisu_toggle It's a better match for what the key symbolises, even though it is not as common on Unix systems. But we want to avoid getting in to tailoring things for any one specific input method implementation. --- vncviewer/cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vncviewer/cocoa.mm b/vncviewer/cocoa.mm index 891d9635..c3fe98e5 100644 --- a/vncviewer/cocoa.mm +++ b/vncviewer/cocoa.mm @@ -359,7 +359,7 @@ static const int kvk_map[][2] = { { kVK_ANSI_Keypad8, XK_KP_8 }, { kVK_ANSI_Keypad9, XK_KP_9 }, // Japanese Keyboard Support - { kVK_JIS_Eisu, XK_Muhenkan }, + { kVK_JIS_Eisu, XK_Eisu_toggle }, { kVK_JIS_Kana, XK_Hiragana_Katakana }, }; -- 2.39.5