From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC8Uw-0007uR-2T for qemu-devel@nongnu.org; Mon, 26 Mar 2012 07:54:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SC8Ut-0000hu-Nu for qemu-devel@nongnu.org; Mon, 26 Mar 2012 07:54:05 -0400 Received: from mail.teramail.com ([222.122.163.194]:41106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC8Ut-0000gx-0l for qemu-devel@nongnu.org; Mon, 26 Mar 2012 07:54:03 -0400 Received: from dhhongdesktop (unknown [121.133.176.1]) by mail.teramail.com (TERA-MTA) with ESMTP id 3FE454BBD77 for ; Mon, 26 Mar 2012 20:53:58 +0900 (KST) From: "Dohyung Hong" Date: Mon, 26 Mar 2012 20:53:59 +0900 Message-ID: <062801cd0b47$21e12840$65a378c0$@samsung.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0629_01CD0B92.91CA56E0" 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 This is a multipart message in MIME format. ------=_NextPart_000_0629_01CD0B92.91CA56E0 Content-Type: text/plain; charset="us-ascii" 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_0629_01CD0B92.91CA56E0 Content-Type: text/html; charset="us-ascii" 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_0629_01CD0B92.91CA56E0--