From a8d5af37a1d4ee1d0a25f86759c4c6cbe8f184d1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Aug 2014 01:57:24 +0200 Subject: add no dvorak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- res/keyboard/layout/no/dvorak | 139 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 res/keyboard/layout/no/dvorak diff --git a/res/keyboard/layout/no/dvorak b/res/keyboard/layout/no/dvorak new file mode 100644 index 0000000..c9a365b --- /dev/null +++ b/res/keyboard/layout/no/dvorak @@ -0,0 +1,139 @@ +information + language "Norwegian" + country "Norway" + variant "Dvorak" +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("å" "}" "]") +caps("p" "þ" "Þ") +# caps("y" "" "") +nocaps("f" "ª" "º") +caps("g" "ŋ" "Ŋ") +nocaps("c" "ç" "©") +nocaps("r" "®" "℗") +# caps("l" "" "") + +# caps("a" "" "") +caps("o" "œ" "Œ") +nocaps("e" "€" "¢") +caps("u" "π" "Π") +caps("i" "ı" "İ") +caps("d" "ð" "Ð") +caps("h" "ħ" "Ħ") +caps("t" "ŧ" "Ŧ") +# caps("n" "" "") + : "ß" + : "™" + +nocaps("ø" "|" "\\") +nocaps("æ" "{" "[") +nocaps("q" "←" "Ω") +nocaps("j" "↓" "↑") +nocaps("k" "→" "–") +nocaps("x" "×" "—") +caps("b" "đ" "Ð") +nocaps("m" "µ" "ĸ") +caps("w" "ł" "Ł") +caps("v" "‘" "“") +caps("z" "’" "”") + -- cgit v1.2.3-70-g09d2