added Nigerian, b.fd.o#8467
[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     key <LALT> {        [ Alt_L,        Meta_L          ]       };
37     key <LWIN> {        [ Super_L                       ]       };
38
39     key <RTSH> {        [ Shift_R       ]       };
40     key <RCTL> {        [ Control_R     ]       };
41     key <RALT> {        [ Alt_R,        Meta_R          ]       };
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     modifier_map Mod1   { <ALT>, <LALT> };
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
70 partial hidden alphanumeric_keys
71 xkb_symbols "function" {
72     key <FK01> {
73         type="CTRL+ALT",
74         symbols[Group1]= [ F1,  XF86_Switch_VT_1 ]
75     };
76     key <FK02> {
77         type="CTRL+ALT",
78         symbols[Group1]= [ F2,  XF86_Switch_VT_2 ]
79     };
80     key <FK03> {
81         type="CTRL+ALT",
82         symbols[Group1]= [ F3,  XF86_Switch_VT_3 ]
83     };
84     key <FK04> {
85         type="CTRL+ALT",
86         symbols[Group1]= [ F4,  XF86_Switch_VT_4 ]
87     };
88     key <FK05> {
89         type="CTRL+ALT",
90         symbols[Group1]= [ F5,  XF86_Switch_VT_5 ]
91     };
92     key <FK06> {
93         type="CTRL+ALT",
94         symbols[Group1]= [ F6,  XF86_Switch_VT_6 ]
95     };
96     key <FK07> {
97         type="CTRL+ALT",
98         symbols[Group1]= [ F7,  XF86_Switch_VT_7 ]
99     };
100     key <FK08> {
101         type="CTRL+ALT",
102         symbols[Group1]= [ F8,  XF86_Switch_VT_8 ]
103     };
104     key <FK09> {
105         type="CTRL+ALT",
106         symbols[Group1]= [ F9,  XF86_Switch_VT_9 ]
107     };
108     key <FK10> {
109         type="CTRL+ALT",
110         symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
111     };
112     key <FK11> {
113         type="CTRL+ALT",
114         symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
115     };
116     key <FK12> {
117         type="CTRL+ALT",
118         symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
119     };
120 };
121
122 partial hidden alphanumeric_keys
123 xkb_symbols "editing" {
124     key <PRSC> {
125         type= "PC_SYSRQ",
126         symbols[Group1]= [ Print, Sys_Req ]
127     };
128     key <SCLK> {  [  Scroll_Lock        ]       };
129     key <PAUS> {
130         type= "PC_BREAK",
131         symbols[Group1]= [ Pause, Break ]
132     };
133     key  <INS> {        [  Insert               ]       };
134     key <HOME> {        [  Home                 ]       };
135     key <PGUP> {        [  Prior                ]       };
136     key <DELE> {        [  Delete               ]       };
137     key  <END> {        [  End                  ]       };
138     key <PGDN> {        [  Next                 ]       };
139
140     key   <UP> {        [  Up                   ]       };
141     key <LEFT> {        [  Left                 ]       };
142     key <DOWN> {        [  Down                 ]       };
143     key <RGHT> {        [  Right                ]       };
144 };
145