summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Udaltsov <sergey.udaltsov@gmail.com>2017-09-04 17:07:37 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2017-09-04 17:07:37 +0100
commit2a9b3ad7f034c566c8b606486f983c56cd21623d (patch)
tree9336734f4459330f3fa03811baa5a489f454ead4
parent693da9ff3ece061c0eddf883ecdb0d1cdb437f45 (diff)
Add Swedish sv_dvorak based on us dvorak-intl
https://bugs.freedesktop.org/show_bug.cgi?id=102139
-rw-r--r--rules/base.xml.in6
-rw-r--r--symbols/se22
2 files changed, 28 insertions, 0 deletions
diff --git a/rules/base.xml.in b/rules/base.xml.in
index 21fa33c..dddb26f 100644
--- a/rules/base.xml.in
+++ b/rules/base.xml.in
@@ -4875,6 +4875,12 @@
</variant>
<variant>
<configItem>
+ <name>us_dvorak</name>
+ <_description>Swedish (based on US Intl. Dvorak)</_description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
<name>swl</name>
<_description>Swedish Sign Language</_description>
<languageList>
diff --git a/symbols/se b/symbols/se
index 0b2d964..53b4436 100644
--- a/symbols/se
+++ b/symbols/se
@@ -374,3 +374,25 @@ xkb_symbols "ovd" {
key <AD12> { [ U0328, dead_circumflex, dead_tilde, dead_caron ] };
};
+
+// us_dvorak
+// Author Thomas Lundqvist http://tlundqvist.org/sv_dvorak/
+
+partial alphanumeric_keys
+xkb_symbols "us_dvorak" {
+ include "us(dvorak-intl)"
+ name[Group1]="Swedish (based on US Intl. Dvorak)";
+
+ key <TLDE> { [ apostrophe, asciitilde, grave, dead_tilde ] };
+ key <AE02> { [ 2, quotedbl, at ] };
+ key <AE06> { [ 6, asciicircum, dead_circumflex ] };
+ key <AD01> { [ aring, Aring, dead_acute ] };
+ key <AC11> { [ minus, underscore, bar, dead_macron ] };
+ key <AB01> { [ adiaeresis, Adiaeresis, dead_grave, dead_ogonek ] };
+ key <LSGT> { [ odiaeresis, Odiaeresis, dead_diaeresis, dead_belowdot ] };
+ key <BKSL> { [ semicolon, colon, backslash ] };
+
+ include "kpdl(comma)"
+ include "level3(ralt_switch)"
+};
+