From 34c2be00e571d5c292fdbcfabe16df9266fc4bce Mon Sep 17 00:00:00 2001 From: crs Date: Thu, 30 Dec 2004 12:10:47 +0000 Subject: [PATCH] Added Henkan key. Patch from rniitani at sourceforge.net. --- lib/platform/CMSWindowsKeyState.cpp | 4 ++-- lib/synergy/KeyTypes.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/platform/CMSWindowsKeyState.cpp b/lib/platform/CMSWindowsKeyState.cpp index 67cae68a..e65030ac 100644 --- a/lib/platform/CMSWindowsKeyState.cpp +++ b/lib/platform/CMSWindowsKeyState.cpp @@ -346,7 +346,7 @@ const KeyID CMSWindowsKeyState::s_virtualKey[][2] = /* 0x19 */ { kKeyZenkaku, kKeyNone }, // VK_KANJI /* 0x1a */ { kKeyNone, kKeyNone }, // undefined /* 0x1b */ { kKeyEscape, kKeyNone }, // VK_ESCAPE - /* 0x1c */ { kKeyNone, kKeyNone }, // VK_CONVERT + /* 0x1c */ { kKeyHenkan, kKeyNone }, // VK_CONVERT /* 0x1d */ { kKeyNone, kKeyNone }, // VK_NONCONVERT /* 0x1e */ { kKeyNone, kKeyNone }, // VK_ACCEPT /* 0x1f */ { kKeyNone, kKeyNone }, // VK_MODECHANGE @@ -664,7 +664,7 @@ const UINT CMSWindowsKeyState::s_mapEF00[] = /* 0x08 */ VK_BACK, VK_TAB, 0, VK_CLEAR, 0, VK_RETURN, 0, 0, /* 0x10 */ 0, 0, 0, VK_PAUSE, VK_SCROLL, 0/*sys-req*/, 0, 0, /* 0x18 */ 0, 0, 0, VK_ESCAPE, 0, 0, 0, 0, - /* 0x20 */ 0, 0, 0, 0, 0, 0, 0, 0, + /* 0x20 */ 0, 0, 0, VK_CONVERT, 0, 0, 0, 0, /* 0x28 */ 0, 0, VK_KANJI, 0, 0, 0, 0, 0, /* 0x30 */ 0, 0, 0, 0, 0, 0, 0, 0, /* 0x38 */ 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/lib/synergy/KeyTypes.h b/lib/synergy/KeyTypes.h index b444c476..c6ff7148 100644 --- a/lib/synergy/KeyTypes.h +++ b/lib/synergy/KeyTypes.h @@ -88,6 +88,7 @@ static const KeyID kKeyPause = 0xEF13; /* Pause, hold */ static const KeyID kKeyScrollLock = 0xEF14; static const KeyID kKeySysReq = 0xEF15; static const KeyID kKeyEscape = 0xEF1B; +static const KeyID kKeyHenkan = 0xEF23; /* Start/Stop Conversion */ static const KeyID kKeyZenkaku = 0xEF2A; /* Zenkaku/Hankaku */ static const KeyID kKeyDelete = 0xEFFF; /* Delete, rubout */