Skip to contentSkip to conversation

Add the Japanese keymap for VNC Server.

PATCH Applied Kasai Takanori 3 participants 6 messages Oct 20, 2006 – 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.
This is a first time to send mail.

I found the key that was not able to be input to HVM Domain (VTx and VTi Domain) through VNC Server with Japanese keyboard.

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

This patch is addition of the keys for Japanese keyboard.

My best regards.

- Takanori Kasai

# 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},
 };

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hi All,

I made the following patches before.
However, the patch has not been applied yet. Therefore, some keys cannot be used for a Japanese keyboard. Could you apply this patch?

Best regards,
-
Takanori Kasai

----- Original Message ----- From: "Kasai Takanori" <[email protected]>
To: <[email protected]>
Sent: Friday, October 20, 2006 1:53 PM
Subject: [Xen-devel] [PATCH]Add the Japanese keymap for VNC Server.

Quoted 11 lines

Hi All,

My name is Takanori Kasai.
This is a first time to send mail.

I found the key that was not able to be input to HVM Domain (VTx and VTi Domain) through VNC Server with Japanese keyboard.

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

Quoted 6 lines

This patch is addition of the keys for Japanese keyboard.

My best regards.

-
Takanori Kasai

--------------------------------------------------------------------------------

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

# 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},
 };

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Hi all.

We would like to apply the japanese keymap patch. Because we can't use japanese keyboard(106) on Xen.

If there is any problem, please let us know.

Thank you, Nishi

Quoted 51 lines

Hi All,

I made the following patches before.
However, the patch has not been applied yet. Therefore, some keys cannot be used for a Japanese keyboard. Could you apply this patch?

Best regards,
-
Takanori Kasai

----- Original Message -----
From: "Kasai Takanori" <[email protected]>
To: <[email protected]>
Sent: Friday, October 20, 2006 1:53 PM
Subject: [Xen-devel] [PATCH]Add the Japanese keymap for VNC Server.

Quoted 11 lines

Hi All,

My name is Takanori Kasai.
This is a first time to send mail.

I found the key that was not able to be input to HVM Domain (VTx and VTi Domain) through VNC Server with Japanese keyboard.

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

Quoted 6 lines

This patch is addition of the keys for Japanese keyboard.

My best regards.

-
Takanori Kasai

---------------------------------------------------------------------------
-----

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#3 lore raw
Quoted 6 lines · Hidetoshi Nishi

Hi all.

We would like to apply the japanese keymap patch. Because we can't use japanese keyboard(106) on Xen.

If there is any problem, please let us know.

I've applied this now, thank you, and sorry for the delay. Christian normally manages QEMU patches, but he's on vacation at the moment so it got forgotten.

If you want, you could also submit this to upstream QEMU -- I'm sure they'd appreciate it.

Thanks,

Ewan.

#4 lore raw

Hi Ewan,

Thank you for applying this patch.

Quoted 2 lines

If you want, you could also submit this to upstream QEMU -- I'm sure they'd appreciate it.

I hope to apply it to upstream QEMU.

Thanks,

---
Takanori Kasai

#5 lore raw
In reply to Ewan Mellor

 Hi Ewan.

 Thanks a lot for your appling the patch.

 We will submit it to QEMU also.

Thanks. Nishi

Quoted 25 lines · Hidetoshi Nishi
Quoted 7 lines

Hi all.

We would like to apply the japanese keymap patch. Because we can't use japanese keyboard(106) on Xen.

If there is any problem, please let us know.

I've applied this now, thank you, and sorry for the delay. Christian normally
manages QEMU patches, but he's on vacation at the moment so it got forgotten.

If you want, you could also submit this to upstream QEMU -- I'm sure they'd appreciate it.

Thanks,

Ewan.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel