missing group names
[xorg/xkeyboard-config] / symbols / ro
1 // $XKeyboardConfig$
2 // $XFree86: xc/programs/xkbcomp/symbols/ro,v 1.6 2003/09/08 13:12:51 pascal Exp $
3 //
4 // Complete set of Romanian keyboards as described in the new Romanian standard
5 // SR 13392:2004 adopted in December 2004 by ASRO, "Asociatia de Standardizare 
6 // din Romania".
7 // 
8 // The default mapping is the RO_US/Programmers layout because of the lack of 
9 // Romanian hardware keyboards. The primary standard layout is implemented as 
10 // the "std" variant. If you're really determined to get commas bellow as in 
11 // ISO-8859-16 (and not cedillas as in ISO-8859-2) use the already defined 
12 // variants: "comma" for the default layout or "academic" for the standard one.
13 // MS compatible layout included (use the "winkeys" variant).
14 // 
15 // Created by Cristian Gafton, <gafton@redhat.com> (C) 2000
16 // Modified by Marius Andreiana, <mandreiana@yahoo.com> (C) 2001
17 // Completed by Misu Moldovan, <dumol@gnome.ro> (C) 2001, 2004-2006.
18 // v 1.2
19
20
21 default partial alphanumeric_keys
22
23 xkb_symbols "basic" {
24 // This RO_US/Programmers layout, although the secondary layout in the 
25 // Romanian standard, has always been the "de facto" standard in the 
26 // Linux/Unix world. It is implemented here as the default layout and it's
27 // fully compatible with an US keyboard (Euro on AltGr+5 doesn't count).
28
29     include "us"
30
31     name[Group1]="Romania";
32
33     key <AE01> { [ 1,                 exclam,  dead_tilde                 ] };
34     key <AE02> { [ 2,                     at,  dead_caron                 ] };
35     key <AE03> { [ 3,             numbersign,  dead_circumflex            ] };
36     key <AE04> { [ 4,                 dollar,  dead_breve                 ] };
37     key <AE05> { [ 5,                percent,  dead_abovering             ] };
38     key <AE06> { [ 6,            asciicircum,  dead_ogonek                ] };
39     key <AE07> { [ 7,              ampersand,  dead_grave                 ] };
40     key <AE08> { [ 8,               asterisk,  dead_abovedot              ] };
41     key <AE09> { [ 9,              parenleft,  dead_acute                 ] };
42     key <AE10> { [ 0,             parenright,  dead_doubleacute           ] };
43     key <AE11> { [ minus,         underscore,  dead_diaeresis,     endash ] };
44     key <AE12> { [ equal,               plus,  dead_cedilla,    plusminus ] };
45     key <AD01> { [ q,                      Q,  acircumflex,   Acircumflex ] };
46     key <AD02> { [ w,                      W,  ssharp                     ] };
47     key <AD03> { [ e,                      E,  EuroSign                   ] };
48     key <AD05> { [ t,                      T,  tcedilla,         Tcedilla ] };
49     key <AD08> { [ i,                      I,  icircumflex,   Icircumflex ] };
50     key <AD10> { [ p,                      P,  section                    ] };
51     key <AD11> { [ bracketleft,    braceleft,  doublelowquotemark         ] };
52     key <AD12> { [ bracketright,  braceright,  rightdoublequotemark       ] };
53     key <AC01> { [ a,                      A,  abreve,             Abreve ] };
54     key <AC02> { [ s,                      S,  scedilla,         Scedilla ] };
55     key <AC03> { [ d,                      D,  dstroke,           Dstroke ] };
56     key <AC09> { [ l,                      L,  lstroke,           Lstroke ] };
57     key <LSGT> { [ backslash,            bar                              ] };
58     key <AB03> { [ c,                      C,  copyright                  ] };
59     key <AB08> { [ comma,               less,  guillemotleft              ] };
60     key <AB09> { [ period,           greater,  guillemotright             ] };
61
62     include "level3(ralt_switch)"
63 };
64
65 partial alphanumeric_keys
66 xkb_symbols "comma" {
67     // Variant of the basic layout with comma below.
68     // Implements S and T with comma bellow as in ISO-8859-16.
69     // Hopefully these should become mainstream in the near future.
70     // For now it's just an odd variant (although the correct one).
71
72     include "ro(basic)"
73
74     name[Group1]="Romania - Commabelow";
75
76     key <AD05>  { [ t,                     T,  0x100021b,       0x100021a ] };
77     key <AC02>  { [ s,                     S,  0x1000219,       0x1000218 ] };
78 };
79
80 partial alphanumeric_keys
81 xkb_symbols "std" {
82     // Primary layout in the new Romanian standard.
83     // Implemented here as a variant because of the lack of hardware 
84     // Romanian keyboards and because of the predilection of Romanian
85     // X users towards the secondary layout from the new standard.
86
87     include "us"
88
89     name[Group1]="Romania - Standard";
90
91     key <TLDE> { [ doublelowquotemark, rightdoublequotemark, grave, asciitilde ] };
92     key <AE01> { [ 1,                 exclam,  dead_tilde                 ] };
93     key <AE02> { [ 2,                     at,  dead_caron                 ] };
94     key <AE03> { [ 3,             numbersign,  dead_circumflex            ] };
95     key <AE04> { [ 4,                 dollar,  dead_breve                 ] };
96     key <AE05> { [ 5,                percent,  dead_abovering             ] };
97     key <AE06> { [ 6,            asciicircum,  dead_ogonek                ] };
98     key <AE07> { [ 7,              ampersand,  dead_grave                 ] };
99     key <AE08> { [ 8,               asterisk,  dead_abovedot              ] };
100     key <AE09> { [ 9,              parenleft,  dead_acute                 ] };
101     key <AE10> { [ 0,             parenright,  dead_doubleacute           ] };
102     key <AE11> { [ minus,         underscore,  dead_diaeresis,     endash ] };
103     key <AE12> { [ equal,               plus,  dead_cedilla,    plusminus ] };
104     key <AD03> { [ e,                      E,  EuroSign                   ] };
105     key <AD10> { [ p,                      P,  section                    ] };
106     key <AD11> { [ abreve,            Abreve,  bracketleft,     braceleft ] };
107     key <AD12> { [ icircumflex,  Icircumflex,  bracketright,   braceright ] };
108     key <BKSL> { [ acircumflex,  Acircumflex,  backslash,             bar ] };
109     key <AC02> { [ s,                      S,  ssharp                     ] };
110     key <AC03> { [ d,                      D,  dstroke,           Dstroke ] };
111     key <AC09> { [ l,                      L,  lstroke,           Lstroke ] };
112     key <AC10> { [ scedilla,        Scedilla,  semicolon,           colon ] };
113     key <AC11> { [ tcedilla,        Tcedilla,  apostrophe,       quotedbl ] };
114     key <LSGT> { [ backslash,            bar                              ] };
115     key <AB03> { [ c,                      C,  copyright                  ] };
116     key <AB08> { [ comma,          semicolon,  less,        guillemotleft ] };
117     key <AB09> { [ period,             colon,  greater,    guillemotright ] };
118
119     key <KPDL> { [ KP_Delete,   KP_Separator ] };
120
121     include "level3(ralt_switch)"
122 };
123
124
125 partial alphanumeric_keys
126 xkb_symbols "academic" {
127     // Academic variant of the standard layout with comma bellow.
128     // Implements S and T with comma bellow as in ISO-8859-16.
129     // Hopefully these should become mainstream in a few years.
130     // For now it's the oddest variant (although the perfect one).
131
132     include "ro(std)"
133
134     name[Group1]="Romania - Standard (Commabelow)";
135
136     key <AC10> { [ 0x1000219,      0x1000218 ] };
137     key <AC11> { [ 0x100021b,      0x100021a ] };
138 };
139
140
141 partial alphanumeric_keys
142 xkb_symbols "winkeys" {
143     // Describes the differences between a very simple US/ASCII
144     // keyboard and a very simple Romanian keybaord
145     // Created by Manfred Pohler, <Manfred.Pohler@t-online.de> (C) 2003
146
147     include "latin"
148
149     name[Group1]="Romania - Winkeys";
150
151     // Alphanumeric section
152     key <TLDE> { [ bracketright, bracketleft            ]       };
153
154     key <AE01> { [            1,      exclam,  asciitilde, asciitilde   ] };
155     key <AE02> { [            2,    quotedbl,          at,         at   ] };
156     key <AE03> { [            3,  numbersign, asciicircum,asciicircum   ] };
157     key <AE04> { [            4,    currency            ]       };
158     key <AE05> { [            5,     percent,      degree,     degree   ] };
159     key <AE06> { [            6,   ampersand            ]       };
160     key <AE07> { [            7,       slash,       grave,      grave   ] };
161     key <AE08> { [            8,   parenleft            ]       };
162     key <AE09> { [            9,  parenright            ]       };
163     key <AE10> { [            0,       equal            ]       };
164     key <AE11> { [         plus,    question            ]       };
165     key <AE12> { [   apostrophe,    asterisk            ]       };
166
167     key <AD01> { [           q,           Q,    backslash,  backslash   ] };
168     key <AD02> { [           w,           W,          bar,        bar   ] };
169     key <AD03> { [           e,           E,     EuroSign,   EuroSign   ] };
170     key <AD05> { [           t,           T             ]       };
171     key <AD06> { [           z,           Z             ]       };
172     key <AD07> { [           u,           U             ]       };
173     key <AD08> { [           i,           I             ]       };
174     key <AD11> { [      abreve,      Abreve,     division,   division   ] };
175     key <AD12> { [ icircumflex, Icircumflex,     multiply,   multiply   ] };
176
177     key <AC04> { [           f,           F             ]       };
178     key <AC05> { [           g,           G             ]       };
179     key <AC10> { [    scedilla,    Scedilla,       dollar,     dollar   ] };
180     key <AC11> { [    tcedilla,    Tcedilla,       ssharp,     ssharp   ] };
181
182     key <AB01> { [           y,           Y             ]       };
183     key <AB05> { [           b,           B,    braceleft,  braceleft   ] };
184     key <AB06> { [           n,           N,   braceright, braceright   ] };
185     key <AB07> { [           m,           M,      section,    section   ] };
186     key <AB08> { [       comma,   semicolon,         less,       less   ] };
187     key <AB09> { [      period,       colon,      greater,    greater   ] };
188     key <AB10> { [       minus,  underscore             ]       };
189
190     key <BKSL> { [ acircumflex, Acircumflex             ]       };
191
192     // End alphanumeric section, begin "Keypad"
193     include "kpdl(comma)"
194     // End "Keypad" section
195
196     include "level3(ralt_switch)"
197
198 };