open-src/driver/xf86-input-keyboard/6897086.patch
changeset 1054 1c1ff42df15b
parent 1053 93e3ac736fe9
child 1055 26e1d9d7b410
--- a/open-src/driver/xf86-input-keyboard/6897086.patch	Tue Dec 14 00:55:39 2010 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
---- src/sun_kbdMap.c.orig	Mon Nov 16 15:42:20 2009
-+++ src/sun_kbdMap.c	Mon Nov 16 15:38:59 2009
-@@ -40,6 +40,17 @@
- #define KEY_Kanji	0x82
- #define KEY_Execute	0x83
- 
-+/* 
-+ * Additional Korean 106 Keyboard Keys not defined in atKeynames.h
-+ * These are exactly same USB usage id with Kana(0x90) and Eisu(0x91) keys 
-+ * in Mac Japanese keyboard. From /usr/X11/lib/X11/xkb/keycodes/xfree86, these
-+ * are 209 and 210. So these should be 0xc9(209-8=201) and 0xca(210-8=202).
-+ *   <EISU> =   210;          // Alphanumeric mode on macintosh
-+ *   <KANA> =   209;          // Kana mode on macintosh
-+ */
-+#define KEY_Hangul            0xC9    /* Also Kana in Mac Japanaese kbd */
-+#define KEY_Hangul_Hanja      0xCA    /* Also Eisu in Mac Japanaese kbd */
-+
- /* Override atKeynames.h values with unique keycodes, so we can distinguish
-    KEY_F15 from KEY_HKTG & KEY_KP_DEC from KEY_BSlash2 */
- #undef KEY_HKTG
-@@ -475,8 +486,8 @@
- 	/* 141 */ KEY_NOTUSED,
- 	/* 142 */ KEY_NOTUSED,
- 	/* 143 */ KEY_NOTUSED,
--	/* 144 */ KEY_NOTUSED,
--	/* 145 */ KEY_NOTUSED,
-+	/* 144 */ KEY_Hangul,		/* Korean 106 Kbd: Hangul */
-+	/* 145 */ KEY_Hangul_Hanja,	/* Korean 106 Kbd: Hanja */
- 	/* 146 */ KEY_NOTUSED,
- 	/* 147 */ KEY_NOTUSED,
- 	/* 148 */ KEY_NOTUSED,