From 67bc401f24378028291ddf51fa18b29d89f00abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Lepp=C3=A4nen?= Date: Sun, 27 Sep 2015 14:12:22 +0300 Subject: [PATCH] Added Finnish DAS layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DAS layout is made for Finnish language and it takes account the letter distribution in Finnish. The layout was invented by Cristian Seres and the layout in symbols file is originally made by Joel Lehtonen. They both are mentioned in symbols/fi. I merely reformatted the layout definition to match other layouts in symbols/fi and made this patch. This patch adds DAS layout to symbols/fi and its rule to rules/base.xml.in. --- rules/base.xml.in | 6 +++++ symbols/fi | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/rules/base.xml.in b/rules/base.xml.in index ff3901e..f643fe2 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -2999,6 +2999,12 @@ <_description>Finnish (Macintosh) + + + das + <_description>Finnish (DAS) + + diff --git a/symbols/fi b/symbols/fi index 47bc24f..85970da 100644 --- a/symbols/fi +++ b/symbols/fi @@ -210,3 +210,73 @@ xkb_symbols "sun_type6" { include "sun_vndr/fi(sun_type6)" }; + +partial +xkb_symbols "das" { + + // This is DAS layout for typing Finnish. It is originally designed by + // Cristian Seres (cseres at iki.fi). + // More information about DAS: http://c.seres.fi/DAS_en.html + // This xkeyboard layout is originally made by Joel Lehtonen, + // (joel.lehtonen at iki.fi) on 2008-01-14. He released it under Public + // domain. + + name[Group1]="Finnish (DAS)"; + + key { [ 1, exclam, section ] }; + key { [ 2, quotedbl, twosuperior ] }; + key { [ 3, at, sterling ] }; + key { [ 4, EuroSign, dollar ] }; + key { [ 5, percent, onehalf ] }; + key { [ 6, ampersand ] }; + key { [ 7, braceleft ] }; + key { [ 8, parenleft, bracketleft ] }; + key { [ 9, parenright, bracketright ] }; + key { [ 0, braceright, degree ] }; + key { [ plus, question, currency ] }; + key { [ equal, numbersign ] }; + + key { [ p, P, Greek_pi ] }; + key { [ h, H ] }; + key { [ r, R, dead_circumflex ] }; + key { [ k, K, dead_caron ] }; + key { [ less, greater ] }; + key { [ apostrophe, bar ] }; + key { [ w, W ] }; + key { [ u, U ] }; + key { [ y, Y ] }; + key { [ b, B ] }; + key { [ q, Q ] }; + key { [ z, Z, zcaron, Zcaron ] }; + + key { [ s, S, scaron, Scaron ] }; + key { [ l, L, dead_acute ] }; + key { [ n, N, dead_grave ] }; + key { [ t, T, dead_diaeresis ] }; + key { [ v, V ] }; + key { [ g, G ] }; + key { [ a, A ] }; + key { [ i, I ] }; + key { [ o, O ] }; + key { [ e, E ] }; + key { [ c, C ] }; + key { [ backslash, dead_tilde ] }; + + key { [ asterisk, slash ] }; + key { [ f, F ] }; + key { [ x, X ] }; + key { [ d, D ] }; + key { [ m, M, mu ] }; + key { [ j, J ] }; + key { [ aring, Aring ] }; + key { [ odiaeresis, Odiaeresis, oe, OE ] }; + key { [ adiaeresis, Adiaeresis, ae, AE ] }; + key { [ comma, semicolon ] }; + key { [ period, colon ] }; + key { [ minus, underscore, U2013, dead_macron ] }; + key { [ space, space, space, nobreakspace ] }; + + include "kpdl(comma)" + include "level3(ralt_switch)" + include "compose(rwin)" +}; -- 2.5.3