| 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:19 erik |
| 31 |
// use flags correctly, assorted cleanups and consortium fixes |
| 32 |
// |
| 33 |
// Revision 1.1.6.2 1995/12/19 19:56:39 William_Walker |
| 34 |
// Update to XKB 0.65 |
| 35 |
// [1995/12/17 02:37:47 William_Walker] |
| 36 |
// |
| 37 |
// Revision 1.1.2.5 1995/07/11 21:20:50 William_Walker |
| 38 |
// Make RALT act as RALT |
| 39 |
// [1995/07/11 21:18:28 William_Walker] |
| 40 |
// |
| 41 |
// Revision 1.1.2.4 1995/06/27 12:18:41 William_Walker |
| 42 |
// Add LK201 and LK450 support as well as TW and DP variants. |
| 43 |
// [1995/06/26 20:30:37 William_Walker] |
| 44 |
// |
| 45 |
// Revision 1.1.2.3 1995/06/09 20:55:21 William_Walker |
| 46 |
// Add VT105 layout support and ISO group support |
| 47 |
// [1995/06/09 20:43:09 William_Walker] |
| 48 |
// |
| 49 |
// Revision 1.1.2.2 1995/06/05 19:25:04 William_Walker |
| 50 |
// New file. I love keymaps. |
| 51 |
// [1995/06/05 18:17:58 William_Walker] |
| 52 |
// |
| 53 |
// EndLog |
| 54 |
// |
| 55 |
// @(#)RCSfile: vt Revision: /main/3 (DEC) Date: 1996/01/24 12:15:08 |
| 56 |
// |
| 57 |
xkb_symbols "vt105" { |
| 58 |
|
| 59 |
// Modifier mappings |
| 60 |
// |
| 61 |
modifier_map Shift { Shift_L, Shift_R }; |
| 62 |
modifier_map Lock { Caps_Lock }; |
| 63 |
modifier_map Control { Control_L, Control_R }; |
| 64 |
modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R }; |
| 65 |
modifier_map Mod3 { Mode_switch }; |
| 66 |
|
| 67 |
// Common keys |
| 68 |
// |
| 69 |
key <BKSP> { [ Delete ] }; |
| 70 |
key <TAB> { [ Tab ] }; |
| 71 |
key <RTRN> { [ Return ] }; |
| 72 |
key <LCTL> { [ Control_L ] }; |
| 73 |
key <CAPS> { [ Caps_Lock ] }; |
| 74 |
key <LFSH> { [ Shift_L ] }; |
| 75 |
key <RTSH> { [ Shift_R ] }; |
| 76 |
key <LCMP> { [ Alt_L, Meta_L ] }; |
| 77 |
key <SPCE> { [ space ] }; |
| 78 |
|
| 79 |
// "Function" keys |
| 80 |
// |
| 81 |
key <FK01> { [ F1 ] }; |
| 82 |
key <FK02> { [ F2 ] }; |
| 83 |
key <FK03> { [ F3 ] }; |
| 84 |
key <FK04> { [ F4 ] }; |
| 85 |
key <FK05> { [ F5 ] }; |
| 86 |
key <FK06> { [ F6 ] }; |
| 87 |
key <FK07> { [ F7 ] }; |
| 88 |
key <FK08> { [ F8 ] }; |
| 89 |
key <FK09> { [ F9 ] }; |
| 90 |
key <FK10> { [ F10 ] }; |
| 91 |
key <FK11> { [ Escape, F11 ] }; |
| 92 |
key <FK12> { [ F12 ] }; |
| 93 |
key <FK13> { [ F13 ] }; |
| 94 |
key <FK14> { [ F14 ] }; |
| 95 |
key <FK17> { [ F17 ] }; |
| 96 |
key <FK18> { [ F18 ] }; |
| 97 |
key <FK19> { [ F19 ] }; |
| 98 |
key <FK20> { [ F20 ] }; |
| 99 |
|
| 100 |
// "Editing" keys |
| 101 |
// |
| 102 |
key <HELP> { [ Help ] }; |
| 103 |
key <DO> { [ Menu ] }; |
| 104 |
key <FIND> { [ Find ] }; |
| 105 |
key <INS> { [ Insert ] }; |
| 106 |
key <DELE> { [ apLineDel ] }; |
| 107 |
key <SELE> { [ Select ] }; |
| 108 |
key <PGUP> { [ Prior ] }; |
| 109 |
key <PGDN> { [ Next ] }; |
| 110 |
|
| 111 |
key <UP> { [ Up ] }; |
| 112 |
key <LEFT> { [ Left ] }; |
| 113 |
key <DOWN> { [ Down ] }; |
| 114 |
key <RGHT> { [ Right ] }; |
| 115 |
|
| 116 |
// "Keypad" keys |
| 117 |
// |
| 118 |
key <KPF1> { |
| 119 |
type= "SHIFT+ALT", |
| 120 |
symbols[Group1]= [ KP_F1,Pointer_EnableKeys ] |
| 121 |
}; |
| 122 |
key <KPF2> { [ KP_F2 ] }; |
| 123 |
key <KPF3> { [ KP_F3 ] }; |
| 124 |
key <KPF4> { [ KP_F4 ] }; |
| 125 |
|
| 126 |
key <KP7> { [ KP_7 ] }; |
| 127 |
key <KP8> { [ KP_8 ] }; |
| 128 |
key <KP9> { [ KP_9 ] }; |
| 129 |
key <KPSU> { [ KP_Subtract ] }; |
| 130 |
|
| 131 |
key <KP4> { [ KP_4 ] }; |
| 132 |
key <KP5> { [ KP_5 ] }; |
| 133 |
key <KP6> { [ KP_6 ] }; |
| 134 |
key <KPCO> { [ KP_Separator ] }; |
| 135 |
|
| 136 |
key <KP1> { [ KP_1 ] }; |
| 137 |
key <KP2> { [ KP_2 ] }; |
| 138 |
key <KP3> { [ KP_3 ] }; |
| 139 |
key <KPEN> { [ KP_Enter ] }; |
| 140 |
|
| 141 |
key <KP0> { [ KP_0 ] }; |
| 142 |
key <KPDL> { [ KP_Decimal ] }; |
| 143 |
|
| 144 |
// Key to support Lock-Down Modifier descriptions for R5 |
| 145 |
// |
| 146 |
key <LDM> { [ NoSymbol ] }; |
| 147 |
}; |
| 148 |
|
| 149 |
xkb_symbols "vt108" { |
| 150 |
|
| 151 |
include "digital_vndr/vt(vt105)" |
| 152 |
|
| 153 |
replace key <LCMP> { [ Mode_switch ] }; |
| 154 |
|
| 155 |
key <LALT> { [ Alt_L, Meta_L ] }; |
| 156 |
key <RALT> { [ Alt_R, Meta_R ] }; |
| 157 |
key <RCMP> { [ Multi_key ] }; |
| 158 |
}; |