rules: make pc105 an inetkbd, with media_nav_acpi_common.
[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     modifier_map Mod4   { <LWIN> };
39
40     key <RTSH> {        [ Shift_R       ]       };
41     key <RCTL> {        [ Control_R     ]       };
42
43     key <RWIN> {        [ Super_R                       ]       };
44     modifier_map Mod4   { <RWIN> };
45
46     key <MENU> {        [ Menu                  ]       };
47
48     // begin modifier mappings
49     modifier_map Shift  { Shift_L, Shift_R };
50     modifier_map Lock   { Caps_Lock, ISO_Lock };
51     modifier_map Control{ Control_L, Control_R };
52     modifier_map Mod2   { Num_Lock };
53
54     //  Fake keys for virtual<->real modifiers mapping 
55     key <LVL3> {        [ ISO_Level3_Shift      ]       };
56     key <MDSW> {        [ Mode_switch           ]       };
57     modifier_map Mod5   { <LVL3>, <MDSW> };
58
59     key <ALT>  {        [ NoSymbol, Alt_L       ]       };
60     include "altwin(meta_alt)"
61
62     key <META> {        [ NoSymbol, Meta_L      ]       };
63     modifier_map Mod1   { <META> };
64
65     key <SUPR> {        [ NoSymbol, Super_L     ]       };
66     modifier_map Mod4   { <SUPR> };
67
68     key <HYPR> {        [ NoSymbol, Hyper_L     ]       };
69     modifier_map Mod4   { <HYPR> };
70
71     key <OUTP> { [ XF86Display ] };
72     key <KITG> { [ XF86KbdLightOnOff ] };
73     key <KIDN> { [ XF86KbdBrightnessDown ] };
74     key <KIUP> { [ XF86KbdBrightnessUp ] };
75 };
76
77 partial hidden alphanumeric_keys
78 xkb_symbols "function" {
79     key <FK01> {
80         type="CTRL+ALT",
81         symbols[Group1]= [ F1,  XF86_Switch_VT_1 ]
82     };
83     key <FK02> {
84         type="CTRL+ALT",
85         symbols[Group1]= [ F2,  XF86_Switch_VT_2 ]
86     };
87     key <FK03> {
88         type="CTRL+ALT",
89         symbols[Group1]= [ F3,  XF86_Switch_VT_3 ]
90     };
91     key <FK04> {
92         type="CTRL+ALT",
93         symbols[Group1]= [ F4,  XF86_Switch_VT_4 ]
94     };
95     key <FK05> {
96         type="CTRL+ALT",
97         symbols[Group1]= [ F5,  XF86_Switch_VT_5 ]
98     };
99     key <FK06> {
100         type="CTRL+ALT",
101         symbols[Group1]= [ F6,  XF86_Switch_VT_6 ]
102     };
103     key <FK07> {
104         type="CTRL+ALT",
105         symbols[Group1]= [ F7,  XF86_Switch_VT_7 ]
106     };
107     key <FK08> {
108         type="CTRL+ALT",
109         symbols[Group1]= [ F8,  XF86_Switch_VT_8 ]
110     };
111     key <FK09> {
112         type="CTRL+ALT",
113         symbols[Group1]= [ F9,  XF86_Switch_VT_9 ]
114     };
115     key <FK10> {
116         type="CTRL+ALT",
117         symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
118     };
119     key <FK11> {
120         type="CTRL+ALT",
121         symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
122     };
123     key <FK12> {
124         type="CTRL+ALT",
125         symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
126     };
127 };
128
129 partial hidden alphanumeric_keys
130 xkb_symbols "editing" {
131     key <PRSC> {
132         type= "PC_ALT_LEVEL2",
133         symbols[Group1]= [ Print, Sys_Req ]
134     };
135     key <SCLK> {  [  Scroll_Lock        ]       };
136     key <PAUS> {
137         type= "PC_CONTROL_LEVEL2",
138         symbols[Group1]= [ Pause, Break ]
139     };
140     key  <INS> {        [  Insert               ]       };
141     key <HOME> {        [  Home                 ]       };
142     key <PGUP> {        [  Prior                ]       };
143     key <DELE> {        [  Delete               ]       };
144     key  <END> {        [  End                  ]       };
145     key <PGDN> {        [  Next                 ]       };
146
147     key   <UP> {        [  Up                   ]       };
148     key <LEFT> {        [  Left                 ]       };
149     key <DOWN> {        [  Down                 ]       };
150     key <RGHT> {        [  Right                ]       };
151 };
152