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