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