summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvu <svu>2004-06-26 00:50:11 +0000
committersvu <svu>2004-06-26 00:50:11 +0000
commitd1e6e1e68c49329a24b2fd4380d58f05151c9d58 (patch)
tree7b95ab04c74df9990c486da38fdea72b066df8df
parent85ddba452e14614e393a066e1824436835a087ba (diff)
hopefully fixed Latvian layout
-rw-r--r--BUGS9
-rw-r--r--rules/base.xml.in27
-rw-r--r--symbols/lv134
3 files changed, 147 insertions, 23 deletions
diff --git a/BUGS b/BUGS
index 40451378..1b152caa 100644
--- a/BUGS
+++ b/BUGS
@@ -1,3 +1,5 @@
+-- Freedesktop.ORG
+
http://freedesktop.org/bugzilla/show_bug.cgi?id=320
http://bugs.xfree86.org/show_bug.cgi?id=1155
@@ -56,3 +58,10 @@ http://freedesktop.org/bugzilla/show_bug.cgi?id=743
http://freedesktop.org/bugzilla/show_bug.cgi?id=744
DONE: Model a4techKB21 added
+
+-- GNOME
+
+http://bugzilla.gnome.org/show_bug.cgi?id=144646
+http://bugs.xfree86.org/show_bug.cgi?id=1415
+
+ DONE: Fixed, thanks to Dmitry
diff --git a/rules/base.xml.in b/rules/base.xml.in
index 491a9769..de1e75b7 100644
--- a/rules/base.xml.in
+++ b/rules/base.xml.in
@@ -1450,7 +1450,32 @@
<_shortDescription>Lva</_shortDescription>
<_description>Latvian</_description>
</configItem>
- <variantList/>
+ <variantList>
+ <variant>
+ <configItem>
+ <name>basic</name>
+ <_description>Latvian Basic (RALT) variant</_description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>apostrophe</name>
+ <_description>Latvian Apostrophe (') variant</_description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>tilde</name>
+ <_description>Latvian Tilde (~) variant</_description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>fkey</name>
+ <_description>Latvian F-letter (F) variant</_description>
+ </configItem>
+ </variant>
+ </variantList>
</layout>
<layout>
<configItem>
diff --git a/symbols/lv b/symbols/lv
index af3874e3..311fc71a 100644
--- a/symbols/lv
+++ b/symbols/lv
@@ -1,34 +1,124 @@
-
-// based on
-// Latvian keyboard map by Ilya Ketris <Ilya.Ketris@ipro.lv>
+// Latvian keymap version 1.1
+// Copyright (C) Dmitry Golubev <lastguru@mail.ru>, 2003-2004
+//
+// Reworked to get rid of dead_keys (use of which in this case
+// is a dirty hack). It is now not dependent on locale settings
+// and GTK_IM_MODULES in Gnome. The map is also providing some of
+// ISO9995-3 alternate characters. Note that this version works
+// correctly under Gnome 2.6. This is to be put into symbols/pc/
+// directory if you want to put it directly into symbols/
+// directory, or somewhere else, please correct the references
+// below.
//
-// $XFree86: xc/programs/xkbcomp/symbols/lv,v 1.2 2002/11/22 04:03:28 dawes Exp $
+// Permission to use, copy, modify, distribute, and sell this software and its
+// documentation for any purpose is hereby granted without fee, provided that
+// the above copyright notice appear in all copies and that both that
+// copyright notice and this permission notice appear in supporting
+// documentation, and that the name of the copyright holder(s) not be used in
+// advertising or publicity pertaining to distribution of the software without
+// specific, written prior permission. The copyright holder(s) makes no
+// representations about the suitability of this software for any purpose. It
+// is provided "as is" without express or implied warranty.
+//
+// THE COPYRIGHT HOLDER(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+// INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+// EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+// CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+// TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+// PERFORMANCE OF THIS SOFTWARE.
partial default alphanumeric_keys modifier_keys
xkb_symbols "basic" {
- include "latin"
+ name[Group1]= "Latvian";
+
+ key <TLDE> {[grave, asciitilde, acute, asciitilde]};
+ key <AE01> {[1, exclam, onesuperior, exclamdown]};
+ key <AE02> {[2, at, twosuperior, oneeighth]};
+ key <AE03> {[3, numbersign, threesuperior, sterling]};
+ key <AE04> {[4, dollar, EuroSign, cent]};
+ key <AE05> {[5, percent, onehalf, threeeighths]};
+ key <AE06> {[6, asciicircum, threequarters, fiveeighths]};
+ key <AE07> {[7, ampersand, braceleft, seveneighths]};
+ key <AE08> {[8, asterisk, bracketleft, trademark]};
+ key <AE09> {[9, parenleft, bracketright, plusminus]};
+ key <AE10> {[0, parenright, braceright, degree]};
+ key <AE11> {[minus, underscore, backslash, questiondown]};
+ key <AE12> {[equal, plus, endash, emdash]};
+
+ key <AD01> {[q, Q, q, Q]};
+ key <AD02> {[w, W, w, W]};
+ key <AD03> {[e, E, emacron, Emacron]};
+ key <AD04> {[r, R, rcedilla, Rcedilla]};
+ key <AD05> {[t, T, t, T]};
+ key <AD06> {[y, Y, y, Y]};
+ key <AD07> {[u, U, umacron, Umacron]};
+ key <AD08> {[i, I, imacron, Imacron]};
+ key <AD09> {[o, O, omacron, Omacron]};
+ key <AD10> {[p, P, p, P]};
+ key <AD11> {[bracketleft, braceleft, guillemotleft, leftdoublequotemark]};
+ key <AD12> {[bracketright, braceright, guillemotright, rightdoublequotemark]};
+
+ key <AC01> {[a, A, amacron, Amacron]};
+ key <AC02> {[s, S, scaron, Scaron]};
+ key <AC03> {[d, D, d, D]};
+ key <AC04> {[f, F, f, F]};
+ key <AC05> {[g, G, gcedilla, Gcedilla]};
+ key <AC06> {[h, H, h, H]};
+ key <AC07> {[j, J, j, J]};
+ key <AC08> {[k, K, kcedilla, Kcedilla]};
+ key <AC09> {[l, L, lcedilla, Lcedilla]};
+ key <AC10> {[semicolon, colon, semicolon, colon]};
+ key <AC11> {[apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark]};
+
+ key <AB01> {[z, Z, zcaron, Zcaron]};
+ key <AB02> {[x, X, x, X]};
+ key <AB03> {[c, C, ccaron, Ccaron]};
+ key <AB04> {[v, V, v, V]};
+ key <AB05> {[b, B, b, B]};
+ key <AB06> {[n, N, ncedilla, Ncedilla]};
+ key <AB07> {[m, M, m, M]};
+ key <AB08> {[comma, less, horizconnector, multiply]};
+ key <AB09> {[period, greater, periodcentered, division]};
+ key <AB10> {[slash, question, slash, abovedot]};
+ key <BKSL> {[backslash, bar, grave, breve]};
+
+ key <SPCE> {[space, space, space, space]};
+ key <RALT> {type[Group1]="ONE_LEVEL", [ISO_Level3_Shift]};
+ modifier_map Mod5 { <RALT> };
+
+};
+
+partial alphanumeric_keys modifier_keys
+xkb_symbols "apostrophe" {
+
+ include "pc/lv(basic)"
+
+ key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
+ key <SPCE> {[space, space, apostrophe]};
+ modifier_map Mod5 { <AC11> };
+
+};
+
+partial alphanumeric_keys modifier_keys
+xkb_symbols "tilde" {
- name[Group1]="Latvian";
+ include "pc/lv(basic)"
- key <AE04> { [ 4, dollar, EuroSign, cent ] };
+ key <TLDE> {[ISO_Level3_Latch, asciitilde, grave, acute]};
+ key <SPCE> {[space, space, asciitilde]};
+ modifier_map Mod5 { <TLDE> };
+
+};
- key <AD03> { [ e, E, emacron, Emacron ] };
- key <AD04> { [ r, R, rcedilla, Rcedilla ] };
- key <AD07> { [ u, U, umacron, Umacron ] };
- key <AD08> { [ i, I, imacron, Imacron ] };
- key <AD09> { [ o, O, omacron, Omacron ] };
+partial alphanumeric_keys modifier_keys
+xkb_symbols "fkey" {
- key <AC01> { [ a, A, amacron, Amacron ] };
- key <AC02> { [ s, S, scaron, Scaron ] };
- key <AC05> { [ g, G, gcedilla, Gcedilla ] };
- key <AC08> { [ k, K, kcedilla, Kcedilla ] };
- key <AC09> { [ l, L, lcedilla, Lcedilla ] };
- key <AC11> { [apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark ] };
+ include "pc/lv(basic)"
- key <AB01> { [ z, Z, zcaron, Zcaron ] };
- key <AB03> { [ c, C, ccaron, Ccaron ] };
- key <AB06> { [ n, N, ncedilla, Ncedilla ] };
+ key <AC04> {[ISO_Level3_Latch, ISO_Level3_Latch, f, F]};
+ key <SPCE> {[space, space, f, F]};
+ modifier_map Mod5 { <AC04> };
- include "level3(ralt_switch_multikey)"
};