xref: /illumos-gate/usr/src/cmd/loadkeys/type_101/reset (revision 2a8bcb4e)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License, Version 1.0 only
9# (the "License").  You may not use this file except in compliance
10# with the License.
11#
12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13# or http://www.opensolaris.org/os/licensing.
14# See the License for the specific language governing permissions
15# and limitations under the License.
16#
17# When distributing Covered Code, include this CDDL HEADER in each
18# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19# If applicable, add the following below this CDDL HEADER, with the
20# fields enclosed by brackets "[]" replaced with your own identifying
21# information: Portions Copyright [yyyy] [name of copyright owner]
22#
23# CDDL HEADER END
24#
25# Resets every single key on the default type101
26# Useful in returning default type101 to sanity
27#
28
29# ??? Unknown keys ???
30key 0 all hole
31
32# Main Pad Row 1:  digits, Backspace
33key 1 base ` shift ~ caps ` ctrl ^^ altg nop
34key 2 base 1 shift ! caps 1 ctrl 1 altg nop
35key 3 base 2 shift @ caps 2 ctrl ^@ altg nop
36key 4 base 3 shift # caps 3 ctrl 3 altg nop
37key 5 base 4 shift $ caps 4 ctrl 4 altg nop
38key 6 base 5 shift % caps 5 ctrl 5 altg nop
39key 7 base 6 shift ^ caps 6 ctrl ^^ altg nop
40key 8 base 7 shift & caps 7 ctrl 7 altg nop
41key 9 base 8 shift * caps 8 ctrl 8 altg nop
42key 10 base 9 shift ( caps 9 ctrl 9 altg nop
43key 11 base 0 shift ) caps 0 ctrl 0 altg nop
44key 12 base - shift _ caps - ctrl ^_ altg nop
45key 13 base = shift + caps = ctrl = altg nop
46key 14 all hole
47key 15 base '\b' shift '\b' caps '\b' ctrl '\b' altg nop
48
49# Main Pad Row 2:  Tab, QWERTY...
50key 16 base '\t' shift '\t' caps '\t' ctrl '\t' altg nop
51key 17 base q shift Q caps Q ctrl ^Q altg nop
52key 18 base w shift W caps W ctrl ^W altg nop
53key 19 base e shift E caps E ctrl ^E altg nop
54key 20 base r shift R caps R ctrl ^R altg nop
55key 21 base t shift T caps T ctrl ^T altg nop
56key 22 base y shift Y caps Y ctrl ^Y altg nop
57key 23 base u shift U caps U ctrl ^U altg nop
58key 24 base i shift I caps I ctrl '\t' altg nop
59key 25 base o shift O caps O ctrl ^O altg nop
60key 26 base p shift P caps P ctrl ^P altg nop
61key 27 base [ shift { caps [ ctrl ^[ altg nop
62key 28 base ] shift } caps ] ctrl ^] altg nop
63key 29 base '\\' shift | caps '\\' ctrl ^\ altg nop
64
65# Main Pad Row 3:  CapsLock, ASDFGH..., Enter
66key 30 all shiftkeys+capslock
67key 31 base a shift A caps A ctrl ^A altg nop
68key 32 base s shift S caps S ctrl ^S altg nop
69key 33 base d shift D caps D ctrl ^D altg nop
70key 34 base f shift F caps F ctrl ^F altg nop
71key 35 base g shift G caps G ctrl ^G altg nop
72key 36 base h shift H caps H ctrl '\b' altg nop
73key 37 base j shift J caps J ctrl '\n' altg nop
74key 38 base k shift K caps K ctrl '\v' altg nop
75key 39 base l shift L caps L ctrl ^L altg nop
76key 40 base ; shift : caps ; ctrl ; altg nop
77key 41 base '\'' shift '"' caps '\'' ctrl '\'' altg nop
78key 42 base '\\' shift | caps '\\' ctrl ^\ altg nop
79key 43 base '\r' shift '\r' caps '\r' ctrl '\r' altg nop
80
81# Main Pad Row 4:  Shift, ZXCVBN..., Shift
82key 44 all shiftkeys+leftshift up shiftkeys+leftshift
83key 45 all hole
84key 46 base z shift Z caps Z ctrl ^Z altg nop
85key 47 base x shift X caps X ctrl ^X altg nop
86key 48 base c shift C caps C ctrl ^C altg nop
87key 49 base v shift V caps V ctrl ^V altg nop
88key 50 base b shift B caps B ctrl ^B altg nop
89key 51 base n shift N caps N ctrl ^N altg nop
90key 52 base m shift M caps M ctrl '\r' altg nop
91key 53 base , shift < caps , ctrl , altg nop
92key 54 base . shift > caps . ctrl . altg nop
93key 55 base / shift ? caps / ctrl ^_ altg nop
94key 56 all nop
95key 57 all shiftkeys+rightshift up shiftkeys+rightshift
96
97# Main Pad Row 5:  Ctrl, Alt, Space, ...
98key 58 all shiftkeys+leftctrl up shiftkeys+leftctrl
99key 59 all hole
100key 60 all shiftkeys+alt up shiftkeys+alt
101key 61 all ' '
102key 62 all shiftkeys+alt up shiftkeys+alt
103key 63 all hole
104key 64 all shiftkeys+rightctrl up shiftkeys+rightctrl
105key 65 all hole
106
107# ??? Unknown keys ???
108key 66 all hole
109key 67 all hole
110key 68 all hole
111key 69 all hole
112key 70 all hole
113key 71 all hole
114key 72 all hole
115key 73 all hole
116key 74 all hole
117
118# Arrow Pad
119key 75 all bf(8)
120key 76 all '\177'
121key 77 all nop
122key 78 all hole
123key 79 all string+leftarrow
124key 80 all rf(7)
125key 81 all rf(13)
126key 82 all hole
127key 83 all string+uparrow
128key 84 all string+downarrow
129key 85 all rf(9)
130key 86 all rf(15)
131key 87 all hole
132key 88 all hole
133key 89 all string+rightarrow
134
135# Numeric Pad
136key 90 all shiftkeys+numlock
137key 91 base rf(7) shift 7 caps rf(7) ctrl pad7 altg nop numl pad7
138key 92 base string+leftarrow shift 4 caps string+leftarrow ctrl pad4 altg nop numl pad4
139key 93 base rf(13) shift 1 caps rf(13) ctrl pad1 altg nop numl pad1
140key 94 all hole
141key 95 base padslash shift / caps padslash ctrl padslash altg nop
142key 96 base string+uparrow shift 8 caps string+uparrow ctrl pad8 altg nop numl pad8
143key 97 base rf(11) shift 5 caps rf(11) ctrl pad5 altg nop numl pad5
144key 98 base string+downarrow shift 2 caps string+downarrow ctrl pad2 altg nop numl pad2
145key 99 base bf(8) shift 0 caps bf(8) ctrl pad0 altg nop numl pad0
146key 100 base padstar shift * caps padstar ctrl padstar altg nop
147key 101 base rf(9) shift 9 caps rf(9) ctrl pad9 altg nop numl pad9
148key 102 base string+rightarrow shift 6 caps string+rightarrow ctrl pad6 altg nop numl pad6
149key 103 base rf(15) shift 3 caps rf(15) ctrl pad3 altg nop numl pad3
150key 104 base '\177' shift . caps '\177' ctrl paddot altg nop numl paddot
151key 105 base padminus shift - caps padminus ctrl padminus altg nop
152key 106 base padplus shift + caps padplus ctrl padplus altg nop
153key 107 all hole
154key 108 base padenter shift '\n' caps padenter ctrl padenter altg nop
155
156# ??? Unknown keys ???
157key 109 all hole
158
159# Esc, Function Keys, PrintScreen/ScrollLock/Pause
160key 110 all ^[
161key 111 all hole
162key 112 all tf(1)
163key 113 all tf(2)
164key 114 all tf(3)
165key 115 all tf(4)
166key 116 all tf(5)
167key 117 all tf(6)
168key 118 all tf(7)
169key 119 all tf(8)
170key 120 all tf(9)
171key 121 all tf(10)
172key 122 all tf(11)
173key 123 all tf(12)
174key 124 all nop
175key 125 all nop
176key 126 all nop
177
178# Japanese Keys
179key 131 all hole
180key 132 all hole
181key 133 all hole
182
183# Korean Keys
184key 150 all hole
185key 151 all hole
186