diff options
Diffstat (limited to 'res/keyboard/layout/sv')
-rw-r--r-- | res/keyboard/layout/sv | 178 |
1 files changed, 178 insertions, 0 deletions
diff --git a/res/keyboard/layout/sv b/res/keyboard/layout/sv new file mode 100644 index 0000000..d87b4a8 --- /dev/null +++ b/res/keyboard/layout/sv @@ -0,0 +1,178 @@ +information + language "Swedish" + country "Sweden" + 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 + + +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 -> : <dead letter \u0323> +<altgr shift letter -> : <dead letter ¯> + + +<altgr letter q> : "Ω" +<altgr shift letter q> : <void> + +<altgr "w"> : "ł" +<altgr "W"> : "Ł" + +<altgr letter e> : <void> +<altgr shift letter e> : <void> + +<altgr letter r> : "®" +<altgr shift letter r> : <void> + +<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 letter p> : <void> +<altgr shift letter p> : <void> + +<altgr letter å> : <dead letter °> +<altgr shift letter å> : <void> + + +<altgr "a"> : "æ" +<altgr "A"> : "Æ" + +<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 "ö"> : "ø" +<altgr "Ö"> : "Ø" + +<altgr letter ä> : <void> +<altgr shift letter ä> : <void> + + +<altgr letter z> : <void> +<altgr shift letter z> : <void> + +<altgr letter x> : <void> +<altgr shift letter x> : <void> + +<altgr letter c> : "©" +<altgr shift letter c> : <void> + +<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"> : "º" + |