1// 2//Copyright (c) 1996 Digital Equipment Corporation 3// 4//Permission is hereby granted, free of charge, to any person obtaining 5//a 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, sublicense, and sell copies of the Software, and to 9//permit persons to whom the Software is furnished to do so, subject to 10//the following conditions: 11// 12//The above copyright notice and this permission notice shall be included 13//in all copies or substantial portions of the Software. 14// 15//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 16//OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18//IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, 19//DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 20//OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 21//THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22// 23//Except as contained in this notice, the name of the Digital Equipment 24//Corporation shall not be used in advertising or otherwise to promote 25//the sale, use or other dealings in this Software without prior written 26//authorization from Digital Equipment Corporation. 27// 28// HISTORY 29// Log 30// Revision 1.2 1996/06/18 09:10:12 erik 31// use flags correctly, assorted cleanups and consortium fixes 32// 33// Revision 1.1.6.4 1995/12/19 19:55:58 William_Walker 34// Update to XKB 0.65 35// [1995/12/17 02:37:07 William_Walker] 36// 37// Revision 1.1.6.3 1995/10/25 21:01:09 William_Walker 38// Make sure we use DIN 2137 and VT510 Spec for Group Semantics 39// [1995/10/23 15:49:03 William_Walker] 40// 41// Revision 1.1.6.2 1995/08/07 17:40:40 William_Walker 42// Upgrade XKB to protocol 0.62 (dual submit from decx11) 43// [1995/08/06 14:06:32 William_Walker] 44// 45// Revision 1.1.2.7 1995/08/05 15:25:57 William_Walker 46// Sync up with Erik's pool. 47// [1995/08/03 20:17:15 William_Walker] 48// 49// Revision 1.1.2.6 1995/06/27 12:18:25 William_Walker 50// Add LK201 and LK450 support as well as TW and DP variants. 51// [1995/06/26 20:29:52 William_Walker] 52// 53// Revision 1.1.2.5 1995/06/08 17:10:28 William_Walker 54// Make RALT default to Mode_switch 55// [1995/06/08 17:08:50 William_Walker] 56// 57// Revision 1.1.2.4 1995/06/05 19:24:14 William_Walker 58// New file. I love keymaps. 59// [1995/06/05 18:17:03 William_Walker] 60// 61// EndLog 62// 63// @(#)RCSfile: pc Revision: /main/4 (DEC) Date: 1996/01/24 12:15:02 64// 65 66// ************************************************************** 67// * * 68// * The symbols common to all Extended PC layouts. * 69// * * 70// ************************************************************** 71xkb_symbols "pc" { 72 73 // Modifier mappings 74 // 75 modifier_map Shift { Shift_L, Shift_R }; 76 modifier_map Lock { Caps_Lock }; 77 modifier_map Control { Control_L, Control_R }; 78 modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R }; 79 modifier_map Mod3 { Mode_switch }; 80 modifier_map Mod4 { Num_Lock }; 81 modifier_map Mod5 { Scroll_Lock }; 82 83 // Common keys 84 // 85 key <BKSP> { [ BackSpace, Delete ] }; 86 key <TAB> { [ Tab, ISO_Left_Tab ] }; 87 key <CAPS> { [ Caps_Lock ] }; 88 key <RTRN> { [ Return ] }; 89 key <LFSH> { [ Shift_L ] }; 90 key <RTSH> { [ Shift_R ] }; 91 key <LCTL> { [ Control_L ] }; 92 key <LALT> { [ Alt_L, Meta_L ] }; 93 key <SPCE> { [ space ] }; 94 key <RALT> { [ Mode_switch ] }; 95 key <RCTL> { [ Control_R ] }; 96 97 // "Function" keys 98 // 99 key <ESC> { [ Escape ] }; 100 key <FK01> { [ F1 ] }; 101 key <FK02> { [ F2 ] }; 102 key <FK03> { [ F3 ] }; 103 key <FK04> { [ F4 ] }; 104 key <FK05> { [ F5 ] }; 105 key <FK06> { [ F6 ] }; 106 key <FK07> { [ F7 ] }; 107 key <FK08> { [ F8 ] }; 108 key <FK09> { [ F9 ] }; 109 key <FK10> { [ F10 ] }; 110 key <FK11> { [ F11 ] }; 111 key <FK12> { [ F12 ] }; 112 key <PRSC> { 113 type= "PC_ALT_LEVEL2", 114 symbols[Group1]= [ Print, Sys_Req ] 115 }; 116 key <SCLK> { [ Scroll_Lock ] }; 117 key <PAUS> { 118 type= "PC_CONTROL_LEVEL2", 119 symbols[Group1]= [ Pause, Break ] 120 }; 121 122 // "Editing" keys 123 // 124 key <INS> { [ Insert ] }; 125 key <HOME> { [ Home ] }; 126 key <PGUP> { [ Prior ] }; 127 key <DELE> { [ Delete ] }; 128 key <END> { [ End ] }; 129 key <PGDN> { [ Next ] }; 130 131 key <UP> { [ Up ] }; 132 key <LEFT> { [ Left ] }; 133 key <DOWN> { [ Down ] }; 134 key <RGHT> { [ Right ] }; 135 136 // "Keypad" keys 137 // 138 key <NMLK> { 139 type= "SHIFT+ALT", 140 symbols[Group1]= [ Num_Lock,Pointer_EnableKeys] 141 }; 142 key <KPDV> { [ KP_Divide ] }; 143 key <KPMU> { [ KP_Multiply ] }; 144 key <KPSU> { [ KP_Subtract ] }; 145 146 key <KP7> { [ KP_Home, KP_7 ] }; 147 key <KP8> { [ KP_Up, KP_8 ] }; 148 key <KP9> { [ KP_Prior, KP_9 ] }; 149 key <KPAD> { [ KP_Add ] }; 150 151 key <KP4> { [ KP_Left, KP_4 ] }; 152 key <KP5> { [ KP_5 ] }; 153 key <KP6> { [ KP_Right, KP_6 ] }; 154 155 key <KP1> { [ KP_End, KP_1 ] }; 156 key <KP2> { [ KP_Down, KP_2 ] }; 157 key <KP3> { [ KP_Next, KP_3 ] }; 158 key <KPEN> { [ KP_Enter ] }; 159 160 key <KP0> { [ KP_Insert, KP_0 ] }; 161 key <KPDL> { [ KP_Delete, KP_Decimal ] }; 162 163 // Key to support Lock-Down Modifier descriptions for R5 164 // 165 key <LDM> { [ NoSymbol ] }; 166}; 167 168xkb_symbols "pc104" { 169 include "digital_vndr/pc(pc)" 170 171 replace key <LALT> { [ Alt_L ] }; 172 key <LWIN> { [ Meta_L ] }; 173 key <RWIN> { [ Meta_R ] }; 174 key <MENU> { [ Menu ] }; 175}; 176