summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Udaltsov <sergey.udaltsov@gmail.com>2019-01-19 21:22:19 +0000
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2019-01-19 21:22:19 +0000
commitfb188be4ccdf62ebaebe69fd1aacdefbaba8bcdc (patch)
tree137c9d86281841828837fc4758a2d2602bbc9419
parent6294cb6917bd665d69988dc497a9388adede2155 (diff)
New polish layout based on UK keyboard
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/101
-rw-r--r--rules/base.xml.in11
-rw-r--r--symbols/gb38
2 files changed, 49 insertions, 0 deletions
diff --git a/rules/base.xml.in b/rules/base.xml.in
index b1706845..3fa1bfc5 100644
--- a/rules/base.xml.in
+++ b/rules/base.xml.in
@@ -5515,6 +5515,17 @@
<_description>English (UK, Colemak)</_description>
</configItem>
</variant>
+ <variant>
+ <configItem>
+ <name>pl</name>
+ <!-- Keyboard indicator for Polish layouts -->
+ <_shortDescription>pl</_shortDescription>
+ <_description>Polish (British keyboard)</_description>
+ <languageList>
+ <iso639Id>pol</iso639Id>
+ </languageList>
+ </configItem>
+ </variant>
</variantList>
</layout>
<layout>
diff --git a/symbols/gb b/symbols/gb
index 60213255..c2529ef2 100644
--- a/symbols/gb
+++ b/symbols/gb
@@ -197,6 +197,44 @@ xkb_symbols "mac_intl" {
include "level3(ralt_switch)"
};
+partial alphanumeric_keys
+xkb_symbols "pl" {
+
+ // Polish layout based on British keyboard
+ // Adopted 2016 by Aleksander Kowalski
+
+ include "latin"
+
+ name[Group1]="Polish (British keyboard)";
+
+ key <AE02>{ [ 2, quotedbl, twosuperior, oneeighth ]};
+ key <AE03>{ [ 3, sterling, threesuperior, sterling ]};
+ key <AE04>{ [ 4, dollar, EuroSign, onequarter ]};
+
+ key <AC11>{ [apostrophe, at, dead_circumflex, dead_caron]};
+ key <TLDE>{ [ grave, notsign, bar, bar ]};
+
+ key <BKSL>{ [numbersign, asciitilde, dead_grave, dead_breve ]};
+ key <LSGT>{ [ backslash, bar, bar, brokenbar ]};
+
+ key <AD01> { [ q, Q ] };
+ key <AD02> { [ w, W ] };
+ key <AD03>{ [ e, E, eogonek, Eogonek ] };
+ key <AD09> { [ o, O, oacute, Oacute ] };
+
+ key <AC01> { [ a, A, aogonek, Aogonek ] };
+ key <AC02> { [ s, S, sacute, Sacute ] };
+ key <AC04> { [ f, F ] };
+
+ key <AB01> { [ z, Z, zabovedot, Zabovedot ] };
+ key <AB02> { [ x, X, zacute, Zacute ] };
+ key <AB03> { [ c, C, cacute, Cacute ] };
+ key <AB06> { [ n, N, nacute, Nacute ] };
+
+
+ include "level3(ralt_switch)"
+};
+
// EXTRAS:
partial alphanumeric_keys