<div>In latest Japanese Mac keyboard has some special keys for changing input method.</div>There are Eisu key and Kana key.<div><br></div><div>In Korea, there is a Korean keyboard which is same layout with US QWERTY.</div>
<div>But it has additional two keys which are called Han-young and Hanja.</div><div>These keys are used for changing Korean/English and translating Korean into related Chinese character.</div><div><br></div><div>The point is Japanese one and Korean's one make same ADB keycode on OS X.</div>
<div>Kana and Han-young makes 0x68. Eisu and Hanja makes 0x66.</div><div><br></div><div>I don't know why Apple did that thinng happen.</div><div>But Apple doesn't support Korean Input method keys. </div><div>Thanks to Apple, Korean input method keys can be activated on OS X.</div>
<div><br></div><div><div>I saw a thread about patching for Japanese keyboard.</div><div><a href="http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/175">http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/175</a></div>
<div><br></div></div><div><br></div><div>But latest release of VirtualBox doesn't make any PS/2 scancode for Kana and Eisu.</div><div><br></div><div>So I patched the /src/VBox/Frontends/VirtualBox/src/darwin/DarwinKeyboard.cpp</div>
<div><br></div><div><div><div>--- DarwinKeyboard.cpp 2009-06-14 20:49:05.000000000 +0900</div><div>+++ DarwinKeyboard.new.cpp 2009-06-14 22:16:21.000000000 +0900</div><div>@@ -215,9 +215,9 @@</div><div> 0x3d, /* QZ_F3 0x63 */</div>
<div> 0x42, /* QZ_F8 0x64 */</div><div> 0x43, /* QZ_F9 0x65 */</div><div>- 0x29, /* Zen/Han (JIS) 0x66 */</div><div>+ 0x7b, /* QZ_EISU (JIS) 0x66 */</div>
<div> 0x57, /* QZ_F11 0x67 */</div><div>- 0x29, /* Zen/Han (JIS) 0x68 */</div><div>+ 0x70, /* QZ_KANA (JIS) 0x68 */</div><div> 0x37|K_EX, /* QZ_PRINT / F13 0x69 */</div>
<div> 0x63, /* QZ_F16 0x6A */</div><div> 0x46|K_LOCK, /* QZ_SCROLLOCK 0x6B */</div></div><div><br></div><div><br></div><div>and did the same patch to src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp , src/VBox/Frontends/VBoxBFE/SDLConsole.cpp.</div>
<div><br></div><div>Regards,</div><div>trip2me.</div></div>