Received: from eggs.gnu.org ([208.118.235.92]:54965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC5rq-000667-VE for qemu-devel@nongnu.org; Mon, 26 Mar 2012 05:05:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SC5rk-0003Qx-F7 for qemu-devel@nongnu.org; Mon, 26 Mar 2012 05:05:34 -0400 Received: from mail.teramail.com ([222.122.163.194]:46135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC5rj-0003QO-Ue for qemu-devel@nongnu.org; Mon, 26 Mar 2012 05:05:28 -0400 From: =?ks_c_5601-1987?B?yKu1tcf8?= Date: Mon, 26 Mar 2012 18:05:21 +0900 Message-ID: <060a01cd0b2f$94cc0720$be641560$@samsung.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_060B_01CD0B7B.04B535C0" Content-language: ko Subject: [Qemu-devel] [PATCH] fix evdev_keycode_to_pc_keycode for Hangul/Latin & Hangul/Hanja toggles List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com This is a multipart message in MIME format. ------=_NextPart_000_060B_01CD0B7B.04B535C0 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: 7bit Scan code for Hangul/English is 0xf2, Scan code for Hangul/Hanja is 0xf1 Signed-off-by : Dohyung Hong --- diff --git a/ui/x_keymap.c b/ui/x_keymap.c index b9b0944..5e1b796 100644 --- a/ui/x_keymap.c +++ b/ui/x_keymap.c @@ -127,8 +127,8 @@ static const uint8_t evdev_keycode_to_pc_keycode[61] = { 0, /* 127 EVDEV - PAUS */ 0, /* 128 EVDEV - ???? */ 0, /* 129 EVDEV - I129 ("Internet" Keyboards) */ - 0xf1, /* 130 EVDEV - HNGL (Korean Hangul Latin toggle) */ - 0xf2, /* 131 EVDEV - HJCV (Korean Hangul Hanja toggle) */ + 0xf2, /* 130 EVDEV - HNGL (Korean Hangul Latin toggle) */ + 0xf1, /* 131 EVDEV - HJCV (Korean Hangul Hanja toggle) */ 0x7d, /* 132 AE13 (Yen)*/ 0xdb, /* 133 EVDEV - LWIN */ 0xdc, /* 134 EVDEV - RWIN */ --- ------=_NextPart_000_060B_01CD0B7B.04B535C0 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: quoted-printable

Scan code for Hangul/English is = 0xf2,

Scan = code for Hangul/Hanja is 0xf1

 

Signed-off-by : Dohyung Hong <don.hong@samsung.com>

---

diff --git a/ui/x_keymap.c = b/ui/x_keymap.c

index b9b0944..5e1b796 100644

--- = a/ui/x_keymap.c

+++ b/ui/x_keymap.c

@@ -127,8 +127,8 @@ static const = uint8_t evdev_keycode_to_pc_keycode[61] =3D {

     = 0,         /* 127 EVDEV - PAUS = */

     = 0,         /* 128 EVDEV - ???? = */

     = 0,         /* 129 EVDEV - I129 = ("Internet" Keyboards) */

-    = 0xf1,      /* 130 EVDEV - HNGL (Korean Hangul = Latin toggle) */

-    0xf2,      /* = 131 EVDEV - HJCV (Korean Hangul Hanja toggle) */

+    = 0xf2,      /* 130 EVDEV - HNGL (Korean Hangul = Latin toggle) */

+    0xf1,      /* = 131 EVDEV - HJCV (Korean Hangul Hanja toggle) */

     = 0x7d,      /* 132 AE13 = (Yen)*/

     = 0xdb,      /* 133 EVDEV - LWIN = */

     = 0xdc,      /* 134 EVDEV - RWIN = */

---

------=_NextPart_000_060B_01CD0B7B.04B535C0--