2 // $XFree86: xc/programs/xkbcomp/symbols/ro,v 1.6 2003/09/08 13:12:51 pascal Exp $
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
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).
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 // Updated by Alexandru Szasz, <alexxed@gmail.com>
22 default partial alphanumeric_keys
25 // This RO_US/Programmers layout, although the secondary layout in the
26 // Romanian standard, has always been the "de facto" standard in the
27 // Linux/Unix world. It is implemented here as the default layout and it's
28 // fully compatible with an US keyboard (Euro on AltGr+5 doesn't count).
32 name[Group1]="Romania";
34 key <AE01> { [ 1, exclam, dead_tilde ] };
35 key <AE02> { [ 2, at, dead_caron ] };
36 key <AE03> { [ 3, numbersign, dead_circumflex ] };
37 key <AE04> { [ 4, dollar, dead_breve ] };
38 key <AE05> { [ 5, percent, dead_abovering ] };
39 key <AE06> { [ 6, asciicircum, dead_ogonek ] };
40 key <AE07> { [ 7, ampersand, dead_grave ] };
41 key <AE08> { [ 8, asterisk, dead_abovedot ] };
42 key <AE09> { [ 9, parenleft, dead_acute ] };
43 key <AE10> { [ 0, parenright, dead_doubleacute ] };
44 key <AE11> { [ minus, underscore, dead_diaeresis, endash ] };
45 key <AE12> { [ equal, plus, dead_cedilla, plusminus ] };
46 key <AD01> { [ q, Q, acircumflex, Acircumflex ] };
47 key <AD02> { [ w, W, ssharp ] };
48 key <AD03> { [ e, E, EuroSign ] };
49 key <AD05> { [ t, T, 0x100021b, 0x100021a ] };
50 key <AD08> { [ i, I, icircumflex, Icircumflex ] };
51 key <AD10> { [ p, P, section ] };
52 key <AD11> { [ bracketleft, braceleft, doublelowquotemark ] };
53 key <AD12> { [ bracketright, braceright, rightdoublequotemark ] };
54 key <AC01> { [ a, A, abreve, Abreve ] };
55 key <AC02> { [ s, S, 0x1000219, 0x1000218 ] };
56 key <AC03> { [ d, D, dstroke, Dstroke ] };
57 key <AC09> { [ l, L, lstroke, Lstroke ] };
58 key <LSGT> { [ backslash, bar ] };
59 key <AB03> { [ c, C, copyright ] };
60 key <AB08> { [ comma, less, guillemotleft ] };
61 key <AB09> { [ period, greater, guillemotright ] };
63 include "level3(ralt_switch)"
66 partial alphanumeric_keys
67 xkb_symbols "cedilla" {
68 // Variant of the basic layout with cedilla below for historical reference only
69 // Implements the old wrong S and T with cedilla
73 name[Group1]="Romania - Cedilla below";
75 key <AC02> { [ s, S, scedilla, Scedilla ] };
76 key <AD05> { [ t, T, tcedilla, Tcedilla ] };
79 partial alphanumeric_keys
81 // Primary layout in the new Romanian standard.
82 // Implemented here as a variant because of the lack of hardware
83 // Romanian keyboards and because of the predilection of Romanian
84 // X users towards the secondary layout from the new standard.
88 name[Group1]="Romania - Standard";
90 key <TLDE> { [ doublelowquotemark, rightdoublequotemark, grave, asciitilde ] };
91 key <AE01> { [ 1, exclam, dead_tilde ] };
92 key <AE02> { [ 2, at, dead_caron ] };
93 key <AE03> { [ 3, numbersign, dead_circumflex ] };
94 key <AE04> { [ 4, dollar, dead_breve ] };
95 key <AE05> { [ 5, percent, dead_abovering ] };
96 key <AE06> { [ 6, asciicircum, dead_ogonek ] };
97 key <AE07> { [ 7, ampersand, dead_grave ] };
98 key <AE08> { [ 8, asterisk, dead_abovedot ] };
99 key <AE09> { [ 9, parenleft, dead_acute ] };
100 key <AE10> { [ 0, parenright, dead_doubleacute ] };
101 key <AE11> { [ minus, underscore, dead_diaeresis, endash ] };
102 key <AE12> { [ equal, plus, dead_cedilla, plusminus ] };
103 key <AD03> { [ e, E, EuroSign ] };
104 key <AD10> { [ p, P, section ] };
105 key <AD11> { [ abreve, Abreve, bracketleft, braceleft ] };
106 key <AD12> { [ icircumflex, Icircumflex, bracketright, braceright ] };
107 key <BKSL> { [ acircumflex, Acircumflex, backslash, bar ] };
108 key <AC02> { [ s, S, ssharp ] };
109 key <AC03> { [ d, D, dstroke, Dstroke ] };
110 key <AC09> { [ l, L, lstroke, Lstroke ] };
111 key <AC10> { [ 0x1000219, 0x1000218, semicolon, colon ] };
112 key <AC11> { [ 0x100021b, 0x100021a, apostrophe, quotedbl ] };
113 key <LSGT> { [ backslash, bar ] };
114 key <AB03> { [ c, C, copyright ] };
115 key <AB08> { [ comma, semicolon, less, guillemotleft ] };
116 key <AB09> { [ period, colon, greater, guillemotright ] };
118 key <KPDL> { [ KP_Delete, KP_Separator ] };
120 include "level3(ralt_switch)"
124 partial alphanumeric_keys
125 xkb_symbols "std_cedilla" {
126 // Academic variant of the standard layout with WRONG cedilla below for historical reference
127 // Implements old S and T with cedilla below
131 name[Group1]="Romania - Standard (Cedilla below)";
134 key <AC10> { [ scedilla, Scedilla, semicolon, colon ] };
135 key <AC11> { [ tcedilla, Tcedilla, apostrophe, quotedbl ] };
139 partial alphanumeric_keys
140 xkb_symbols "winkeys" {
141 // Describes the differences between a very simple US/ASCII
142 // keyboard and a very simple Romanian keybaord
143 // Created by Manfred Pohler, <Manfred.Pohler@t-online.de> (C) 2003
147 name[Group1]="Romania - Winkeys";
149 // Alphanumeric section
150 key <TLDE> { [ bracketright, bracketleft ] };
152 key <AE01> { [ 1, exclam, asciitilde, asciitilde ] };
153 key <AE02> { [ 2, quotedbl, at, at ] };
154 key <AE03> { [ 3, numbersign, asciicircum,asciicircum ] };
155 key <AE04> { [ 4, currency ] };
156 key <AE05> { [ 5, percent, degree, degree ] };
157 key <AE06> { [ 6, ampersand ] };
158 key <AE07> { [ 7, slash, grave, grave ] };
159 key <AE08> { [ 8, parenleft ] };
160 key <AE09> { [ 9, parenright ] };
161 key <AE10> { [ 0, equal ] };
162 key <AE11> { [ plus, question ] };
163 key <AE12> { [ apostrophe, asterisk ] };
165 key <AD01> { [ q, Q, backslash, backslash ] };
166 key <AD02> { [ w, W, bar, bar ] };
167 key <AD03> { [ e, E, EuroSign, EuroSign ] };
168 key <AD05> { [ t, T ] };
169 key <AD06> { [ z, Z ] };
170 key <AD07> { [ u, U ] };
171 key <AD08> { [ i, I ] };
172 key <AD11> { [ abreve, Abreve, division, division ] };
173 key <AD12> { [ icircumflex, Icircumflex, multiply, multiply ] };
175 key <AC04> { [ f, F ] };
176 key <AC05> { [ g, G ] };
177 key <AC10> { [ scedilla, Scedilla, dollar, dollar ] };
178 key <AC11> { [ tcedilla, Tcedilla, ssharp, ssharp ] };
180 key <AB01> { [ y, Y ] };
181 key <AB05> { [ b, B, braceleft, braceleft ] };
182 key <AB06> { [ n, N, braceright, braceright ] };
183 key <AB07> { [ m, M, section, section ] };
184 key <AB08> { [ comma, semicolon, less, less ] };
185 key <AB09> { [ period, colon, greater, greater ] };
186 key <AB10> { [ minus, underscore ] };
188 key <BKSL> { [ acircumflex, Acircumflex ] };
190 // End alphanumeric section, begin "Keypad"
191 include "kpdl(comma)"
192 // End "Keypad" section
194 include "level3(ralt_switch)"