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