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