Debian Codegraph @

symbols/ro

raw
1 // Keyboard layouts for Romania.
2
3 // The first two layouts conform to the Romanian standard SR 13392:2004,
4 // adopted in 2004 by ASRO, "Asociația de Standardizare din România".
5 //
6 // The default layout is the Programmers layout because keyboards that are
7 // engraved according to the primary layout from the standard are lacking.
8 // The "std" variant, further down, implements the primary layout.
9 //
10 // Diacritics with cedillas, as in ISO-8859-2, are no longer supported. This
11 // error has been corrected in ISO-889-16 through using commabelow accents.
12 // Pre-Vista MS-compatible layout ("winkeys" variant) generates commabelow
13 // accents too now.
14 //
15 // Created by Cristian Gafton, <[email protected]> (C) 2000
16 // Modified by Marius Andreiana, <[email protected]> (C) 2001
17 // Completed by Dumitru Moldovan, <[email protected]> (C) 2001, 2004-2008, 2020
18
19
20 default partial alphanumeric_keys
21 xkb_symbols "basic" {
22
23 // This Programmers/RO_US layout has always been the "de facto" standard
24 // in the Linux/Unix world, and is therefore the default here, although
25 // it is the secondary layout in the Romanian standard. It is fully
26 // compatible with a US keyboard (ignoring the Euro on AltGr+5).
27
28 include "us"
29
30 name[Group1]="Romanian";
31
32 key <AE01> {[ 1, exclam, dead_tilde ]};
33 key <AE02> {[ 2, at, dead_caron ]};
34 key <AE03> {[ 3, numbersign, dead_circumflex ]};
35 key <AE04> {[ 4, dollar, dead_breve ]};
36 key <AE05> {[ 5, percent, dead_abovering ]};
37 key <AE06> {[ 6, asciicircum, dead_ogonek ]};
38 key <AE07> {[ 7, ampersand, dead_grave ]};
39 key <AE08> {[ 8, asterisk, dead_abovedot ]};
40 key <AE09> {[ 9, parenleft, dead_acute ]};
41 key <AE10> {[ 0, parenright, dead_doubleacute ]};
42 key <AE11> {[ minus, underscore, dead_diaeresis, endash ]};
43 key <AE12> {[ equal, plus, dead_cedilla, plusminus ]};
44
45 key <AD01> {[ q, Q, acircumflex, Acircumflex ]};
46 key <AD02> {[ w, W, ssharp, U1e9e ]};
47 key <AD03> {[ e, E, EuroSign ]};
48 key <AD05> {[ t, T, U021b, U021a ]}; // ț Ț
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
54 key <AC01> {[ a, A, abreve, Abreve ]};
55 key <AC02> {[ s, S, U0219, U0218 ]}; // ș Ș
56 key <AC03> {[ d, D, dstroke, Dstroke ]};
57 key <AC09> {[ l, L, lstroke, Lstroke ]};
58
59 key <LSGT> {[ backslash, bar ]};
60 key <AB03> {[ c, C, copyright ]};
61 key <AB08> {[ comma, less, guillemotleft ]};
62 key <AB09> {[ period, greater, guillemotright ]};
63
64 key <KPDL> {[ KP_Delete, KP_Decimal, KP_Separator, KP_Separator ]};
65
66 include "level3(ralt_switch)"
67 };
68
69
70 partial alphanumeric_keys
71 xkb_symbols "std" {
72
73 // Primary layout in the Romanian standard, implemented here as a variant
74 // because Romanian users prefer the secondary layout of the standard.
75
76 include "us"
77
78 name[Group1]="Romanian (standard)";
79
80 key <TLDE> {[doublelowquotemark,rightdoublequotemark, grave, asciitilde]};
81 key <AE01> {[ 1, exclam, dead_tilde ]};
82 key <AE02> {[ 2, at, dead_caron ]};
83 key <AE03> {[ 3, numbersign, dead_circumflex ]};
84 key <AE04> {[ 4, dollar, dead_breve ]};
85 key <AE05> {[ 5, percent, dead_abovering ]};
86 key <AE06> {[ 6, asciicircum, dead_ogonek ]};
87 key <AE07> {[ 7, ampersand, dead_grave ]};
88 key <AE08> {[ 8, asterisk, dead_abovedot ]};
89 key <AE09> {[ 9, parenleft, dead_acute ]};
90 key <AE10> {[ 0, parenright, dead_doubleacute ]};
91 key <AE11> {[ minus, underscore, dead_diaeresis, endash ]};
92 key <AE12> {[ equal, plus, dead_cedilla, plusminus ]};
93
94 key <AD03> {[ e, E, EuroSign ]};
95 key <AD10> {[ p, P, section ]};
96 key <AD11> {[ abreve, Abreve, bracketleft, braceleft ]};
97 key <AD12> {[ icircumflex, Icircumflex, bracketright, braceright ]};
98 key <BKSL> {[ acircumflex, Acircumflex, backslash, bar ]};
99
100 key <AC02> {[ s, S, ssharp, U1e9e ]};
101 key <AC03> {[ d, D, dstroke, Dstroke ]};
102 key <AC09> {[ l, L, lstroke, Lstroke ]};
103 key <AC10> {[ U0219, U0218, semicolon, colon ]}; // ș Ș
104 key <AC11> {[ U021b, U021a, apostrophe, quotedbl ]}; // ț Ț
105
106 key <LSGT> {[ backslash, bar ]};
107 key <AB03> {[ c, C, copyright ]};
108 key <AB08> {[ comma, semicolon, less, guillemotleft ]};
109 key <AB09> {[ period, colon, greater, guillemotright ]};
110
111 key <KPDL> {[ KP_Delete, KP_Separator, KP_Decimal, KP_Decimal ]};
112
113 include "level3(ralt_switch)"
114 };
115
116
117 partial alphanumeric_keys
118 xkb_symbols "winkeys" {
119
120 // Romanian (legacy) QWERTZ keyboard layout, as available on Windows 10,
121 // but with the correct commabelow accents and the Euro sign on AltGr+e.
122 // Some Romanian hardware keyboards are still built like this.
123 // Older Romanian hardware keyboards might be slightly different.
124 // Created by Manfred Pohler, <[email protected]> (C) 2003
125 // Updated by Dumitru Moldovan, <[email protected]> (C) 2020
126
127 include "us"
128
129 name[Group1]="Romanian (Windows)";
130
131 key <TLDE> {[ bracketright, bracketleft ]};
132 key <AE01> {[ 1, exclam, asciitilde ]};
133 key <AE02> {[ 2, quotedbl, dead_caron ]};
134 key <AE03> {[ 3, numbersign, dead_circumflex ]};
135 key <AE04> {[ 4, currency, dead_breve ]};
136 key <AE05> {[ 5, percent, dead_abovering ]};
137 key <AE06> {[ 6, ampersand, dead_ogonek ]};
138 key <AE07> {[ 7, slash, dead_grave ]};
139 key <AE08> {[ 8, parenleft, dead_abovedot ]};
140 key <AE09> {[ 9, parenright, dead_acute ]};
141 key <AE10> {[ 0, equal, dead_doubleacute ]};
142 key <AE11> {[ plus, question, dead_diaeresis ]};
143 key <AE12> {[ apostrophe, asterisk, dead_cedilla ]};
144
145 key <AD01> {[ q, Q, backslash ]};
146 key <AD02> {[ w, W, bar ]};
147 key <AD03> {[ e, E, EuroSign ]};
148 key <AD06> {[ z, Z ]};
149 key <AD11> {[ abreve, Abreve, division ]};
150 key <AD12> {[ icircumflex, Icircumflex, multiply ]};
151
152 key <AC02> {[ s, S, dstroke ]};
153 key <AC03> {[ d, D, Dstroke ]};
154 key <AC08> {[ k, K, lstroke ]};
155 key <AC09> {[ l, L, Lstroke ]};
156 key <AC10> {[ U0219, U0218, dollar ]}; // ș Ș
157 key <AC11> {[ U021b, U021a, ssharp ]}; // ț Ț
158 key <BKSL> {[ acircumflex, Acircumflex ]};
159
160 key <LSGT> {[ less, greater ]};
161 key <AB01> {[ y, Y ]};
162 key <AB04> {[ v, V, at ]};
163 key <AB05> {[ b, B, braceleft ]};
164 key <AB06> {[ n, N, braceright ]};
165 key <AB07> {[ m, M, section ]};
166 key <AB08> {[ comma, semicolon, less ]};
167 key <AB09> {[ period, colon, greater ]};
168 key <AB10> {[ minus, underscore ]};
169
170 key <KPDL> {[ KP_Delete, KP_Separator, KP_Decimal, KP_Decimal ]};
171
172 include "level3(ralt_switch)"
173 };
174
175
176 // EXTRAS:
177
178
179 partial
180 xkb_symbols "crh_dobruja" {
181 // Romania-specific Crimean Tatar (Crimean Turkish) Q layout, not yet standard.
182 // Reşat SABIQ <tilde.birlik @ gmail . com>, 2009, 2011
183 // Özgür Qarahan <qarahan @ gmail . com>, 2009
184
185 include "ua(crh)"
186
187 name[Group1]="Crimean Tatar (Dobruja Q)";
188
189 key <AD02> {[ w, W, abreve, Abreve ]};
190 key <AD05> {[ t, T, U021b, U021a ]}; // ț Ț
191 key <AD10> {[ p, P, section ]};
192 key <AC02> {[ s, S, U0219, U0218 ]}; // ș Ș
193 key <AC07> {[ ibreve, Ibreve, j, J ]};
194 key <AB07> {[ m, M, trademark, masculine ]};
195 };
196
197
198 partial alphanumeric_keys
199 xkb_symbols "ergonomic" {
200 // This layout is optimized for fast touch-typing in Romanian on a
201 // US keyboard, and works by swapping out symbols infrequently used
202 // in written Romanian (q, w, y, k) in favor of native ones, thus
203 // reducing the need to use modifier keys.
204 // Created by Gabriel Somlo, <[email protected]> (C) 2011
205
206 include "ro(basic)"
207
208 name[Group1]="Romanian (ergonomic Touchtype)";
209
210 key <AD01> {[ abreve, Abreve, q, Q ]};
211 key <AD02> {[ U0219, U0218, w, W ]};
212 key <AD06> {[ U021b, U021a, y, Y ]};
213 key <AC01> {[ a, A, acircumflex, Acircumflex ]};
214 key <AC08> {[ icircumflex, Icircumflex, k, K ]};
215 };
216
217
218 partial alphanumeric_keys
219 xkb_symbols "sun_type6" {
220 include "sun_vndr/ro(sun_type6)"
221 };