Dropped unneeded lt(dvorak)
[xorg/xkeyboard-config] / symbols / pc
1 default partial alphanumeric_keys modifier_keys 
2 xkb_symbols "pc105" {
3
4     key <ESC>  {        [ Escape                        ]       };
5
6     // the extra key on most European keyboards
7     key <LSGT> {        [      less,    greater,          bar,    brokenbar ]   };
8
9     // these keys are common to all layouts
10     key <BKSL> {        [ backslash,    bar             ]       };
11     key <SPCE> {        [        space                  ]       };
12
13     include "pc(function)"
14     include "pc(editing)"
15     include "keypad(x11)"
16
17     key <BKSP> {        [ BackSpace     ]       };
18
19     key  <TAB> {        [ Tab,  ISO_Left_Tab    ]       };
20     key <RTRN> {        [ Return        ]       };
21
22     key <CAPS> {        [ Caps_Lock     ]       };
23
24     key <NMLK> {        [ Num_Lock      ]       };
25
26     key <LFSH> {        [ Shift_L       ]       };
27     key <LCTL> {        [ Control_L     ]       };
28
29     key <LWIN> {        [ Super_L                       ]       };
30
31     key <RTSH> {        [ Shift_R       ]       };
32     key <RCTL> {        [ Control_R     ]       };
33
34     key <RWIN> {        [ Super_R                       ]       };
35
36     key <MENU> {        [ Menu                  ]       };
37
38     // begin modifier mappings
39     modifier_map Shift  { Shift_L, Shift_R };
40     modifier_map Lock   { Caps_Lock, ISO_Lock };
41     modifier_map Control{ Control_L, Control_R };
42     modifier_map Mod2   { Num_Lock };
43     modifier_map Mod4   { Super_L, Super_R };
44
45     //  Fake keys for virtual<->real modifiers mapping 
46     key <LVL3> {        [ ISO_Level3_Shift      ]       };
47     key <MDSW> {        [ Mode_switch           ]       };
48     modifier_map Mod5   { <LVL3>, <MDSW> };
49
50     key <ALT>  {        [ NoSymbol, Alt_L       ]       };
51     include "altwin(meta_alt)"
52
53     key <META> {        [ NoSymbol, Meta_L      ]       };
54     modifier_map Mod1   { <META> };
55
56     key <SUPR> {        [ NoSymbol, Super_L     ]       };
57     modifier_map Mod4   { <SUPR> };
58
59     key <HYPR> {        [ NoSymbol, Hyper_L     ]       };
60     modifier_map Mod4   { <HYPR> };
61
62     key <OUTP> { [ XF86Display ] };
63     key <KITG> { [ XF86KbdLightOnOff ] };
64     key <KIDN> { [ XF86KbdBrightnessDown ] };
65     key <KIUP> { [ XF86KbdBrightnessUp ] };
66 };
67
68 partial hidden alphanumeric_keys
69 xkb_symbols "function" {
70     key <FK01> {
71         type="CTRL+ALT",
72         symbols[Group1]= [ F1,  XF86_Switch_VT_1 ]
73     };
74     key <FK02> {
75         type="CTRL+ALT",
76         symbols[Group1]= [ F2,  XF86_Switch_VT_2 ]
77     };
78     key <FK03> {
79         type="CTRL+ALT",
80         symbols[Group1]= [ F3,  XF86_Switch_VT_3 ]
81     };
82     key <FK04> {
83         type="CTRL+ALT",
84         symbols[Group1]= [ F4,  XF86_Switch_VT_4 ]
85     };
86     key <FK05> {
87         type="CTRL+ALT",
88         symbols[Group1]= [ F5,  XF86_Switch_VT_5 ]
89     };
90     key <FK06> {
91         type="CTRL+ALT",
92         symbols[Group1]= [ F6,  XF86_Switch_VT_6 ]
93     };
94     key <FK07> {
95         type="CTRL+ALT",
96         symbols[Group1]= [ F7,  XF86_Switch_VT_7 ]
97     };
98     key <FK08> {
99         type="CTRL+ALT",
100         symbols[Group1]= [ F8,  XF86_Switch_VT_8 ]
101     };
102     key <FK09> {
103         type="CTRL+ALT",
104         symbols[Group1]= [ F9,  XF86_Switch_VT_9 ]
105     };
106     key <FK10> {
107         type="CTRL+ALT",
108         symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
109     };
110     key <FK11> {
111         type="CTRL+ALT",
112         symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
113     };
114     key <FK12> {
115         type="CTRL+ALT",
116         symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
117     };
118 };
119
120 partial hidden alphanumeric_keys
121 xkb_symbols "editing" {
122     key <PRSC> {
123         type= "PC_ALT_LEVEL2",
124         symbols[Group1]= [ Print, Sys_Req ]
125     };
126     key <SCLK> {  [  Scroll_Lock        ]       };
127     key <PAUS> {
128         type= "PC_CONTROL_LEVEL2",
129         symbols[Group1]= [ Pause, Break ]
130     };
131     key  <INS> {        [  Insert               ]       };
132     key <HOME> {        [  Home                 ]       };
133     key <PGUP> {        [  Prior                ]       };
134     key <DELE> {        [  Delete               ]       };
135     key  <END> {        [  End                  ]       };
136     key <PGDN> {        [  Next                 ]       };
137
138     key   <UP> {        [  Up                   ]       };
139     key <LEFT> {        [  Left                 ]       };
140     key <DOWN> {        [  Down                 ]       };
141     key <RGHT> {        [  Right                ]       };
142 };