// // Complete set of Romanian keyboards as described in the new Romanian standard // SR 13392:2004 adopted in December 2004 by ASRO, "Asociatia de Standardizare // din Romania". // // The default mapping is the RO_US/Programmers layout because of the lack of // Romanian hardware keyboards. The primary standard layout is implemented as // the "std" variant. If you're determined to get cedillas as in ISO-8859-2 // (and not commabelow accents as in ISO-8859-16) use the defined variants // "cedilla" for the default layout or "std_cedilla" for the standard one. // Pre-Vista MS compatible layout included (use the "winkeys" variant). // // Created by Cristian Gafton, (C) 2000 // Modified by Marius Andreiana, (C) 2001 // Completed by Misu Moldovan, (C) 2001, 2004-2008. // v 1.4 partial default alphanumeric_keys xkb_symbols "basic" { // This RO_US/Programmers layout, although the secondary layout in the // Romanian standard, has always been the "de facto" standard in the // Linux/Unix world. It is implemented here as the default layout and it's // fully compatible with an US keyboard (Euro on AltGr+5 doesn't count). include "us" name[Group1]="Romanian"; key { [ 1, exclam, dead_tilde ] }; key { [ 2, at, dead_caron ] }; key { [ 3, numbersign, dead_circumflex ] }; key { [ 4, dollar, dead_breve ] }; key { [ 5, percent, dead_abovering ] }; key { [ 6, asciicircum, dead_ogonek ] }; key { [ 7, ampersand, dead_grave ] }; key { [ 8, asterisk, dead_abovedot ] }; key { [ 9, parenleft, dead_acute ] }; key { [ 0, parenright, dead_doubleacute ] }; key { [ minus, underscore, dead_diaeresis, endash ] }; key { [ equal, plus, dead_cedilla, plusminus ] }; key { [ q, Q, acircumflex, Acircumflex ] }; key { [ w, W, ssharp ] }; key { [ e, E, EuroSign ] }; key { [ t, T, 0x100021b, 0x100021a ] }; key { [ i, I, icircumflex, Icircumflex ] }; key { [ p, P, section ] }; key { [ bracketleft, braceleft, doublelowquotemark ] }; key { [ bracketright, braceright, rightdoublequotemark ] }; key { [ a, A, abreve, Abreve ] }; key { [ s, S, 0x1000219, 0x1000218 ] }; key { [ d, D, dstroke, Dstroke ] }; key { [ l, L, lstroke, Lstroke ] }; key { [ backslash, bar ] }; key { [ c, C, copyright ] }; key { [ comma, less, guillemotleft ] }; key { [ period, greater, guillemotright ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "cedilla" { // Variant of the basic layout with cedillas. // Implements S and T with cedilllas as in ISO-8859-2. // Included for compatibility reasons (this used to be the def variant). include "ro(basic)" name[Group1]="Romanian (cedilla)"; key { [ t, T, tcedilla, Tcedilla ] }; key { [ s, S, scedilla, Scedilla ] }; }; partial alphanumeric_keys xkb_symbols "std" { // Primary layout in the new Romanian standard. // Implemented here as a variant because of the lack of hardware // Romanian keyboards and because of the predilection of Romanian // X users towards the secondary layout from the new standard. include "us" name[Group1]="Romanian (standard)"; key { [ doublelowquotemark, rightdoublequotemark, grave, asciitilde ] }; key { [ 1, exclam, dead_tilde ] }; key { [ 2, at, dead_caron ] }; key { [ 3, numbersign, dead_circumflex ] }; key { [ 4, dollar, dead_breve ] }; key { [ 5, percent, dead_abovering ] }; key { [ 6, asciicircum, dead_ogonek ] }; key { [ 7, ampersand, dead_grave ] }; key { [ 8, asterisk, dead_abovedot ] }; key { [ 9, parenleft, dead_acute ] }; key { [ 0, parenright, dead_doubleacute ] }; key { [ minus, underscore, dead_diaeresis, endash ] }; key { [ equal, plus, dead_cedilla, plusminus ] }; key { [ e, E, EuroSign ] }; key { [ p, P, section ] }; key { [ abreve, Abreve, bracketleft, braceleft ] }; key { [ icircumflex, Icircumflex, bracketright, braceright ] }; key { [ acircumflex, Acircumflex, backslash, bar ] }; key { [ s, S, ssharp ] }; key { [ d, D, dstroke, Dstroke ] }; key { [ l, L, lstroke, Lstroke ] }; key { [ 0x1000219, 0x1000218, semicolon, colon ] }; key { [ 0x100021b, 0x100021a, apostrophe, quotedbl ] }; key { [ backslash, bar ] }; key { [ c, C, copyright ] }; key { [ comma, semicolon, less, guillemotleft ] }; key { [ period, colon, greater, guillemotright ] }; key { [ KP_Delete, KP_Separator ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "std_cedilla" { // Variant of the "std" layout with cedillas. // Implements S and T with cedillas as in ISO-8859-2. // Included for compatibility reasons. include "ro(std)" name[Group1]="Romanian (standard cedilla)"; key { [ scedilla, Scedilla ] }; key { [ tcedilla, Tcedilla ] }; }; partial alphanumeric_keys xkb_symbols "winkeys" { // Describes the differences between a very simple US/ASCII // keyboard and a very simple Romanian keybaord // Created by Manfred Pohler, (C) 2003 include "latin" name[Group1]="Romanian (WinKeys)"; // Alphanumeric section key { [ bracketright, bracketleft ] }; key { [ 1, exclam, asciitilde, asciitilde ] }; key { [ 2, quotedbl, at, at ] }; key { [ 3, numbersign, asciicircum,asciicircum ] }; key { [ 4, currency ] }; key { [ 5, percent, degree, degree ] }; key { [ 6, ampersand ] }; key { [ 7, slash, grave, grave ] }; key { [ 8, parenleft ] }; key { [ 9, parenright ] }; key { [ 0, equal ] }; key { [ plus, question ] }; key { [ apostrophe, asterisk ] }; key { [ q, Q, backslash, backslash ] }; key { [ w, W, bar, bar ] }; key { [ e, E, EuroSign, EuroSign ] }; key { [ t, T ] }; key { [ z, Z ] }; key { [ u, U ] }; key { [ i, I ] }; key { [ abreve, Abreve, division, division ] }; key { [ icircumflex, Icircumflex, multiply, multiply ] }; key { [ f, F ] }; key { [ g, G ] }; key { [ scedilla, Scedilla, dollar, dollar ] }; key { [ tcedilla, Tcedilla, ssharp, ssharp ] }; key { [ y, Y ] }; key { [ b, B, braceleft, braceleft ] }; key { [ n, N, braceright, braceright ] }; key { [ m, M, section, section ] }; key { [ comma, semicolon, less, less ] }; key { [ period, colon, greater, greater ] }; key { [ minus, underscore ] }; key { [ acircumflex, Acircumflex ] }; // End alphanumeric section, begin "Keypad" include "kpdl(comma)" // End "Keypad" section include "level3(ralt_switch)" }; partial xkb_symbols "crh_dobruja" { // Romania-specific Crimean Tatar (Crimean Turkish) Q layout. // This layout is not yet standard. Common Alt-Q and F layouts are now also // available right next to this layout in the new language-centric UI. // Reşat SABIQ , 2009, 2011 // Özgür Qarahan , 2009 include "tr(crh)" name[Group1]="Crimean Tatar (Dobruja Q)"; key { [ w, W, abreve, Abreve ] }; key { [ t, T, 0x100021b, 0x100021a ] }; key { [ p, P, section ] }; key { [ s, S, 0x1000219, 0x1000218 ] }; key { [ ibreve, Ibreve, j, J ] }; key { [ m, M, trademark, masculine ] }; }; // EXTRAS: partial alphanumeric_keys xkb_symbols "ergonomic" { // This layout is optimized for fast touch-typing in Romanian on a // US keyboard, and works by swapping out symbols infrequently used // in written Romanian (q,w,y,k) in favor of native ones, thus reducing // the need to use modifier keys. // Created by Gabriel Somlo, (C) 2011 include "ro(basic)" name[Group1]="Romanian (ergonomic Touchtype)"; key { [ abreve, Abreve, q, Q ] }; key { [ 0x1000219, 0x1000218, w, W ] }; key { [ 0x100021b, 0x100021a, y, Y ] }; key { [ a, A, acircumflex, Acircumflex ] }; key { [ icircumflex, Icircumflex, k, K ] }; };