Skip to contentSkip to conversation

Add the Japanese keymap for VNC Server.

PATCH New Kasai Takanori 1 participant 1 message Nov 9, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add the Japanese keymap for VNC Server.

Hi All,

My name is Takanori Kasai, work for Fujitsu.
This is a first time to send mail.

I am doing the development of Xen.
Then, I found the key that was not able to be input with Japanese keyboard(106).

I think that it is a cause by lack of some keys in Japanese keymap and the key symbol table in qemu-dm.

For your information, I send this patch that was applied for qemu-dm on Xen. If it is necessary, please apply this patch for qemu-dm.

Thanks,

-
Takanori Kasai < [email protected] >

# HG changeset patch
# User [email protected]
Add the Japanese keymap for VNC Server.

tools/ioemu/keymaps/ja +3 -0
diff -r 317e71a06828 tools/ioemu/keymaps/ja
@@ -102,3 +102,6 @@ Henkan_Mode 0x79
 Henkan_Mode 0x79
 Katakana 0x70
 Muhenkan 0x7b
+Henkan_Mode_Real 0x79
+Henkan_Mode_Ultra 0x79
+backslash_ja 0x73
tools/ioemu/vnc_keysym.h +10 -0
diff -r 317e71a06828 tools/ioemu/vnc_keysym.h
@@ -271,5 +271,15 @@ static name2keysym_t name2keysym[]={
 {"Num_Lock", 0xff7f},    /* XK_Num_Lock */
 {"Pause", 0xff13},       /* XK_Pause */
 {"Escape", 0xff1b},      /* XK_Escape */
+
+    /* localized keys */
+{"BackApostrophe", 0xff21},
+{"Muhenkan", 0xff22},
+{"Katakana", 0xff25},
+{"Zenkaku_Hankaku", 0xff29},
+{"Henkan_Mode_Real", 0xff23},
+{"Henkan_Mode_Ultra", 0xff3e},
+{"backslash_ja", 0xffa5},
+
 {0,0},
 };