kr revision c067fea9
1c067fea9Sghen// 2c067fea9Sghen// Copyright 2010 Sun Microsystems, Inc. All rights reserved. 3c067fea9Sghen// 4c067fea9Sghen// Permission is hereby granted, free of charge, to any person obtaining a 5c067fea9Sghen// copy of this software and associated documentation files (the 6c067fea9Sghen// "Software"), to deal in the Software without restriction, including 7c067fea9Sghen// without limitation the rights to use, copy, modify, merge, publish, 8c067fea9Sghen// distribute, and/or sell copies of the Software, and to permit persons 9c067fea9Sghen// to whom the Software is furnished to do so, provided that the above 10c067fea9Sghen// copyright notice(s) and this permission notice appear in all copies of 11c067fea9Sghen// the Software and that both the above copyright notice(s) and this 12c067fea9Sghen// permission notice appear in supporting documentation. 13c067fea9Sghen// 14c067fea9Sghen// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15c067fea9Sghen// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16c067fea9Sghen// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 17c067fea9Sghen// OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 18c067fea9Sghen// HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 19c067fea9Sghen// INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 20c067fea9Sghen// FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 21c067fea9Sghen// NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 22c067fea9Sghen// WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 23c067fea9Sghen// 24c067fea9Sghen// Except as contained in this notice, the name of a copyright holder 25c067fea9Sghen// shall not be used in advertising or otherwise to promote the sale, use 26c067fea9Sghen// or other dealings in this Software without prior written authorization 27c067fea9Sghen// of the copyright holder. 28c067fea9Sghen// 29c067fea9Sghen// 30c067fea9Sghen 31c067fea9Sghen// 32c067fea9Sghen// CDDL HEADER START 33c067fea9Sghen// 34c067fea9Sghen// The contents of this file are subject to the terms of the 35c067fea9Sghen// Common Development and Distribution License (the "License"). 36c067fea9Sghen// You may not use this file except in compliance with the License. 37c067fea9Sghen// 38c067fea9Sghen// You can obtain a copy of the license at src/OPENSOLARIS.LICENSE 39c067fea9Sghen// or http://www.opensolaris.org/os/licensing. 40c067fea9Sghen// See the License for the specific language governing permissions 41c067fea9Sghen// and limitations under the License. 42c067fea9Sghen// 43c067fea9Sghen// When distributing Covered Code, include this CDDL HEADER in each 44c067fea9Sghen// file and include the License file at src/OPENSOLARIS.LICENSE. 45c067fea9Sghen// If applicable, add the following below this CDDL HEADER, with the 46c067fea9Sghen// fields enclosed by brackets "[]" replaced with your own identifying 47c067fea9Sghen// information: Portions Copyright [yyyy] [name of copyright owner] 48c067fea9Sghen// 49c067fea9Sghen// CDDL HEADER END 50c067fea9Sghen// 51c067fea9Sghen 52c067fea9Sghen// Korean layout for a Type 6 Sun keyboard 53c067fea9Sghenpartial 54c067fea9Sghenxkb_symbols "type6" { 55c067fea9Sghen 56c067fea9Sghen // A few keys are different 57c067fea9Sghen key <ALGR> { [ Hangul ] }; 58c067fea9Sghen key <COMP> { [ Hangul_Hanja ] }; 59c067fea9Sghen key <KANA> { [ Hangul ] }; 60c067fea9Sghen key <EISU> { [ Hangul_Hanja ] }; 61c067fea9Sghen key <BKSL> { [ backslash, bar, brokenbar ] }; 62c067fea9Sghen 63c067fea9Sghen include "level3(ralt_switch)" 64c067fea9Sghen 65c067fea9Sghen}; 66c067fea9Sghen 67c067fea9Sghen 68c067fea9Sghen// Korean layout for a Type 4 Sun keyboard 69c067fea9Sghenxkb_symbols "type4" { 70c067fea9Sghen 71c067fea9Sghen key <BKSL> { [ backslash, bar, brokenbar ] }; 72c067fea9Sghen 73c067fea9Sghen key <LNFD> { [ Hangul ] }; 74c067fea9Sghen key <RALT> { [ Linefeed ] }; 75c067fea9Sghen key <COMP> { [ Hangul_Hanja ] }; 76c067fea9Sghen 77c067fea9Sghen include "level3(ralt_switch)" 78c067fea9Sghen 79c067fea9Sghen}; 80c067fea9Sghen 81c067fea9Sghen// Korean layout for a Type 5 Sun keyboard 82c067fea9Sghenxkb_symbols "type5" { 83c067fea9Sghen 84c067fea9Sghen // A few keys are different 85c067fea9Sghen key <ALGR> { [ Hangul ] }; 86c067fea9Sghen key <COMP> { [ Hangul_Hanja ] }; 87c067fea9Sghen key <BKSL> { [ backslash, bar, brokenbar ] }; 88c067fea9Sghen 89c067fea9Sghen include "level3(ralt_switch)" 90c067fea9Sghen 91c067fea9Sghen}; 92c067fea9Sghen 93c067fea9Sghen 94c067fea9Sghenpartial default alphanumeric_keys 95c067fea9Sghen xkb_symbols "basic" { 96c067fea9Sghen include "sun_vndr/kr(type6)" 97c067fea9Sghen}; 98c067fea9Sghen 99