xref: /illumos-gate/usr/src/cmd/loadkeys/type_101/traditional_chinese (revision b6805bf78d2bbbeeaea8909a05623587b42d58b3)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#
26# Traditional-chinese key layout
27#
28
29# Main Pad Row 1:  digits, Backspace
30key 1 base ` shift ~ caps ` ctrl ^^ altg nop
31key 2 base 1 shift ! caps 1 ctrl 1 altg nop
32key 3 base 2 shift @ caps 2 ctrl ^@ altg nop
33key 4 base 3 shift # caps 3 ctrl 3 altg nop
34key 5 base 4 shift $ caps 4 ctrl 4 altg nop
35key 6 base 5 shift % caps 5 ctrl 5 altg nop
36key 7 base 6 shift ^ caps 6 ctrl ^^ altg nop
37key 8 base 7 shift & caps 7 ctrl 7 altg nop
38key 9 base 8 shift * caps 8 ctrl 8 altg nop
39key 10 base 9 shift ( caps 9 ctrl 9 altg nop
40key 11 base 0 shift ) caps 0 ctrl 0 altg nop
41key 12 base - shift _ caps - ctrl ^_ altg nop
42key 13 base = shift + caps = ctrl = altg nop
43key 14 all hole
44key 15 all '\b'
45
46# Main Pad Row 2:  Tab, QWERTY...
47key 17 base q shift Q caps Q ctrl ^Q altg nop
48key 18 base w shift W caps W ctrl ^W altg nop
49key 20 base r shift R caps R ctrl ^R altg nop
50key 22 base y shift Y caps Y ctrl ^Y altg nop
51key 25 base o shift O caps O ctrl ^O altg nop
52key 26 base p shift P caps P ctrl ^P altg nop
53key 27 base [ shift { caps [ ctrl ^[ altg nop
54key 28 base ] shift } caps ] ctrl ^] altg nop
55key 29 base '\\' shift | caps '\\' ctrl ^\ altg nop
56
57# Main Pad Row 3:  CapsLock, ASDFGH..., Enter
58key 31 base a shift A caps A ctrl ^A altg nop
59key 32 base s shift S caps S ctrl ^S altg nop
60key 40 base ; shift : caps ; ctrl ; altg nop
61key 41 base '\'' shift '"' caps '\'' ctrl '\'' altg nop
62key 42 base '\\' shift | caps '\\' ctrl ^\ altg nop
63
64# Main Pad Row 4:  Shift, ZXCVBN..., Shift
65key 45 all hole
66key 46 base z shift Z caps Z ctrl ^Z altg nop
67key 47 base x shift X caps X ctrl ^X altg nop
68key 48 base c shift C caps C ctrl ^C altg nop
69key 52 base m shift M caps M ctrl '\r' altg nop
70key 53 base , shift < caps , ctrl , altg nop
71key 54 base . shift > caps . ctrl . altg nop
72key 55 base / shift ? caps / ctrl ^_ altg nop
73key 56 all nop
74
75# Main Pad Row 5:  Ctrl, Alt, Space, ...
76key 62 all shiftkeys+alt up shiftkeys+alt
77
78# Numeric Pad
79key 104 base '\177' shift . caps '\177' ctrl paddot altg nop numl paddot
80
81# Japanese Keys
82key 131 all hole
83key 132 all hole
84key 133 all hole
85
86# Korean Keys
87key 150 all hole
88key 151 all hole
89