Home | History | Annotate | Line # | Download | only in digital_vndr
us revision 1.1
      1 // $Xorg: us,v 1.3 2000/08/17 19:54:44 cpqbld Exp $
      2 //
      3 //Copyright (c) 1996  Digital Equipment Corporation
      4 //
      5 //Permission is hereby granted, free of charge, to any person obtaining
      6 //a copy of this software and associated documentation files (the
      7 //"Software"), to deal in the Software without restriction, including
      8 //without limitation the rights to use, copy, modify, merge, publish,
      9 //distribute, sublicense, and sell copies of the Software, and to
     10 //permit persons to whom the Software is furnished to do so, subject to
     11 //the following conditions:
     12 //
     13 //The above copyright notice and this permission notice shall be included
     14 //in all copies or substantial portions of the Software.
     15 //
     16 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     17 //OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     18 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     19 //IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
     20 //DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
     21 //OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
     22 //THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     23 //
     24 //Except as contained in this notice, the name of the Digital Equipment 
     25 //Corporation shall not be used in advertising or otherwise to promote
     26 //the sale, use or other dealings in this Software without prior written
     27 //authorization from Digital Equipment Corporation.
     28 //
     29 // HISTORY
     30 // Log
     31 // Revision 1.2  1996/06/18  09:10:16  erik
     32 // use flags correctly, assorted cleanups and consortium fixes
     33 //
     34 // Revision 1.1.6.3  1995/12/19  19:56:37  William_Walker
     35 // 	Update to XKB 0.65
     36 // 	[1995/12/17  02:37:44  William_Walker]
     37 //
     38 // Revision 1.1.6.2  1995/10/25  21:01:25  William_Walker
     39 // 	Add pc104-key support
     40 // 	[1995/10/23  15:46:27  William_Walker]
     41 // 
     42 // Revision 1.1.2.7  1995/06/27  12:18:40  William_Walker
     43 // 	Add LK201 and LK450 support as well as TW and DP variants.
     44 // 	[1995/06/26  20:30:33  William_Walker]
     45 // 
     46 // Revision 1.1.2.6  1995/06/09	 20:55:20  William_Walker
     47 // 	Add VT105 layout support and ISO group support
     48 // 	[1995/06/09  20:43:05  William_Walker]
     49 // 
     50 // Revision 1.1.2.5  1995/06/08	 21:05:49  William_Walker
     51 // 	Use ISO_Next_Group instead of grouplock
     52 // 	[1995/06/08  21:03:56  William_Walker]
     53 // 
     54 // Revision 1.1.2.4  1995/06/05	 19:25:00  William_Walker
     55 // 	New file.  I love keymaps.
     56 // 	[1995/06/05  18:17:54  William_Walker]
     57 // 
     58 // EndLog
     59 // 
     60 // @(#)RCSfile: us  Revision: /main/4  (DEC) Date: 1996/01/24 12:15:05 
     61 // 
     62 
     63 // **************************************************************
     64 // *								*
     65 // * Symbols for en_US.ISO8859-1 - English for U.S.		*
     66 // *								*
     67 // **************************************************************
     68 
     69 xkb_symbols "us" {
     70 
     71     key <AE00> {       [	    grave,     asciitilde ] };
     72     key <AE01> {       [		1,	   exclam ] };
     73     key <AE02> {       [		2,	       at ] };
     74     key <AE03> {       [		3,     numbersign ] };
     75     key <AE04> {       [		4,	   dollar ] };
     76     key <AE05> {       [		5,	  percent ] };
     77     key <AE06> {       [		6,    asciicircum ] };
     78     key <AE07> {       [		7,	ampersand ] };
     79     key <AE08> {       [		8,	 asterisk ] };
     80     key <AE09> {       [		9,	parenleft ] };
     81     key <AE10> {       [		0,     parenright ] };
     82     key <AE11> {       [	    minus,     underscore ] };
     83     key <AE12> {       [	    equal,	     plus ] };
     84 
     85     key <AD01> {       [		q,		Q ] };
     86     key <AD02> {       [		w,		W ] };
     87     key <AD03> {       [		e,		E ] };
     88     key <AD04> {       [		r,		R ] };
     89     key <AD05> {       [		t,		T ] };
     90     key <AD06> {       [		y,		Y ] };
     91     key <AD07> {       [		u,		U ] };
     92     key <AD08> {       [		i,		I ] };
     93     key <AD09> {       [		o,		O ] };
     94     key <AD10> {       [		p,		P ] };
     95     key <AD11> {       [      bracketleft,	braceleft ] };
     96     key <AD12> {       [     bracketright,     braceright ] };
     97 
     98     key <AC01> {       [		a,		A ] };
     99     key <AC02> {       [		s,		S ] };
    100     key <AC03> {       [		d,		D ] };
    101     key <AC04> {       [		f,		F ] };
    102     key <AC05> {       [		g,		G ] };
    103     key <AC06> {       [		h,		H ] };
    104     key <AC07> {       [		j,		J ] };
    105     key <AC08> {       [		k,		K ] };
    106     key <AC09> {       [		l,		L ] };
    107     key <AC10> {       [	semicolon,	    colon ] };
    108     key <AC11> {       [       apostrophe,	 quotedbl ] };
    109     key <BKSL> {       [	backslash,	      bar ] };
    110 
    111     key <AB01> {       [		z,		Z ] };
    112     key <AB02> {       [		x,		X ] };
    113     key <AB03> {       [		c,		C ] };
    114     key <AB04> {       [		v,		V ] };
    115     key <AB05> {       [		b,		B ] };
    116     key <AB06> {       [		n,		N ] };
    117     key <AB07> {       [		m,		M ] };
    118     key <AB08> {       [	    comma,	     less ] };
    119     key <AB09> {       [	   period,	  greater ] };
    120     key <AB10> {       [	    slash,	 question ] };
    121 };
    122 
    123 // **************************************************************
    124 // *								*
    125 // * The VT105 layouts						*
    126 // *								*
    127 // * NOTES: The typewriter (TW) and dataprocessing (DP) keys	*
    128 // *	    for the VT108 layout are identical for the US.	*
    129 // *								*
    130 // **************************************************************
    131 xkb_symbols "vt105-tw" {
    132     include "digital_vndr/us(us)"
    133     include "digital_vndr/vt(vt105)"
    134     override key <AE03> { 
    135 	symbols[Group1]= [ 3, numbersign ],
    136 	symbols[Group2]= [ sterling ]
    137     };
    138     key <AB00> {       [	     less,	  greater ] };
    139 };
    140 
    141 xkb_symbols "vt105-dp" { include "digital_vndr/us(vt105-tw)" };
    142 xkb_symbols "vt105"    { include "digital_vndr/us(vt105-tw)" };
    143 
    144 // **************************************************************
    145 // *								*
    146 // * The VT108 layouts - based upon the LK401-AA		*
    147 // *								*
    148 // * NOTES: The typewriter (TW) and dataprocessing (DP) keys	*
    149 // *	    for the VT108 layout are identical for the US.	*
    150 // *								*
    151 // **************************************************************
    152 xkb_symbols "vt108-tw" {
    153     include "digital_vndr/us(us)"
    154     include "digital_vndr/vt(vt108)"
    155     replace key <LCMP> { [ Multi_key ] };
    156     override key <AE03> { 
    157 	symbols[Group1]= [ 3, numbersign ],
    158 	symbols[Group2]= [ sterling ]
    159     };
    160     key <AB00> {       [	     less,	  greater ] };
    161 };
    162 
    163 xkb_symbols "vt108-dp" { include "digital_vndr/us(vt108-tw)" };
    164 xkb_symbols "vt108"    { include "digital_vndr/us(vt108-tw)" };
    165 
    166 // **************************************************************
    167 // *								*
    168 // * The "unix" layouts	- based upon the LK421-AA		*
    169 // *								*
    170 // * NOTES: The "unix" keyboard emits the same keycodes as the	*
    171 // *	    LK401, but is a shorter keyboard that uses an	*
    172 // *	    "extend" key.  To make life easier, we map <AE00>	*
    173 // *	    to Escape so users do not have to press Extend+F11	*
    174 // *	    to get Escape.					*
    175 // *								*
    176 // **************************************************************
    177 xkb_symbols "unix" {
    178     include "digital_vndr/us(vt108)"
    179     override key <AE00>	{ [ Escape ] };
    180     override key <AB00>	{ [ grave, asciitilde ] };
    181 };
    182 
    183 // **************************************************************
    184 // *								*
    185 // * The "pcxal" layouts					*
    186 // *								*
    187 // * NOTES: The pcxal layouts are pretty much standardized for	*
    188 // *	    the US and use a 101-key keyboard.			*
    189 // *								*
    190 // **************************************************************
    191 xkb_symbols "pcxalga" {
    192     include "digital_vndr/pc(pc)"
    193     include "digital_vndr/us(us)"
    194     replace key <RALT> { [ Alt_R, Meta_R ] };
    195 };
    196 
    197 xkb_symbols "pcxal"   { include "digital_vndr/us(pcxalga)" };
    198 xkb_symbols "pcxalaa" { include "digital_vndr/us(pcxalga)" };
    199 xkb_symbols "pcxalfa" { include "digital_vndr/us(pcxalga)" };
    200 xkb_symbols "pcxalka" { include "digital_vndr/us(pcxalga)" };
    201 xkb_symbols "lk44x"   { include "digital_vndr/us(pcxalga)" };
    202 
    203 // **************************************************************
    204 // *								*
    205 // * The "pc104" layouts.					*
    206 // *								*
    207 // **************************************************************
    208 xkb_symbols "pc104" {
    209     include "digital_vndr/pc(pc104)"
    210     include "digital_vndr/us(us)"
    211     replace key <RALT> { [ Alt_R ] };
    212 };
    213