* [Qemu-devel] [PATCH]Add the Japanese keymap for VNC Server.
@ 2006-11-09 2:10 Kasai Takanori
0 siblings, 0 replies; only message in thread
From: Kasai Takanori @ 2006-11-09 2:10 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
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 < kasai.takanori@jp.fujitsu.com >
[-- Attachment #2: vnc_keyboard_ja.patch --]
[-- Type: application/octet-stream, Size: 1107 bytes --]
# HG changeset patch
# User kasai.takanori@jp.fujitsu.com
Add the Japanese keymap for VNC Server.
Signed-off-by: Takanori Kasai < kasai.takanori@jp.fujitsu.com >
diff -r 317e71a06828 tools/ioemu/keymaps/ja
--- a/tools/ioemu/keymaps/ja Tue Oct 17 19:04:46 2006 +0100
+++ b/tools/ioemu/keymaps/ja Thu Oct 19 19:06:11 2006 +0900
@@ -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
diff -r 317e71a06828 tools/ioemu/vnc_keysym.h
--- a/tools/ioemu/vnc_keysym.h Tue Oct 17 19:04:46 2006 +0100
+++ b/tools/ioemu/vnc_keysym.h Thu Oct 19 19:16:11 2006 +0900
@@ -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},
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-09 2:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09 2:10 [Qemu-devel] [PATCH]Add the Japanese keymap for VNC Server Kasai Takanori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).