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 "standard" variant. If you're 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 "ms" 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, 2005.
21 default partial alphanumeric_keys
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).
31 name[Group1]="Romania";
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 ] };
62 include "level3(ralt_switch)"
65 partial alphanumeric_keys
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).
74 key <AD05> { [ t, T, 0x100021b, 0x100021a ] };
75 key <AC02> { [ s, S, 0x1000219, 0x1000218 ] };
78 partial alphanumeric_keys
80 // Primary layout in the new Romanian standard.
81 // Implemented here as a variant because of the lack of hardware
82 // Romanian keyboards and because of the predilection of Romanian
83 // X users towards the secondary layout from the new standard.
87 name[Group1]="Romania - Standard";
89 key <TLDE> { [ doublelowquotemark, rightdoublequotemark, grave, asciitilde ] };
90 key <AE01> { [ 1, exclam, dead_tilde ] };
91 key <AE02> { [ 2, at, dead_caron ] };
92 key <AE03> { [ 3, numbersign, dead_circumflex ] };
93 key <AE04> { [ 4, dollar, dead_breve ] };
94 key <AE05> { [ 5, percent, dead_abovering ] };
95 key <AE06> { [ 6, asciicircum, dead_ogonek ] };
96 key <AE07> { [ 7, ampersand, dead_grave ] };
97 key <AE08> { [ 8, asterisk, dead_abovedot ] };
98 key <AE09> { [ 9, parenleft, dead_acute ] };
99 key <AE10> { [ 0, parenright, dead_doubleacute ] };
100 key <AE11> { [ minus, underscore, dead_diaeresis, endash ] };
101 key <AE12> { [ equal, plus, dead_cedilla, plusminus ] };
102 key <AD03> { [ e, E, EuroSign ] };
103 key <AD10> { [ p, P, section ] };
104 key <AD11> { [ abreve, Abreve, bracketleft, braceleft ] };
105 key <AD12> { [ icircumflex, Icircumflex, bracketright, braceright ] };
106 key <BKSL> { [ acircumflex, Acircumflex, backslash, bar ] };
107 key <AC02> { [ s, S, ssharp ] };
108 key <AC03> { [ d, D, dstroke, Dstroke ] };
109 key <AC09> { [ l, L, lstroke, Lstroke ] };
110 key <AC10> { [ scedilla, Scedilla, semicolon, colon ] };
111 key <AC11> { [ tcedilla, Tcedilla, apostrophe, quotedbl ] };
112 key <LSGT> { [ backslash, bar ] };
113 key <AB03> { [ c, C, copyright ] };
114 key <AB08> { [ comma, semicolon, less, guillemotleft ] };
115 key <AB09> { [ period, colon, greater, guillemotright ] };
117 key <KPDL> { [ KP_Delete, KP_Separator ] };
119 include "level3(ralt_switch)"
123 partial alphanumeric_keys
124 xkb_symbols "academic" {
125 // Academic variant of the standard layout with comma bellow.
126 // Implements S and T with comma bellow as in ISO-8859-16.
127 // Hopefully these diacritics should become mainstream in a few years.
128 // For now it's the oddest variant (although the perfect one).
130 include "ro(standard)"
132 key <AC10> { [ 0x1000219, 0x1000218 ] };
133 key <AC11> { [ 0x100021b, 0x100021a ] };
137 partial alphanumeric_keys
138 xkb_symbols "winkeys" {
139 // Describes the differences between a very simple US/ASCII
140 // keyboard and a very simple Romanian keybaord
141 // Created by Manfred Pohler, <Manfred.Pohler@t-online.de> (C) 2003
145 name[Group1]="Romania - Winkeys";
147 // Alphanumeric section
148 key <TLDE> { [ bracketright, bracketleft ] };
150 key <AE01> { [ 1, exclam, asciitilde, asciitilde ] };
151 key <AE02> { [ 2, quotedbl, at, at ] };
152 key <AE03> { [ 3, numbersign, asciicircum,asciicircum ] };
153 key <AE04> { [ 4, currency ] };
154 key <AE05> { [ 5, percent, degree, degree ] };
155 key <AE06> { [ 6, ampersand ] };
156 key <AE07> { [ 7, slash, grave, grave ] };
157 key <AE08> { [ 8, parenleft ] };
158 key <AE09> { [ 9, parenright ] };
159 key <AE10> { [ 0, equal ] };
160 key <AE11> { [ plus, question ] };
161 key <AE12> { [ apostrophe, asterisk ] };
163 key <AD01> { [ q, Q, backslash, backslash ] };
164 key <AD02> { [ w, W, bar, bar ] };
165 key <AD03> { [ e, E, EuroSign, EuroSign ] };
166 key <AD05> { [ t, T ] };
167 key <AD06> { [ z, Z ] };
168 key <AD07> { [ u, U ] };
169 key <AD08> { [ i, I ] };
170 key <AD11> { [ abreve, Abreve, division, division ] };
171 key <AD12> { [ icircumflex, Icircumflex, multiply, multiply ] };
173 key <AC04> { [ f, F ] };
174 key <AC05> { [ g, G ] };
175 key <AC10> { [ scedilla, Scedilla, dollar, dollar ] };
176 key <AC11> { [ tcedilla, Tcedilla, ssharp, ssharp ] };
178 key <AB01> { [ y, Y ] };
179 key <AB05> { [ b, B, braceleft, braceleft ] };
180 key <AB06> { [ n, N, braceright, braceright ] };
181 key <AB07> { [ m, M, section, section ] };
182 key <AB08> { [ comma, semicolon, less, less ] };
183 key <AB09> { [ period, colon, greater, greater ] };
184 key <AB10> { [ minus, underscore ] };
186 key <BKSL> { [ acircumflex, Acircumflex ] };
188 // End alphanumeric section, begin "Keypad"
189 include "keypad(comma)"
190 // End "Keypad" section
192 include "level3(ralt_switch)"