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
140
141
142
143
144
145
146
147
148
149
|
// $XKeyboardConfig$
//
// $XFree86: xc/programs/xkbcomp/symbols/pc,v 1.9 2003/06/09 19:59:46 dawes Exp $
default partial alphanumeric_keys modifier_keys
xkb_symbols "pc105" {
key <ESC> { [ Escape ] };
// the extra key on most European keyboards
key <LSGT> { [ less, greater, bar, brokenbar ] };
// these keys are common to all layouts
key <BKSL> { [ backslash, bar ] };
key <SPCE> { [ space ] };
include "pc(function)"
include "pc(editing)"
include "keypad(x11)"
key <BKSP> { [ BackSpace ] };
key <TAB> { [ Tab, ISO_Left_Tab ] };
key <RTRN> { [ Return ] };
key <CAPS> { [ Caps_Lock ] };
key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
key <LFSH> { [ Shift_L ] };
key <LCTL> { [ Control_L ] };
key <LWIN> { [ Super_L ] };
modifier_map Mod4 { <LWIN> };
key <RTSH> { [ Shift_R ] };
key <RCTL> { [ Control_R ] };
key <RWIN> { [ Super_R ] };
modifier_map Mod4 { <RWIN> };
key <MENU> { [ Menu ] };
// begin modifier mappings
modifier_map Shift { Shift_L, Shift_R };
modifier_map Lock { Caps_Lock, ISO_Lock };
modifier_map Control{ Control_L, Control_R };
modifier_map Mod2 { Num_Lock };
// Fake keys for virtual<->real modifiers mapping
key <LVL3> { [ ISO_Level3_Shift ] };
key <MDSW> { [ Mode_switch ] };
modifier_map Mod5 { <LVL3>, <MDSW> };
key <ALT> { [ NoSymbol, Alt_L ] };
include "altwin(meta_alt)"
key <META> { [ NoSymbol, Meta_L ] };
modifier_map Mod1 { <META> };
key <SUPR> { [ NoSymbol, Super_L ] };
modifier_map Mod4 { <SUPR> };
key <HYPR> { [ NoSymbol, Hyper_L ] };
modifier_map Mod4 { <HYPR> };
key <OUTP> { [ XF86Display ] };
key <KITG> { [ XF86KbdLightOnOff ] };
key <KIDN> { [ XF86KbdBrightnessDown ] };
key <KIUP> { [ XF86KbdBrightnessUp ] };
};
partial hidden alphanumeric_keys
xkb_symbols "function" {
key <FK01> {
type="CTRL+ALT",
symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
};
key <FK02> {
type="CTRL+ALT",
symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
};
key <FK03> {
type="CTRL+ALT",
symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
};
key <FK04> {
type="CTRL+ALT",
symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
};
key <FK05> {
type="CTRL+ALT",
symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
};
key <FK06> {
type="CTRL+ALT",
symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
};
key <FK07> {
type="CTRL+ALT",
symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
};
key <FK08> {
type="CTRL+ALT",
symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
};
key <FK09> {
type="CTRL+ALT",
symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
};
key <FK10> {
type="CTRL+ALT",
symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
};
key <FK11> {
type="CTRL+ALT",
symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
};
key <FK12> {
type="CTRL+ALT",
symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
};
};
partial hidden alphanumeric_keys
xkb_symbols "editing" {
key <PRSC> {
type= "PC_ALT_LEVEL2",
symbols[Group1]= [ Print, Sys_Req ]
};
key <SCLK> { [ Scroll_Lock ] };
key <PAUS> {
type= "PC_CONTROL_LEVEL2",
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 ] };
};
|