diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-18 02:13:43 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-18 02:16:57 +0200 |
commit | 9d68707988e2226d710ea46069cbf5e83e5e13ab (patch) | |
tree | cec80b45036819ee4e0819d36f098536c7487e3e /res/keyboard/layout | |
parent | add no dvorak (diff) | |
download | mds-9d68707988e2226d710ea46069cbf5e83e5e13ab.tar.gz mds-9d68707988e2226d710ea46069cbf5e83e5e13ab.tar.bz2 mds-9d68707988e2226d710ea46069cbf5e83e5e13ab.tar.xz |
add da layouts
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'res/keyboard/layout')
-rw-r--r-- | res/keyboard/layout/da/colemak | 190 | ||||
-rw-r--r-- | res/keyboard/layout/da/dvorak | 139 | ||||
-rw-r--r-- | res/keyboard/layout/da/qwerty | 190 |
3 files changed, 519 insertions, 0 deletions
diff --git a/res/keyboard/layout/da/colemak b/res/keyboard/layout/da/colemak new file mode 100644 index 0000000..fa73203 --- /dev/null +++ b/res/keyboard/layout/da/colemak @@ -0,0 +1,190 @@ +information + language "Danish" + country "Denmark" + variant "Colemak" +end information + +include "../common/colemak" +include "../common/base" + + +function comma/0 + "," +end function +function altcomma/0 + "." +end function + +macro mod_letter/2 + <letter \1> : "\1" + <shift letter \1> : "\2" + <caps letter \1> : "\2" + <shift caps letter \1> : "\1" +end macro + +mod_letter("å" "Å") +mod_letter("æ" "Æ") +mod_letter("ø" "Ø") + +<keycode 41> : <letter |> +<keycode 12> : <letter +> +<keycode 13> : <dead letter ´> +<keycode 26> : <letter å> +<keycode 27> : <dead letter ¨> +<keycode 25> : <letter æ> +<keycode 40> : <letter ø> +<keycode 43> : <letter '> +<keycode 86> : <letter <> +<keycode 51> : <letter ,> +<keycode 52> : <letter .> +<keycode 53> : <letter -> + + +macro key/4 + <letter \1> : "\1" + <shift letter \1> : "\2" + <altgr letter \1> : "\3" + <altgr shift letter \1> : "\4" +end macro + +macro nocaps/3 + <altgr letter \1> : "\2" + <altgr shift letter \1> : "\3" +end macro + +macro caps/3 + <altgr letter \1> : "\2" + <altgr shift letter \1> : "\3" + <altgr caps letter \1> : "\3" + <altgr caps shift letter \1> : "\2" +end macro + + +key("|" "§" "¦" "¶") +key("1" "!" "¡" "¹") +key("2" "\"" "@" "²") +key("3" "#" "£" "³") +key("4" "¤" "$" "¼") +key("5" "%" "½" "¢") +key("6" "&" "¥" "⅝") +key("7" "/" "{" "÷") +key("8" "(" "[" "«") +key("9" ")" "]" "»") +key("0" "=" "}" "°") +key("+" "?" "±" "¿") +<shift dead letter ´> : <dead letter `> +<altgr dead letter ´> : "|" +<altgr shift dead letter ´> : "¦" + +<shift dead letter ¨> : <dead letter ^> +<altgr dead letter ¨> : <dead letter ~> +<altgr shift dead letter ¨> : <dead letter ˇ> + +key("'" "*" "`" "×") +key("<" ">" "\\" "¬") + +<letter ,> : "," +<shift letter ,> : ";" +<altgr letter ,> : <dead letter ¸> +<altgr shift letter ,> : <dead letter ˛> + +<letter .> : "." +<shift letter .> : ":" +<altgr letter .> : "·" +<altgr shift letter .> : <dead letter ˙> + +<letter -> : "-" +<shift letter -> : "_" +<altgr letter -> : "–" +<altgr shift letter -> : "—" + + +<altgr letter q> : "Ω" +<altgr shift letter q> : <void> + +<altgr "w"> : "ł" +<altgr "W"> : "Ł" + +<altgr letter e> : "€" +<altgr shift letter e> : "¢" + +<altgr letter r> : "®" +<altgr shift letter r> : "™" + +<altgr "t"> : "þ" +<altgr "T"> : "Þ" + +<altgr letter y> : "→" +<altgr shift letter y> : <void> + +<altgr letter u> : "↓" +<altgr shift letter u> : "↑" + +<altgr letter i> : <void> +<altgr shift letter i> : "ı" + +<altgr "o"> : "œ" +<altgr "O"> : "Œ" + +<altgr "p"> : "π" +<altgr "P"> : "Π" + +<altgr letter å> : <dead letter °> +<altgr shift letter å> : <void> + + +<altgr "a"> : <void> +<altgr "A"> : <void> + +<altgr "s"> : "ß" +<altgr "S"> : <void> + +<altgr "d"> : "ð" +<altgr "D"> : "Ð" + +<altgr "f"> : "đ" +<altgr "F"> : "ª" + +<altgr "g"> : "ŋ" +<altgr "G"> : "Ŋ" + +<altgr "h"> : "ħ" +<altgr "H"> : "Ħ" + +<altgr letter j> : <void> +<altgr shift letter j> : <void> + +<altgr letter k> : "ĸ" +<altgr shift letter k> : <void> + +<altgr letter l> : "←" +<altgr shift letter l> : <void> + +<altgr letter æ> : <dead letter ´> +<altgr shift letter æ> : <dead letter ˝̋> + +<altgr letter ø> : <dead letter ^> +<altgr shift letter ø> : <dead letter ˇ> + + +<altgr letter z> : "»" +<altgr shift letter z> : "›" + +<altgr letter x> : "«" +<altgr shift letter x> : "‹" + +<altgr letter c> : "©" +<altgr shift letter c> : "℗" + +<altgr letter v> : "‘" +<altgr shift letter v> : "“" + +<altgr letter b> : "’" +<altgr shift letter b> : "”" + +<altgr letter n> : <void> +<altgr shift letter N> : <void> + +<altgr "m"> : "µ" +<altgr "M"> : "º" + diff --git a/res/keyboard/layout/da/dvorak b/res/keyboard/layout/da/dvorak new file mode 100644 index 0000000..464aebf --- /dev/null +++ b/res/keyboard/layout/da/dvorak @@ -0,0 +1,139 @@ +information + language "Danish" + country "Denmark" + variant "Dvorak" +end information + +include "../common/dvorak" +include "../common/base" + + +function comma/0 + "," +end function +function altcomma/0 + "." +end function + +macro mod_letter/2 + <letter \1> : "\1" + <shift letter \1> : "\2" + <caps letter \1> : "\2" + <shift caps letter \1> : "\1" +end macro + +mod_letter("å" "Å") +mod_letter("æ" "Æ") +mod_letter("ø" "Ø") + +<keycode 41> : <letter |> +<keycode 12> : <letter +> +<keycode 13> : <dead letter \\> +<keycode 16> : <letter å> +<keycode 17> : <letter ,> +<keycode 18> : <letter .> +<keycode 26> : <letter '> +<keycode 27> : <dead letter ¨> +<keycode 40> : <letter -> +<keycode 43> : <letter <> +<keycode 86> : <letter ö> +<keycode 44> : <letter ä> + + +macro key/4 + <letter \1> : "\1" + <shift letter \1> : "\2" + <altgr letter \1> : "\3" + <altgr shift letter \1> : "\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("+" "?" "±" "¿") +<shift letter \\> : <dead letter `> +<altgr letter \\> : <dead letter ´> +<altgr shift letter \\> : "`" + +<shift dead letter ¨> : <dead letter ^> +<altgr dead letter ¨> : <dead letter ~> +<altgr shift dead letter ¨> : <dead letter ˇ> + +<letter '> : "'" +<shift letter '> : "*" +<altgr letter '> : <dead letter ^> +<altgr shift letter '> : <dead letter °> +key("<" ">" "«" "»") + + +<letter ,> : "," +<shift letter ,> : ";" +<altgr letter ,> : <dead letter ¸> +<altgr shift letter ,> : <dead letter ˛> + +<letter .> : "." +<shift letter .> : ":" +<altgr letter .> : "·" +<altgr shift letter .> : <dead letter ˙> + +<letter -> : "-" +<shift letter -> : "_" +<altgr letter -> : <dead letter \u0323> +<altgr shift letter -> : <dead letter ¯> + + +macro nocaps/3 + <altgr letter \1> : "\2" + <altgr shift letter \1> : "\3" +end macro + +macro caps/3 + <altgr letter \1> : "\2" + <altgr shift letter \1> : "\3" + <altgr caps letter \1> : "\3" + <altgr caps shift letter \1> : "\2" +end macro + + +nocaps("å" "}" "]") +caps("p" "þ" "Þ") +nocaps("y" "»" "›") +nocaps("f" "«" "‹") +caps("g" "ŋ" "Ŋ") +nocaps("c" "ç" "©") +nocaps("r" "®" "℗") +nocaps("l" "ª" "º") + +# caps("a" "" "") +caps("o" "œ" "Œ") +nocaps("e" "€" "¢") +caps("u" "π" "Π") +caps("i" "ı" "İ") +caps("d" "ð" "Ð") +caps("h" "ħ" "Ħ") +caps("t" "ŧ" "Ŧ") +# caps("n" "" "") +<altgr letter s> : "ß" +<altgr shift letter s> : "™" + +nocaps("ø" "|" "\\") +nocaps("æ" "{" "[") +nocaps("q" "←" "Ω") +nocaps("j" "↓" "↑") +nocaps("k" "→" "–") +nocaps("x" "×" "—") +caps("b" "đ" "Ð") +nocaps("m" "µ" "ĸ") +caps("w" "ł" "Ł") +caps("v" "‘" "“") +caps("z" "’" "”") + diff --git a/res/keyboard/layout/da/qwerty b/res/keyboard/layout/da/qwerty new file mode 100644 index 0000000..57435f9 --- /dev/null +++ b/res/keyboard/layout/da/qwerty @@ -0,0 +1,190 @@ +information + language "Danish" + country "Denmark" + variant "QWERTY" +end information + +include "../common/qwerty" +include "../common/base" + + +function comma/0 + "," +end function +function altcomma/0 + "." +end function + +macro mod_letter/2 + <letter \1> : "\1" + <shift letter \1> : "\2" + <caps letter \1> : "\2" + <shift caps letter \1> : "\1" +end macro + +mod_letter("å" "Å") +mod_letter("æ" "Æ") +mod_letter("ø" "Ø") + +<keycode 41> : <letter |> +<keycode 12> : <letter +> +<keycode 13> : <dead letter ´> +<keycode 26> : <letter å> +<keycode 27> : <dead letter ¨> +<keycode 39> : <letter æ> +<keycode 40> : <letter ø> +<keycode 43> : <letter '> +<keycode 86> : <letter <> +<keycode 51> : <letter ,> +<keycode 52> : <letter .> +<keycode 53> : <letter -> + + +macro key/4 + <letter \1> : "\1" + <shift letter \1> : "\2" + <altgr letter \1> : "\3" + <altgr shift letter \1> : "\4" +end macro + +macro nocaps/3 + <altgr letter \1> : "\2" + <altgr shift letter \1> : "\3" +end macro + +macro caps/3 + <altgr letter \1> : "\2" + <altgr shift letter \1> : "\3" + <altgr caps letter \1> : "\3" + <altgr caps shift letter \1> : "\2" +end macro + + +key("|" "§" "¦" "¶") +key("1" "!" "¡" "¹") +key("2" "\"" "@" "²") +key("3" "#" "£" "³") +key("4" "¤" "$" "¼") +key("5" "%" "½" "¢") +key("6" "&" "¥" "⅝") +key("7" "/" "{" "÷") +key("8" "(" "[" "«") +key("9" ")" "]" "»") +key("0" "=" "}" "°") +key("+" "?" "±" "¿") +<shift dead letter ´> : <dead letter `> +<altgr dead letter ´> : "|" +<altgr shift dead letter ´> : "¦" + +<shift dead letter ¨> : <dead letter ^> +<altgr dead letter ¨> : <dead letter ~> +<altgr shift dead letter ¨> : <dead letter ˇ> + +key("'" "*" "`" "×") +key("<" ">" "\\" "¬") + +<letter ,> : "," +<shift letter ,> : ";" +<altgr letter ,> : <dead letter ¸> +<altgr shift letter ,> : <dead letter ˛> + +<letter .> : "." +<shift letter .> : ":" +<altgr letter .> : "·" +<altgr shift letter .> : <dead letter ˙> + +<letter -> : "-" +<shift letter -> : "_" +<altgr letter -> : "–" +<altgr shift letter -> : "—" + + +<altgr letter q> : "Ω" +<altgr shift letter q> : <void> + +<altgr "w"> : "ł" +<altgr "W"> : "Ł" + +<altgr letter e> : "€" +<altgr shift letter e> : "¢" + +<altgr letter r> : "®" +<altgr shift letter r> : "™" + +<altgr "t"> : "þ" +<altgr "T"> : "Þ" + +<altgr letter y> : "←" +<altgr shift letter y> : <void> + +<altgr letter u> : "↓" +<altgr shift letter u> : "↑" + +<altgr letter i> : "→" +<altgr shift letter i> : "ı" + +<altgr "o"> : "œ" +<altgr "O"> : "Œ" + +<altgr "p"> : "π" +<altgr "P"> : "Π" + +<altgr letter å> : <dead letter °> +<altgr shift letter å> : <void> + + +<altgr "a"> : <void> +<altgr "A"> : <void> + +<altgr "s"> : "ß" +<altgr "S"> : <void> + +<altgr "d"> : "ð" +<altgr "D"> : "Ð" + +<altgr "f"> : "đ" +<altgr "F"> : "ª" + +<altgr "g"> : "ŋ" +<altgr "G"> : "Ŋ" + +<altgr "h"> : "ħ" +<altgr "H"> : "Ħ" + +<altgr letter j> : <void> +<altgr shift letter j> : <void> + +<altgr letter k> : "ĸ" +<altgr shift letter k> : <void> + +<altgr letter l> : <void> +<altgr shift letter l> : <void> + +<altgr letter æ> : <dead letter ´> +<altgr shift letter æ> : <dead letter ˝̋> + +<altgr letter ø> : <dead letter ^> +<altgr shift letter ø> : <dead letter ˇ> + + +<altgr letter z> : "»" +<altgr shift letter z> : "›" + +<altgr letter x> : "«" +<altgr shift letter x> : "‹" + +<altgr letter c> : "©" +<altgr shift letter c> : "℗" + +<altgr letter v> : "‘" +<altgr shift letter v> : "“" + +<altgr letter b> : "’" +<altgr shift letter b> : "”" + +<altgr letter n> : <void> +<altgr shift letter N> : <void> + +<altgr "m"> : "µ" +<altgr "M"> : "º" + |