From 0f37f4b48f15b0fa4768f4545c8138335d460453 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 Aug 2014 17:48:00 +0200 Subject: add swedish keyboards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- res/keyboard/layout/sv_svdvorak | 129 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 res/keyboard/layout/sv_svdvorak (limited to 'res/keyboard/layout/sv_svdvorak') diff --git a/res/keyboard/layout/sv_svdvorak b/res/keyboard/layout/sv_svdvorak new file mode 100644 index 0000000..6ad7b7b --- /dev/null +++ b/res/keyboard/layout/sv_svdvorak @@ -0,0 +1,129 @@ +information + language "Swedish" + country "Sweden" + variant "Svdvorak" +end information + +include "common/dvorak" +include "common/base" + + +function comma/0 + "," +end function +function altcomma/0 + "." +end function + +macro mod_letter/2 + : "\1" + : "\2" + : "\2" + : "\1" +end macro + +mod_letter("å" "Å") +mod_letter("ä" "Ä") +mod_letter("ö" "Ö") + + : + : + : + : + : + : + : + : + : + : + : + : + + +macro key/4 + : "\1" + : "\2" + : "\3" + : "\4" +end macro + + +key("§" "½" "¶" "¾") +key("1" "!" "¡" "¹") +key("2" "\"" "@" "²") +key("3" "#" "£" "³") +key("4" "¤" "$" "¼") +key("5" "%" "€" "¢") +key("6" "&" "¥" "⅝") +key("7" "/" "{" "÷") +key("8" "(" "[" "«") +key("9" ")" "]" "»") +key("0" "=" "}" "°") +key("+" "?" "\\" "¿") + : + : "±" + : "¬" + + : + : + : + + : "'" + : "*" + : "`" + : +key("<" ">" "|" "×") + + +macro nocaps/3 + : "\2" + : "\3" +end macro + +macro caps/3 + : "\2" + : "\3" + : "\3" + : "\2" +end macro + +nocaps("å" "{" "Ω") +key("," ";" "[" "€") +key("." ":" "]" "¢") +nocaps("p" "}" "®") +caps("y" "þ" "Þ") +nocaps("f" "←" "¥") +nocaps("g" "↓" "↑") +nocaps("c" "→" "ı") +caps("l" "œ" "Œ") + +caps("a" "æ" "Æ") +nocaps("o" "(" "«") +nocaps("e" ")" "»") +caps("u" "đ" "Ð") +caps("d" "ð" "Ð") +caps("h" "ħ" "Ħ") +caps("t" "ŧ" "Ŧ") +caps("n" "ł" "Ł") + : "ß" + : + : "_" +caps("-" "ø" "Ø") + +nocaps("ö" "|" "¦") +nocaps("ä" "«" "ª") +nocaps("q" "»" "º") + : "©" + : + : "ĸ" + : +nocaps("x" "‘" "“") +nocaps("b" "’" "”") +caps("m" "µ" "º") + : + : + : "·" + : + : + : + -- cgit v1.2.3-70-g09d2