public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] Japanese keyboard support
@ 2008-06-17 13:22 Akio Takebe
  2008-06-18 13:44 ` Avi Kivity
  0 siblings, 1 reply; 3+ messages in thread
From: Akio Takebe @ 2008-06-17 13:22 UTC (permalink / raw)
  To: kvm

Hi,

This patch improves jp106 keyboard.
You can use '-k ja' option of qemu.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>

Best Regards,

Akio Takebe

---
diff --git a/qemu/keymaps/ja b/qemu/keymaps/ja
index 6947cb1..9d90a78 100644
--- a/qemu/keymaps/ja
+++ b/qemu/keymaps/ja
@@ -101,6 +101,7 @@ yen 0x7d
 bar 0x7d shift
 underscore 0x73 shift
 Henkan_Mode 0x79
+Katakana_Real 0x70
 Katakana 0x70
 Muhenkan 0x7b
 Henkan_Mode_Real 0x79
diff --git a/qemu/vnc_keysym.h b/qemu/vnc_keysym.h
index 5c47104..b6a172d 100644
--- a/qemu/vnc_keysym.h
+++ b/qemu/vnc_keysym.h
@@ -289,11 +289,14 @@ static name2keysym_t name2keysym[]={
     /* localized keys */
 {"BackApostrophe", 0xff21},
 {"Muhenkan", 0xff22},
-{"Katakana", 0xff25},
-{"Zenkaku_Hankaku", 0xff29},
+{"Katakana", 0xff27},
+{"Hankaku", 0xff29},
+{"Zenkaku_Hankaku", 0xff2a},
 {"Henkan_Mode_Real", 0xff23},
 {"Henkan_Mode_Ultra", 0xff3e},
 {"backslash_ja", 0xffa5},
+{"Katakana_Real", 0xff25},
+{"Eisu_toggle", 0xff30},
 
 {0,0},
 };


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-19  1:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 13:22 [Patch] Japanese keyboard support Akio Takebe
2008-06-18 13:44 ` Avi Kivity
2008-06-19  1:07   ` Akio Takebe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox