summaryrefslogtreecommitdiff
path: root/xc/programs/xkbcomp/symbols/us
blob: 9e4541805eaea160f0ab9a28c45a8fef0914a70c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// $XConsortium: basic,v 1.3 94/04/08 15:54:51 erik Exp $
xkb_symbols	"us"

//description= "simple US keyboard";

// Alphanumeric section
key <TLDE> {	[ quoteleft,	asciitilde	]	};
key <AE01> {	[	  1,	exclam 		]	};
key <AE02> {	[	  2,	at		]	};
key <AE03> {	[	  3,	numbersign	]	};
key <AE04> {	[	  4,	dollar		]	};
key <AE05> {	[	  5,	percent		]	};
key <AE06> {	[	  6,	asciicircum	]	};
key <AE07> {	[	  7,	ampersand	]	};
key <AE08> {	[	  8,	asterisk	]	};
key <AE09> {	[	  9,	parenleft	]	};
key <AE10> {	[	  0,	parenright	]	};
key <AE11> {	[     minus,	underscore	]	};
key <AE12> {	[     equal,	plus		]	};
key <BKSP> {	[ BackSpace 			]	};

key  <TAB> {	[ 	Tab,	ISO_Left_Tab	]	};
key <AD01> {	[	  q,	Q 		]	};
key <AD02> {	[	  w,	W		]	};
key <AD03> {	[	  e,	E		]	};
key <AD04> {	[	  r,	R		]	};
key <AD05> {	[	  t,	T		]	};
key <AD06> {	[	  y,	Y		]	};
key <AD07> {	[	  u,	U		]	};
key <AD08> {	[	  i,	I		]	};
key <AD09> {	[	  o,	O		]	};
key <AD10> {	[	  p,	P		]	};
key <AD11> {	[ bracketleft,	braceleft	]	};
key <AD12> {	[ bracketright,	braceright	]	};
key <RTRN> {	[ Return			]	};

key <CAPS> {	[	Caps_Lock		]	};
key <AC01> {	[	  a,	A 		]	};
key <AC02> {	[	  s,	S		]	};
key <AC03> {	[	  d,	D		]	};
key <AC04> {	[	  f,	F		]	};
key <AC05> {	[	  g,	G		]	};
key <AC06> {	[	  h,	H		]	};
key <AC07> {	[	  j,	J		]	};
key <AC08> {	[	  k,	K		]	};
key <AC09> {	[	  l,	L		]	};
key <AC10> {	[ semicolon,	colon		]	};
key <AC11> {	[ quoteright,	quotedbl	]	};

key <LFSH> {	[ 	 Shift_L		]	};
key <AB01> {	[	  z,	Z 		]	};
key <AB02> {	[	  x,	X		]	};
key <AB03> {	[	  c,	C		]	};
key <AB04> {	[	  v,	V		]	};
key <AB05> {	[	  b,	B		]	};
key <AB06> {	[	  n,	N		]	};
key <AB07> {	[	  m,	M		]	};
key <AB08> {	[     comma,	less		]	};
key <AB09> {	[    period,	greater		]	};
key <AB10> {	[     slash,	question	]	};
key <RTSH> {	[ 	Shift_R			]	};
key <BKSL> {	[ backslash,	bar		]	};

key <LALT> {	[     Alt_L,    Meta_L		]	};
key <LCTL> {	[ 	 Control_L		]	};
key <SPCE> {	[ 	 space			]	};
key <RCTL> {	[ 	 Control_R		]	};
key <RALT> {	[     Alt_R,    Meta_R		]	};
// End alphanumeric section

// Begin "Function" section
key <FK01> {	[ 	 F1		]	};
key <FK02> {	[	 F2		]	};
key <FK03> {	[	 F3		]	};
key <FK04> {	[	 F4		]	};
key <FK05> {	[	 F5		]	};
key <FK06> {	[	 F6		]	};
key <FK07> {	[	 F7		]	};
key <FK08> {	[	 F8		]	};
key <FK09> {	[        F9		]	};
key <FK10> {	[        F10		]	};
key <FK11> {	[        F11		]	};
key <FK12> {	[ 	 F12		]	};
// End "Function" section

// Begin "Editing" section
key <PRSC> {
	type= "PC_SYSRQ",
	symbols[Group1]= [ Print, Execute ]
};
key <SCLK> {  [  Scroll_Lock	]	};
key <PAUS> {
	type= "PC_BREAK",
	symbols[Group1]= [ Pause, Break ]
};
key  <INS> {  [  Insert		]	};
key <HOME> {	[  Home			]	};
key <PGUP> {	[  Prior		]	};
key <DELE> {	[  Delete		]	};
key  <END> {	[  End			]	};
key <PGDN> {	[  Next			]	};

key   <UP> {	[  Up			]	};
key <LEFT> {	[  Left			]	};
key <DOWN> {	[  Down			]	};
key <RGHT> {	[  Right		]	};

// End "Editing" section, begin "Keypad"
key <NMLK> {	[  Num_Lock		]	};
key <KPDV> {	[  KP_Divide		]	};
key <KPMU> {	[  KP_Multiply		]	};
key <KPSU> {	[  KP_Subtract		]	};

key  <KP7> {	[  KP_Home,	KP_7	]	};
key  <KP8> {	[  KP_Up,	KP_8	]	};
key  <KP9> {	[  KP_Prior,	KP_9	]	};
key <KPAD> {	[  	KP_Add		]	};

key  <KP4> {	[  KP_Left,	KP_4	]	};
key  <KP5> {	[  KP_Begin,	KP_5	]	};
key  <KP6> {	[  KP_Right,	KP_6	]	};

key  <KP1> {	[  KP_End,	KP_1	]	};
key  <KP2> {	[  KP_Down,	KP_2	]	};
key  <KP3> {	[  KP_Next,	KP_3	]	};
key <KPEN> {	[  	KP_Enter	]	};

key  <KP0> {	[  KP_Insert,	KP_0	]	};
key <KPDL> {  [  KP_Delete,	KP_Decimal ]	};
// End "Keypad" section


// begin modifier mappings
modifier_map Shift  { Shift_L, Shift_R, Shift_Lock, ISO_Level2_Latch };
modifier_map Lock   { Caps_Lock, ISO_Lock };
modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
modifier_map Mod2   { Num_Lock };
modifier_map Mod3   { ISO_Level3_Shift, ISO_Level3_Latch };
modifier_map Mod4   { Mode_switch };