summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikoKrause <nikokrause@gmx.de>2017-05-17 22:49:17 +0200
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2017-05-17 22:07:08 +0100
commite1a1caa684d14eb3abf184fb7c711cc746a138d1 (patch)
tree8049018a4f9c2544cf84b45d6199bf790210674f
parent59e26018d32e83987ea789ab61ca395a75289cf8 (diff)
two new layouts "Russian (Germany, recommended)" and "Russian (Germany, transliteration)" for german keyboards
-rw-r--r--rules/base.extras.xml.in22
-rw-r--r--symbols/de102
2 files changed, 124 insertions, 0 deletions
diff --git a/rules/base.extras.xml.in b/rules/base.extras.xml.in
index 545583c..530497c 100644
--- a/rules/base.extras.xml.in
+++ b/rules/base.extras.xml.in
@@ -170,6 +170,28 @@
<_description>German (Neo qwerty)</_description>
</configItem>
</variant>
+ <variant>
+ <configItem>
+ <name>ru-recom</name>
+ <!-- Keyboard indicator for Russian layouts -->
+ <_shortDescription>ru</_shortDescription>
+ <_description>Russian (Germany, recommended)</_description>
+ <languageList>
+ <iso639Id>rus</iso639Id>
+ </languageList>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>ru-translit</name>
+ <!-- Keyboard indicator for Russian layouts -->
+ <_shortDescription>ru</_shortDescription>
+ <_description>Russian (Germany, transliteration)</_description>
+ <languageList>
+ <iso639Id>rus</iso639Id>
+ </languageList>
+ </configItem>
+ </variant>
</variantList>
</layout>
<layout>
diff --git a/symbols/de b/symbols/de
index 7841204..72f11d7 100644
--- a/symbols/de
+++ b/symbols/de
@@ -635,6 +635,108 @@ xkb_symbols "ru" {
include "level3(ralt_switch)"
};
+// layout for Russian (recommended) letters on a german keyboard
+// based on "Russisch für Deutsche, empfohlen" by B. Bendixen und H. Rothe http://russisch.urz.uni-leipzig.de/key2000.htm 2016-02-01
+// adapted for Linux by Niko Krause <nikokrause@gmx.de> 2016-06-09
+
+partial alphanumeric_keys
+xkb_symbols "ru-recom" {
+
+ include "de(basic)"
+
+ name[Group1]= "Russian (Germany, recommended)";
+
+ key <LatA> { [ Cyrillic_a, Cyrillic_A ] };
+ key <LatB> { [ Cyrillic_be, Cyrillic_BE ] };
+ key <LatW> { [ Cyrillic_ve, Cyrillic_VE ] };
+ key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
+ key <LatD> { [ Cyrillic_de, Cyrillic_DE ] };
+ key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] };
+ key <TLDE> { [ Cyrillic_ya, Cyrillic_YA, asciicircum, degree ] };
+ key <LatX> { [ Cyrillic_ha, Cyrillic_HA ] };
+ key <LatZ> { [ Cyrillic_tse, Cyrillic_TSE ] };
+ key <LatI> { [ Cyrillic_i, Cyrillic_I, Ukrainian_i, Ukrainian_I ] };
+ key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI, Ukrainian_yi, Ukrainian_YI ] };
+ key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] };
+ key <LatL> { [ Cyrillic_el, Cyrillic_EL ] };
+ key <LatM> { [ Cyrillic_em, Cyrillic_EM ] };
+ key <LatN> { [ Cyrillic_en, Cyrillic_EN ] };
+ key <LatO> { [ Cyrillic_o, Cyrillic_O ] };
+ key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] };
+ key <LatR> { [ Cyrillic_er, Cyrillic_ER ] };
+ key <LatS> { [ Cyrillic_es, Cyrillic_ES, Cyrillic_ze, Cyrillic_ZE ] };
+ key <LatT> { [ Cyrillic_te, Cyrillic_TE ] };
+ key <LatU> { [ Cyrillic_u, Cyrillic_U ] };
+ key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] };
+ key <LatH> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
+ key <LatC> { [ Cyrillic_che, Cyrillic_CHE ] };
+ key <AC10> { [ Cyrillic_io, Cyrillic_IO ] };
+ key <AD11> { [ Cyrillic_yu, Cyrillic_YU ] };
+ key <AD12> { [ Cyrillic_sha, Cyrillic_SHA, plus, asterisk ] };
+ key <LSGT> { [ Cyrillic_ze, Cyrillic_ZE ] };
+ key <LatY> { [ Cyrillic_yeru, Cyrillic_YERU ] };
+ key <LatV> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
+ key <AC11> { [ Cyrillic_e, Cyrillic_E, Ukrainian_ie, Ukrainian_IE ] };
+ key <BKSL> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, numbersign, apostrophe ] };
+ key <LatQ> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
+
+ key <AE11> { [ asciitilde, question, backslash, questiondown ] };
+ key <AE12> { [ U0301, U0300, U0323, U0307 ] };
+
+ include "level3(ralt_switch)"
+};
+
+// layout for Russian (transliteration) letters on a german keyboard
+// based on "Russisch für Deutsche, Transliteration" by B. Bendixen und H. Rothe http://russisch.urz.uni-leipzig.de/key2000.htm 2016-02-01
+// adapted for Linux by Niko Krause <nikokrause@gmx.de> 2016-06-09
+
+partial alphanumeric_keys
+xkb_symbols "ru-translit" {
+
+ include "de(basic)"
+
+ name[Group1]= "Russian (Germany, transliteration)";
+
+ key <LatA> { [ Cyrillic_a, Cyrillic_A ] };
+ key <LatB> { [ Cyrillic_be, Cyrillic_BE ] };
+ key <LatW> { [ Cyrillic_sha, Cyrillic_SHA ] };
+ key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
+ key <LatD> { [ Cyrillic_de, Cyrillic_DE ] };
+ key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] };
+ key <TLDE> { [ Cyrillic_ya, Cyrillic_YA, asciicircum, degree ] };
+ key <LatX> { [ Cyrillic_ha, Cyrillic_HA ] };
+ key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] };
+ key <LatI> { [ Cyrillic_i, Cyrillic_I, Ukrainian_i, Ukrainian_I ] };
+ key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI, Ukrainian_yi, Ukrainian_YI ] };
+ key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] };
+ key <LatL> { [ Cyrillic_el, Cyrillic_EL ] };
+ key <LatM> { [ Cyrillic_em, Cyrillic_EM ] };
+ key <LatN> { [ Cyrillic_en, Cyrillic_EN ] };
+ key <LatO> { [ Cyrillic_o, Cyrillic_O ] };
+ key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] };
+ key <LatR> { [ Cyrillic_er, Cyrillic_ER ] };
+ key <LatS> { [ Cyrillic_es, Cyrillic_ES, Cyrillic_che, Cyrillic_CHE ] };
+ key <LatT> { [ Cyrillic_te, Cyrillic_TE ] };
+ key <LatU> { [ Cyrillic_u, Cyrillic_U ] };
+ key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] };
+ key <LatH> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
+ key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] };
+ key <AC10> { [ Cyrillic_io, Cyrillic_IO ] };
+ key <AD11> { [ Cyrillic_yu, Cyrillic_YU ] };
+ key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, plus, asterisk ] };
+ key <LSGT> { [ Cyrillic_che, Cyrillic_CHE ] };
+ key <LatY> { [ Cyrillic_yeru, Cyrillic_YERU ] };
+ key <LatV> { [ Cyrillic_ve, Cyrillic_VE ] };
+ key <AC11> { [ Cyrillic_e, Cyrillic_E, Ukrainian_ie, Ukrainian_IE ] };
+ key <BKSL> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, numbersign, apostrophe ] };
+ key <LatQ> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
+
+ key <AE11> { [ asciitilde, question, backslash, questiondown ] };
+ key <AE12> { [ U0301, U0300, U0323, U0307 ] };
+
+ include "level3(ralt_switch)"
+};
+
partial alphanumeric_keys
xkb_symbols "pl" {