fixing loads of bugs from fd.o bugzilla
[xorg/xkeyboard-config] / symbols / lt
1
2 // based on
3 // Lithuanian keyboard map by Ričardas Čepas <rch@richard.eu.org>
4 // merged into one file by Nerijus Baliūnas
5 // Added number and special characters writing in basic lt layout with RAlt by
6 // Mantas Kriaučiūnas <mantas@akl.lt>, 2004
7 //
8 // $XFree86: xc/programs/xkbcomp/symbols/lt,v 1.3 2002/12/14 22:26:11 dawes Exp $
9
10 // If you want to have 2 layouts, use
11 // Option "XkbLayout" "lt,lt(us)"
12
13 // Lithuanian Baltic layout - Lithuanian letters on the numeric row
14 partial default alphanumeric_keys modifier_keys
15 xkb_symbols "basic" {
16
17     include "latin"
18
19     name[Group1]="Lithuanian";
20
21     key <AE01>  { [   aogonek,      Aogonek,        1,      exclam ]    };
22     key <AE02>  { [    ccaron,       Ccaron,        2,          at ]    };
23     key <AE03>  { [   eogonek,      Eogonek,        3,  numbersign ]    };
24     key <AE04>  { [ eabovedot,    Eabovedot,        4,      dollar ]    };
25     key <AE05>  { [   iogonek,      Iogonek,        5,     percent ]    };
26     key <AE06>  { [    scaron,       Scaron,        6, asciicircum ]    };
27     key <AE07>  { [   uogonek,      Uogonek,        7,   ampersand ]    };
28     key <AE08>  { [   umacron,      Umacron,        8,    asterisk ]    };
29     key <AE09>  { [doublelowquotemark,  parenleft,  9,   parenleft ] };
30     key <AE10>  { [leftdoublequotemark,parenright,  0,  parenright ] };
31     key <AE12>  { [    zcaron,       Zcaron,    equal,        plus ]    };
32
33     key <LSGT>  { [    endash,   EuroSign   ]   };
34
35     include "level3(ralt_switch_multikey)"
36 };
37
38 // Similar to the above, but you should use Right Alt + numeric row
39 // for Lithuanian letters
40 partial alphanumeric_keys modifier_keys
41 xkb_symbols "us" {
42
43     include "latin"
44
45     name[Group1]="Lithuanian";
46
47     key <AE01>  { [         1,     exclam,      aogonek,      Aogonek ] };
48     key <AE02>  { [         2,         at,       ccaron,       Ccaron ] };
49     key <AE03>  { [         3, numbersign,      eogonek,      Eogonek ] };
50     key <AE04>  { [         4,     dollar,    eabovedot,    Eabovedot ] };
51     key <AE05>  { [         5,    percent,      iogonek,      Iogonek ] };
52     key <AE06>  { [         6, asciicircum,      scaron,       Scaron ] };
53     key <AE07>  { [         7,  ampersand,      uogonek,      Uogonek ] };
54     key <AE08>  { [         8,   asterisk,      umacron,      Umacron ] };
55     key <AE09>  { [         9,  parenleft, doublelowquotemark,  parenleft ] };
56     key <AE10>  { [         0, parenright, leftdoublequotemark,parenright ] };
57     key <AE12>  { [     equal,       plus,       zcaron,       Zcaron ] };
58
59     key <AD03>  { [         e,          E,       endash,     EuroSign ] };
60     key <LSGT>  { [    endash,   EuroSign ]     };
61
62     include "level3(ralt_switch_multikey)"
63 };
64
65 // Lithuanian keyboard map by Gediminas Paulauskas <menesis@delfi.lt>
66 // Minor modification by Ričardas Čepas according to http://sun3.mif.vu.lt/cs/TK4/lithkeyb.html
67
68 // Describes Lithuanian keymap LST 1582:2000
69 // Extensions:  B01 L3 is "<" , B02 L3 is ">" and B03 L3 is endash to make this
70 // layout usable with pc101 and pc104 keyboards.
71  
72 partial alphanumeric_keys modifier_keys
73 xkb_symbols "std" {
74
75     include "latin"
76
77     name[Group1]= "Lithuanian";
78
79     key <TLDE> {[       grave,          asciitilde,     acute           ]};
80     key <AE01> {[       exclam,         1,              at              ]};
81     key <AE02> {[       minus,          2,              underscore      ]};
82     key <AE03> {[       slash,          3,              numbersign      ]};
83     key <AE04> {[       semicolon,      4,              dollar          ]};
84     key <AE05> {[       colon,          5,              section         ]};
85     key <AE06> {[       comma,          6,              asciicircum     ]};
86     key <AE07> {[       period,         7,              ampersand       ]};
87     key <AE08> {[       equal,          8,              asterisk        ]};
88     key <AE09> {[       parenleft,      9,              bracketleft     ]};
89     key <AE10> {[       parenright,     0,              bracketright    ]};
90     key <AE11> {[       question,       plus,           apostrophe      ]};
91     key <AE12> {[       x,              X,              percent         ]};
92     key <AD01> {[       aogonek,        Aogonek         ]};
93     key <AD02> {[       zcaron,         Zcaron          ]};
94     key <AD03> {[       e,              E,              EuroSign        ]};
95     key <AD11> {[       iogonek,        Iogonek,        braceleft       ]};
96     key <AD12> {[       w,              W,              braceright      ]};
97     key <AC04> {[       scaron,         Scaron          ]};
98     key <AC10> {[       uogonek,        Uogonek         ]};
99     key <AC11> {[       eabovedot,      Eabovedot,      quotedbl        ]};
100     key <AB01> {[       z,              Z,              less            ]};
101     key <AB02> {[       umacron,        Umacron,        greater         ]};
102     key <AB03> {[       c,              C,              endash          ]};
103     key <AB08> {[       ccaron,         Ccaron,         doublelowquotemark  ]};
104     key <AB09> {[       f,              F,              leftdoublequotemark ]};
105 // this is actually right quote for Lithuanian
106     key <AB10> {[       eogonek,        Eogonek,        backslash       ]};
107     key <BKSL> {[       q,              Q,              bar             ]};
108     key <SPCE> {[       space,          space,          nobreakspace,   nobreakspace    ]};
109
110     key <LSGT> {[       less,           greater,        endash          ]};
111
112     include "level3(ralt_switch_multikey)"
113 };