tw revision c067fea9
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// CDDL HEADER START 32// 33// The contents of this file are subject to the terms of the 34// Common Development and Distribution License (the "License"). 35// You may not use this file except in compliance with the License. 36// 37// You can obtain a copy of the license at src/OPENSOLARIS.LICENSE 38// or http://www.opensolaris.org/os/licensing. 39// See the License for the specific language governing permissions 40// and limitations under the License. 41// 42// When distributing Covered Code, include this CDDL HEADER in each 43// file and include the License file at src/OPENSOLARIS.LICENSE. 44// If applicable, add the following below this CDDL HEADER, with the 45// fields enclosed by brackets "[]" replaced with your own identifying 46// information: Portions Copyright [yyyy] [name of copyright owner] 47// 48// CDDL HEADER END 49// 50 51// Taiwanese layout for a Type 6 Sun keyboard 52partial 53xkb_symbols "type6" { 54 // A few keys are different from US layout - only those are shown here 55 key <ALGR> { [ Henkan_Mode ] }; 56 key <BKSL> { [ backslash, bar, brokenbar ] }; 57 58}; 59 60 61// Taiwanese layout for a Type 4 Sun keyboard 62 63xkb_symbols "type4" { 64 65 key <BKSL> { [ backslash, bar, brokenbar ] }; 66 67 key <COMP> { [ Henkan_Mode ] }; 68 69}; 70 71// Taiwanese layout for a Type 5 Sun keyboard 72xkb_symbols "type5" { 73 74 // A few keys are different 75 key <ALGR> { [ Henkan_Mode ] }; 76 key <BKSL> { [ backslash, bar, brokenbar ] }; 77 78}; 79 80