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