introducing the consistency in the group names
[xorg/xkeyboard-config] / symbols / pl
1 // $XKeyboardConfig$
2
3 // based on a keyboard map from an 'xkb/symbols/pl' file
4 //
5 // $XFree86: xc/programs/xkbcomp/symbols/pl,v 1.3 2003/04/19 12:22:12 pascal Exp $
6
7 partial default alphanumeric_keys
8 xkb_symbols "basic" {
9
10     include "latin"
11
12     name[Group1]="Poland";
13
14     key <AD03>  { [         e,          E,      eogonek,      Eogonek ] };
15     key <AD09>  { [         o,          O,       oacute,       Oacute ] };
16
17     key <AC01>  { [         a,          A,      aogonek,      Aogonek ] };
18     key <AC02>  { [         s,          S,       sacute,       Sacute ] };
19
20     key <AB01>  { [         z,          Z,    zabovedot,    Zabovedot ] };
21     key <AB02>  { [         x,          X,       zacute,       Zacute ] };
22     key <AB03>  { [         c,          C,       cacute,       Cacute ] };
23     key <AB06>  { [         n,          N,       nacute,       Nacute ] };
24
25     include "keypad(comma)"
26
27     include "level3(ralt_switch)"
28 };
29
30 partial alphanumeric_keys
31 xkb_symbols "qwertz" {
32
33     // Describes the differences between a very simple en_US
34     // keyboard and a very simple QWERTZ Polish keybaord
35
36     include "latin(type3)"
37
38     name[Group1]="Poland - qwertz";
39
40     key <AE01>  { [         1,     exclam,   asciitilde,   exclamdown ] };
41     key <AE02>  { [         2,   quotedbl,   dead_caron,    oneeighth ] };
42     key <AE03>  { [         3, numbersign, dead_circumflex,  sterling ] };
43     key <AE04>  { [         4,     dollar,   dead_breve,       dollar ] };
44     key <AE05>  { [         5,    percent,       degree, threeeighths ] };
45     key <AE06>  { [         6,  ampersand,  dead_ogonek,  fiveeighths ] };
46     key <AE07>  { [         7,      slash,   dead_grave, seveneighths ] };
47     key <AE08>  { [         8,  parenleft, dead_abovedot,   trademark ] };
48     key <AE09>  { [         9, parenright,   dead_acute,    plusminus ] };
49     key <AE10>  { [         0,      equal, dead_doubleacute,   degree ] };
50     key <AE11>  { [      plus,   question, dead_diaeresis, questiondown ] };
51     key <AE12>  { [apostrophe,   asterisk, dead_cedilla,  dead_ogonek ] };
52
53     key <AD03>  { [         e,          E,     EuroSign,         cent ] };
54     key <AD11>  { [ zabovedot,     nacute,     division, dead_abovering ] };
55     key <AD12>  { [    sacute,     cacute,     multiply,  dead_macron ] };
56
57     key <AC02>  { [         s,          S,      dstroke,      section ] };
58     key <AC03>  { [         d,          D,      Dstroke,          ETH ] };
59     key <AC08>  { [         k,          K,          kra,    ampersand ] };
60     key <AC09>  { [         l,          L,      lstroke,      Lstroke ] };
61     key <AC10>  { [   lstroke,    Lstroke,       dollar, dead_doubleacute ] };
62     key <AC11>  { [   aogonek,    eogonek,       ssharp,   dead_caron ] };
63     key <TLDE>  { [  abovedot, dead_ogonek,     notsign,      notsign ] };
64
65     key <BKSL>  { [    oacute,     zacute,   dead_grave,   dead_breve ] };
66     key <AB03>  { [         c,          C,         cent,    copyright ] };
67
68     include "keypad(comma)"
69
70     include "level3(ralt_switch)"
71 };
72
73 // Polish Dvorak keymaps
74 // by Rafal Rzepecki <divide@users.sf.net>
75
76 // The base keymap "pl" places Polish quotes on quotemark key and 
77 // moves the dead symbols from there to "1/!" key. If you are used to common 
78 // dead keys placement, you could use "pl_altquotes"; in this layout 
79 // dead keys remain in the old place, whereas Polish quotes are placed on the
80 // "1/!" key. If you do not use Polish quotes at all, you can use "pl_basic" map.
81
82 // Basic Polish keymap (without Polish quotes)
83 partial alphanumeric_keys 
84 xkb_symbols "dvorak" {
85     include "us(dvorak)"
86     
87     name[Group1] = "Poland - Dvorak";
88
89     key <AD08> { [          c,  C,      cacute, Cacute          ]       };
90     key <AD10> { [          l,  L,     lstroke, Lstroke         ]       };
91     key <AC01> { [          a,  A,     aogonek, Aogonek         ]       };
92     key <AC02> { [          o,  O,      oacute, Oacute          ]       };
93     key <AC03> { [          e,  E,     eogonek, Eogonek         ]       };
94     key <AC09> { [          n,  N,      nacute, Nacute          ]       };
95     key <AC10> { [          s,  S,      sacute, Sacute          ]       };
96     key <AB09> { [          v,  V,      zacute, Zacute          ]       };
97     key <AB10> { [          z,  Z,   zabovedot, Zabovedot       ]       };
98     
99     include "keypad(comma)"
100
101     // this to allow writing ALL CAPS with a Shift key
102     include "level3(ralt_switch)"
103
104     // use one of compose:* options to choose Multi_key, if you will,
105     // or layout +level3(ralt_switch_multikey) to revert standard behaviour
106 };
107
108 // Default Polish keymap with Polish quotes on quotemark key
109 partial alphanumeric_keys
110 xkb_symbols "dvorak_quotes" {
111     include "pl(dvorak)"
112     
113     name[Group1] = "Poland - Dvorak, Polish quotes on quotemark key";
114
115     key <AD01> { [  apostrophe, quotedbl, doublelowquotemark, rightdoublequotemark      ] };
116
117     // Dead symbols moved to this key
118     key <AE01> { [          1,  exclam, dead_acute, dead_diaeresis              ]       };
119 };
120
121 // Polish keymap with Polish quotes on key "1/!"
122 partial alphanumeric_keys
123 xkb_symbols "dvorak_altquotes" {
124     include "pl(dvorak)"
125
126     name[Group1] = "Poland - Dvorak, Polish quotes on key 1/!";
127
128     key <AE01> { [          1,  exclam, doublelowquotemark, rightdoublequotemark        ]       };
129 };