Home | History | Annotate | Line # | Download | only in symbols
lv revision 1.1
      1 // $XKeyboardConfig: xkeyboard-config/symbols/lv,v 1.8 2008-03-03 20:39:12 svu Exp $
      2 
      3 // Latvian keymap version 1.1
      4 // Copyright (C) Dmitry Golubev <lastguru (a] mail.ru>, 2003-2004
      5 //
      6 // Reworked to get rid of dead_keys (use of which in this case
      7 // is a dirty hack). It is now not dependent on locale settings
      8 // and GTK_IM_MODULES in Gnome. The map is also providing some of
      9 // ISO9995-3 alternate characters. Note that this version works
     10 // correctly under Gnome 2.6. This is to be put into symbols/
     11 // directory, or somewhere else.
     12 //
     13 // Permission to use, copy, modify, distribute, and sell this software and its
     14 // documentation for any purpose is hereby granted without fee, provided that
     15 // the above copyright notice appear in all copies and that both that
     16 // copyright notice and this permission notice appear in supporting
     17 // documentation, and that the name of the copyright holder(s) not be used in
     18 // advertising or publicity pertaining to distribution of the software without
     19 // specific, written prior permission.  The copyright holder(s) makes no
     20 // representations about the suitability of this software for any purpose.  It
     21 // is provided "as is" without express or implied warranty.
     22 //
     23 // THE COPYRIGHT HOLDER(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
     24 // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
     25 // EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
     26 // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
     27 // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
     28 // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
     29 // PERFORMANCE OF THIS SOFTWARE.
     30 
     31 partial default alphanumeric_keys modifier_keys
     32 xkb_symbols "basic" {
     33 
     34     name[Group1]= "Latvia";
     35 
     36         key <TLDE>      {[grave, asciitilde, acute, asciitilde]};
     37         key <AE01>      {[1, exclam, onesuperior, exclamdown]};
     38         key <AE02>      {[2, at, twosuperior, oneeighth]};
     39         key <AE03>      {[3, numbersign, threesuperior, sterling]};
     40         key <AE04>	{[4, dollar, EuroSign, cent]};
     41         key <AE05>      {[5, percent, onehalf, threeeighths]};
     42         key <AE06>      {[6, asciicircum, threequarters, fiveeighths]};
     43         key <AE07>      {[7, ampersand, braceleft, seveneighths]};
     44         key <AE08>      {[8, asterisk, bracketleft, trademark]};
     45         key <AE09>      {[9, parenleft, bracketright, plusminus]};
     46         key <AE10>      {[0, parenright, braceright, degree]};
     47         key <AE11>      {[minus, underscore, backslash, questiondown]};
     48         key <AE12>      {[equal, plus, endash, emdash]};
     49                                                 
     50         key <AD01>      {[q, Q, q, Q]};
     51         key <AD02>      {[w, W, w, W]};
     52 	key <AD03>	{[e, E, emacron, Emacron]};
     53 	key <AD04>	{[r, R, rcedilla, Rcedilla]};
     54         key <AD05>      {[t, T, t, T]};
     55         key <AD06>      {[y, Y, y, Y]};
     56 	key <AD07>	{[u, U, umacron, Umacron]};
     57 	key <AD08>	{[i, I, imacron, Imacron]};
     58 	key <AD09>	{[o, O, omacron, Omacron]};
     59         key <AD10>      {[p, P, p, P]};
     60         key <AD11>      {[bracketleft, braceleft, guillemotleft, leftdoublequotemark]};
     61         key <AD12>      {[bracketright, braceright, guillemotright, rightdoublequotemark]};
     62 
     63 	key <AC01>	{[a, A, amacron, Amacron]};
     64 	key <AC02>	{[s, S, scaron, Scaron]};
     65         key <AC03>      {[d, D, d, D]};
     66         key <AC04>      {[f, F, f, F]};
     67 	key <AC05>	{[g, G, gcedilla, Gcedilla]};
     68         key <AC06>      {[h, H, h, H]};
     69         key <AC07>      {[j, J, j, J]};
     70 	key <AC08>	{[k, K, kcedilla, Kcedilla]};
     71 	key <AC09>	{[l, L, lcedilla, Lcedilla]};
     72         key <AC10>      {[semicolon, colon, semicolon, colon]};
     73         key <AC11>	{[apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark]};
     74 
     75 	key <AB01>	{[z, Z, zcaron, Zcaron]};
     76         key <AB02>      {[x, X, x, X]};
     77 	key <AB03>	{[c, C, ccaron, Ccaron]};
     78         key <AB04>      {[v, V, v, V]};
     79         key <AB05>      {[b, B, b, B]};
     80 	key <AB06>	{[n, N, ncedilla, Ncedilla]};
     81         key <AB07>      {[m, M, m, M]};
     82         key <AB08>      {[comma, less, horizconnector, multiply]};
     83         key <AB09>      {[period, greater, periodcentered, division]};
     84         key <AB10>      {[slash, question, slash, abovedot]};
     85         key <BKSL>      {[backslash, bar, grave, breve]};
     86         
     87         key <SPCE>	{[space, space, space, space]};
     88 
     89 	include "level3(ralt_switch)"
     90 };
     91 
     92 partial alphanumeric_keys modifier_keys
     93 xkb_symbols "apostrophe" {
     94 
     95     include "lv(basic)"
     96 
     97     name[Group1]= "Latvia - Apostrophe (') variant";
     98 
     99 	key <AC11>	{[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
    100         key <SPCE>      {[space, space, apostrophe]};
    101 	modifier_map Mod5 { <AC11> };
    102 
    103 };
    104 
    105 partial alphanumeric_keys modifier_keys
    106 xkb_symbols "tilde" {
    107 
    108     include "lv(basic)"
    109 
    110     name[Group1]= "Latvia - Tilde (~) variant";
    111 
    112 	key <TLDE>	{[ISO_Level3_Latch, asciitilde, grave, acute]}; 
    113         key <SPCE>      {[space, space, asciitilde]};
    114 	modifier_map Mod5 { <TLDE> };
    115 
    116 };
    117 
    118 partial alphanumeric_keys modifier_keys
    119 xkb_symbols "fkey" {
    120 
    121     include "lv(basic)"
    122 
    123     name[Group1]= "Latvia - F-letter (F) variant";
    124 
    125         key <AC04>      {[ISO_Level3_Latch, ISO_Level3_Latch, f, F]};
    126         key <SPCE>      {[space, space, f, F]};
    127 	modifier_map Mod5 { <AC04> };
    128 
    129 };
    130