Added Henkan key. Patch from rniitani at sourceforge.net.

This commit is contained in:
crs 2004-12-30 12:10:47 +00:00
parent 1d0436b31c
commit 34c2be00e5
2 changed files with 3 additions and 2 deletions

View File

@ -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,

View File

@ -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 */