summaryrefslogtreecommitdiff
path: root/symbols/us
diff options
context:
space:
mode:
authorStephan Lachnit <stephanlachnit@protonmail.com>2019-11-19 21:17:05 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2020-01-23 22:35:31 +0000
commit3deb5d2214e2fe7fbf1c4bb259c1c5fd90619290 (patch)
treef71d71523a7e289271a7e23dcabdf3e97998eca5 /symbols/us
parent2fc618e7d39b877d7d2b739b01c5facc8a89428b (diff)
downloadxkeyboard-config-3deb5d2214e2fe7fbf1c4bb259c1c5fd90619290.tar.gz
Add German/Swedish/Finnish variant to US layouts
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
Diffstat (limited to 'symbols/us')
-rw-r--r--symbols/us21
1 files changed, 21 insertions, 0 deletions
diff --git a/symbols/us b/symbols/us
index 8368e0c..0e2bf44 100644
--- a/symbols/us
+++ b/symbols/us
@@ -1994,3 +1994,24 @@ xkb_symbols "drix" {
};
modifier_map Mod5 { <RALT> };
};
+
+// German and Swedish characters added as third level symbols to the US keyboard layout
+// Author: Stephan Lachnit <stephanlachnit@protonmail.com>, 2019
+// the german umlauts are placed over the characters without diaeresis, the sharp-s over the s
+// the swedish ao is placed over the p, since it's closed to the position on a swedish keyboard
+// the euro sign is placed over the e, as it is usual for german and swedish keyboards
+partial alphanumeric_keys
+xkb_symbols "de_se_fi" {
+
+ include "us(basic)"
+ include "eurosign(e)"
+ name[Group1] = "German, Swedish and Finnish (US)";
+
+ key <AC01> {[ a, A, adiaeresis, Adiaeresis ]};
+ key <AD09> {[ o, O, odiaeresis, Odiaeresis ]};
+ key <AC02> {[ s, S, ssharp, U1E9E ]};
+ key <AD07> {[ u, U, udiaeresis, Udiaeresis ]};
+ key <AD10> {[ p, P, aring, Aring ]};
+
+ include "level3(ralt_switch)"
+};