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