ro revision 8157b447
1154daed1Smrg// 2154daed1Smrg// Complete set of Romanian keyboards as described in the new Romanian standard 3154daed1Smrg// SR 13392:2004 adopted in December 2004 by ASRO, "Asociatia de Standardizare 4154daed1Smrg// din Romania". 5154daed1Smrg// 6154daed1Smrg// The default mapping is the RO_US/Programmers layout because of the lack of 7154daed1Smrg// Romanian hardware keyboards. The primary standard layout is implemented as 8154daed1Smrg// the "std" variant. If you're determined to get cedillas as in ISO-8859-2 9154daed1Smrg// (and not commabelow accents as in ISO-8859-16) use the defined variants 10154daed1Smrg// "cedilla" for the default layout or "std_cedilla" for the standard one. 11154daed1Smrg// Pre-Vista MS compatible layout included (use the "winkeys" variant). 12154daed1Smrg// 13154daed1Smrg// Created by Cristian Gafton, <gafton@redhat.com> (C) 2000 14154daed1Smrg// Modified by Marius Andreiana, <mandreiana@yahoo.com> (C) 2001 15154daed1Smrg// Completed by Misu Moldovan, <dumol@gnome.ro> (C) 2001, 2004-2008. 16154daed1Smrg// v 1.4 17154daed1Smrg 18154daed1Smrg 198157b447Smrgdefault partial alphanumeric_keys 20154daed1Smrgxkb_symbols "basic" { 21154daed1Smrg// This RO_US/Programmers layout, although the secondary layout in the 22154daed1Smrg// Romanian standard, has always been the "de facto" standard in the 23154daed1Smrg// Linux/Unix world. It is implemented here as the default layout and it's 249184b9c8Smrg// fully compatible with an US keyboard (Euro on AltGr+5 does not count). 25154daed1Smrg 26154daed1Smrg include "us" 27154daed1Smrg 28bfd7cbc1Smrg name[Group1]="Romanian"; 29154daed1Smrg 30154daed1Smrg key <AE01> { [ 1, exclam, dead_tilde ] }; 31154daed1Smrg key <AE02> { [ 2, at, dead_caron ] }; 32154daed1Smrg key <AE03> { [ 3, numbersign, dead_circumflex ] }; 33154daed1Smrg key <AE04> { [ 4, dollar, dead_breve ] }; 34154daed1Smrg key <AE05> { [ 5, percent, dead_abovering ] }; 35154daed1Smrg key <AE06> { [ 6, asciicircum, dead_ogonek ] }; 36154daed1Smrg key <AE07> { [ 7, ampersand, dead_grave ] }; 37154daed1Smrg key <AE08> { [ 8, asterisk, dead_abovedot ] }; 38154daed1Smrg key <AE09> { [ 9, parenleft, dead_acute ] }; 39154daed1Smrg key <AE10> { [ 0, parenright, dead_doubleacute ] }; 40154daed1Smrg key <AE11> { [ minus, underscore, dead_diaeresis, endash ] }; 41154daed1Smrg key <AE12> { [ equal, plus, dead_cedilla, plusminus ] }; 42154daed1Smrg key <AD01> { [ q, Q, acircumflex, Acircumflex ] }; 439d99ee05Smrg key <AD02> { [ w, W, ssharp, 0x1001e9e ] }; 44154daed1Smrg key <AD03> { [ e, E, EuroSign ] }; 45154daed1Smrg key <AD05> { [ t, T, 0x100021b, 0x100021a ] }; 46154daed1Smrg key <AD08> { [ i, I, icircumflex, Icircumflex ] }; 47154daed1Smrg key <AD10> { [ p, P, section ] }; 48154daed1Smrg key <AD11> { [ bracketleft, braceleft, doublelowquotemark ] }; 49154daed1Smrg key <AD12> { [ bracketright, braceright, rightdoublequotemark ] }; 50154daed1Smrg key <AC01> { [ a, A, abreve, Abreve ] }; 51154daed1Smrg key <AC02> { [ s, S, 0x1000219, 0x1000218 ] }; 52154daed1Smrg key <AC03> { [ d, D, dstroke, Dstroke ] }; 53154daed1Smrg key <AC09> { [ l, L, lstroke, Lstroke ] }; 54154daed1Smrg key <LSGT> { [ backslash, bar ] }; 55154daed1Smrg key <AB03> { [ c, C, copyright ] }; 56154daed1Smrg key <AB08> { [ comma, less, guillemotleft ] }; 57154daed1Smrg key <AB09> { [ period, greater, guillemotright ] }; 58154daed1Smrg 59154daed1Smrg include "level3(ralt_switch)" 60154daed1Smrg}; 61154daed1Smrg 62154daed1Smrgpartial alphanumeric_keys 63154daed1Smrgxkb_symbols "cedilla" { 64154daed1Smrg // Variant of the basic layout with cedillas. 65154daed1Smrg // Implements S and T with cedilllas as in ISO-8859-2. 66154daed1Smrg // Included for compatibility reasons (this used to be the def variant). 67154daed1Smrg 68154daed1Smrg include "ro(basic)" 69154daed1Smrg 70bfd7cbc1Smrg name[Group1]="Romanian (cedilla)"; 71154daed1Smrg 72154daed1Smrg key <AD05> { [ t, T, tcedilla, Tcedilla ] }; 73154daed1Smrg key <AC02> { [ s, S, scedilla, Scedilla ] }; 74154daed1Smrg}; 75154daed1Smrg 76154daed1Smrgpartial alphanumeric_keys 77154daed1Smrgxkb_symbols "std" { 78154daed1Smrg // Primary layout in the new Romanian standard. 79154daed1Smrg // Implemented here as a variant because of the lack of hardware 80154daed1Smrg // Romanian keyboards and because of the predilection of Romanian 81154daed1Smrg // X users towards the secondary layout from the new standard. 82154daed1Smrg 83154daed1Smrg include "us" 84154daed1Smrg 85bfd7cbc1Smrg name[Group1]="Romanian (standard)"; 86154daed1Smrg 87154daed1Smrg key <TLDE> { [ doublelowquotemark, rightdoublequotemark, grave, asciitilde ] }; 88154daed1Smrg key <AE01> { [ 1, exclam, dead_tilde ] }; 89154daed1Smrg key <AE02> { [ 2, at, dead_caron ] }; 90154daed1Smrg key <AE03> { [ 3, numbersign, dead_circumflex ] }; 91154daed1Smrg key <AE04> { [ 4, dollar, dead_breve ] }; 92154daed1Smrg key <AE05> { [ 5, percent, dead_abovering ] }; 93154daed1Smrg key <AE06> { [ 6, asciicircum, dead_ogonek ] }; 94154daed1Smrg key <AE07> { [ 7, ampersand, dead_grave ] }; 95154daed1Smrg key <AE08> { [ 8, asterisk, dead_abovedot ] }; 96154daed1Smrg key <AE09> { [ 9, parenleft, dead_acute ] }; 97154daed1Smrg key <AE10> { [ 0, parenright, dead_doubleacute ] }; 98154daed1Smrg key <AE11> { [ minus, underscore, dead_diaeresis, endash ] }; 99154daed1Smrg key <AE12> { [ equal, plus, dead_cedilla, plusminus ] }; 100154daed1Smrg key <AD03> { [ e, E, EuroSign ] }; 101154daed1Smrg key <AD10> { [ p, P, section ] }; 102154daed1Smrg key <AD11> { [ abreve, Abreve, bracketleft, braceleft ] }; 103154daed1Smrg key <AD12> { [ icircumflex, Icircumflex, bracketright, braceright ] }; 104154daed1Smrg key <BKSL> { [ acircumflex, Acircumflex, backslash, bar ] }; 1059d99ee05Smrg key <AC02> { [ s, S, ssharp, 0x1001e9e ] }; 106154daed1Smrg key <AC03> { [ d, D, dstroke, Dstroke ] }; 107154daed1Smrg key <AC09> { [ l, L, lstroke, Lstroke ] }; 108154daed1Smrg key <AC10> { [ 0x1000219, 0x1000218, semicolon, colon ] }; 109154daed1Smrg key <AC11> { [ 0x100021b, 0x100021a, apostrophe, quotedbl ] }; 110154daed1Smrg key <LSGT> { [ backslash, bar ] }; 111154daed1Smrg key <AB03> { [ c, C, copyright ] }; 112154daed1Smrg key <AB08> { [ comma, semicolon, less, guillemotleft ] }; 113154daed1Smrg key <AB09> { [ period, colon, greater, guillemotright ] }; 114154daed1Smrg 115154daed1Smrg key <KPDL> { [ KP_Delete, KP_Separator ] }; 116154daed1Smrg 117154daed1Smrg include "level3(ralt_switch)" 118154daed1Smrg}; 119154daed1Smrg 120154daed1Smrg 121154daed1Smrgpartial alphanumeric_keys 122154daed1Smrgxkb_symbols "std_cedilla" { 123797b363dSmrg // Variant of the "std" layout using cedillas instead of commas. 124797b363dSmrg // It implements S and T with cedillas as in ISO-8859-2. 125154daed1Smrg // Included for compatibility reasons. 126154daed1Smrg 127154daed1Smrg include "ro(std)" 128154daed1Smrg 129bfd7cbc1Smrg name[Group1]="Romanian (standard cedilla)"; 130154daed1Smrg 131154daed1Smrg key <AC10> { [ scedilla, Scedilla ] }; 132154daed1Smrg key <AC11> { [ tcedilla, Tcedilla ] }; 133154daed1Smrg}; 134154daed1Smrg 135154daed1Smrg 136154daed1Smrgpartial alphanumeric_keys 137154daed1Smrgxkb_symbols "winkeys" { 138154daed1Smrg // Describes the differences between a very simple US/ASCII 139797b363dSmrg // keyboard and a simple Romanian keyboard. 140154daed1Smrg // Created by Manfred Pohler, <Manfred.Pohler@t-online.de> (C) 2003 141154daed1Smrg 142154daed1Smrg include "latin" 143154daed1Smrg 1448157b447Smrg name[Group1]="Romanian (Windows)"; 145154daed1Smrg 146154daed1Smrg key <TLDE> { [ bracketright, bracketleft ] }; 147154daed1Smrg 148154daed1Smrg key <AE01> { [ 1, exclam, asciitilde, asciitilde ] }; 149154daed1Smrg key <AE02> { [ 2, quotedbl, at, at ] }; 150154daed1Smrg key <AE03> { [ 3, numbersign, asciicircum,asciicircum ] }; 151154daed1Smrg key <AE04> { [ 4, currency ] }; 152154daed1Smrg key <AE05> { [ 5, percent, degree, degree ] }; 153154daed1Smrg key <AE06> { [ 6, ampersand ] }; 154154daed1Smrg key <AE07> { [ 7, slash, grave, grave ] }; 155154daed1Smrg key <AE08> { [ 8, parenleft ] }; 156154daed1Smrg key <AE09> { [ 9, parenright ] }; 157154daed1Smrg key <AE10> { [ 0, equal ] }; 158154daed1Smrg key <AE11> { [ plus, question ] }; 159154daed1Smrg key <AE12> { [ apostrophe, asterisk ] }; 160154daed1Smrg 161154daed1Smrg key <AD01> { [ q, Q, backslash, backslash ] }; 162154daed1Smrg key <AD02> { [ w, W, bar, bar ] }; 163154daed1Smrg key <AD03> { [ e, E, EuroSign, EuroSign ] }; 164154daed1Smrg key <AD05> { [ t, T ] }; 165154daed1Smrg key <AD06> { [ z, Z ] }; 166154daed1Smrg key <AD07> { [ u, U ] }; 167154daed1Smrg key <AD08> { [ i, I ] }; 168154daed1Smrg key <AD11> { [ abreve, Abreve, division, division ] }; 169154daed1Smrg key <AD12> { [ icircumflex, Icircumflex, multiply, multiply ] }; 170154daed1Smrg 171154daed1Smrg key <AC04> { [ f, F ] }; 172154daed1Smrg key <AC05> { [ g, G ] }; 173154daed1Smrg key <AC10> { [ scedilla, Scedilla, dollar, dollar ] }; 1749d99ee05Smrg key <AC11> { [ tcedilla, Tcedilla, ssharp, U1E9E ] }; 175154daed1Smrg 176154daed1Smrg key <AB01> { [ y, Y ] }; 177154daed1Smrg key <AB05> { [ b, B, braceleft, braceleft ] }; 178154daed1Smrg key <AB06> { [ n, N, braceright, braceright ] }; 179154daed1Smrg key <AB07> { [ m, M, section, section ] }; 180154daed1Smrg key <AB08> { [ comma, semicolon, less, less ] }; 181154daed1Smrg key <AB09> { [ period, colon, greater, greater ] }; 182154daed1Smrg key <AB10> { [ minus, underscore ] }; 183154daed1Smrg 184154daed1Smrg key <BKSL> { [ acircumflex, Acircumflex ] }; 185154daed1Smrg 186154daed1Smrg include "kpdl(comma)" 187154daed1Smrg 188154daed1Smrg include "level3(ralt_switch)" 189154daed1Smrg}; 190c067fea9Sghen 191c067fea9Sghenpartial 192bfd7cbc1Smrgxkb_symbols "crh_dobruja" { 193bfd7cbc1Smrg // Romania-specific Crimean Tatar (Crimean Turkish) Q layout. 194bfd7cbc1Smrg // This layout is not yet standard. Common Alt-Q and F layouts are now also 195bfd7cbc1Smrg // available right next to this layout in the new language-centric UI. 196bfd7cbc1Smrg // Reşat SABIQ <tilde.birlik @ gmail . com>, 2009, 2011 197bfd7cbc1Smrg // Özgür Qarahan <qarahan @ gmail . com>, 2009 198c067fea9Sghen 199bfd7cbc1Smrg include "tr(crh)" 200c067fea9Sghen 201bfd7cbc1Smrg name[Group1]="Crimean Tatar (Dobruja Q)"; 202c067fea9Sghen 203bfd7cbc1Smrg key <AD02> { [ w, W, abreve, Abreve ] }; 204bfd7cbc1Smrg key <AD05> { [ t, T, 0x100021b, 0x100021a ] }; 205bfd7cbc1Smrg key <AD10> { [ p, P, section ] }; 206bfd7cbc1Smrg key <AC02> { [ s, S, 0x1000219, 0x1000218 ] }; 207bfd7cbc1Smrg key <AC07> { [ ibreve, Ibreve, j, J ] }; 208bfd7cbc1Smrg key <AB07> { [ m, M, trademark, masculine ] }; 209c067fea9Sghen}; 210c067fea9Sghen 211bfd7cbc1Smrg// EXTRAS: 212c067fea9Sghen 213bfd7cbc1Smrgpartial alphanumeric_keys 214bfd7cbc1Smrgxkb_symbols "ergonomic" { 215bfd7cbc1Smrg // This layout is optimized for fast touch-typing in Romanian on a 216bfd7cbc1Smrg // US keyboard, and works by swapping out symbols infrequently used 217bfd7cbc1Smrg // in written Romanian (q,w,y,k) in favor of native ones, thus reducing 218bfd7cbc1Smrg // the need to use modifier keys. 219bfd7cbc1Smrg // Created by Gabriel Somlo, <somlo@cmu.edu> (C) 2011 220c067fea9Sghen 221bfd7cbc1Smrg include "ro(basic)" 222c067fea9Sghen 223bfd7cbc1Smrg name[Group1]="Romanian (ergonomic Touchtype)"; 224c067fea9Sghen 225bfd7cbc1Smrg key <AD01> { [ abreve, Abreve, q, Q ] }; 226bfd7cbc1Smrg key <AD02> { [ 0x1000219, 0x1000218, w, W ] }; 227bfd7cbc1Smrg key <AD06> { [ 0x100021b, 0x100021a, y, Y ] }; 228bfd7cbc1Smrg key <AC01> { [ a, A, acircumflex, Acircumflex ] }; 229bfd7cbc1Smrg key <AC08> { [ icircumflex, Icircumflex, k, K ] }; 230c067fea9Sghen}; 231c067fea9Sghen 2320412cdedSmrg 2330412cdedSmrgpartial alphanumeric_keys 2340412cdedSmrg xkb_symbols "sun_type6" { 2350412cdedSmrg include "sun_vndr/ro(sun_type6)" 2360412cdedSmrg}; 237