diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-18 00:33:49 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-18 00:33:49 +0200 |
commit | dbc11123da38827bd1fdd33af5f68384dab8b34b (patch) | |
tree | 0600bba06411f279cba822eacaced162ce0d272f /res/keyboard/layout/sv | |
parent | add ℗ and ™ to sv layouts (diff) | |
download | mds-dbc11123da38827bd1fdd33af5f68384dab8b34b.tar.gz mds-dbc11123da38827bd1fdd33af5f68384dab8b34b.tar.bz2 mds-dbc11123da38827bd1fdd33af5f68384dab8b34b.tar.xz |
place layouts in dirs by language code
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'res/keyboard/layout/sv')
-rw-r--r-- | res/keyboard/layout/sv/dvorak | 142 | ||||
-rw-r--r-- | res/keyboard/layout/sv/pure | 201 | ||||
-rw-r--r-- | res/keyboard/layout/sv/qwerty (renamed from res/keyboard/layout/sv) | 4 | ||||
-rw-r--r-- | res/keyboard/layout/sv/svdvorak | 128 |
4 files changed, 473 insertions, 2 deletions
diff --git a/res/keyboard/layout/sv/dvorak b/res/keyboard/layout/sv/dvorak new file mode 100644 index 0000000..4a78f24 --- /dev/null +++ b/res/keyboard/layout/sv/dvorak @@ -0,0 +1,142 @@ +information + language "Swedish" + country "Sweden" + 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 dead letter ´> : <dead letter `> +<altgr dead letter ´> : "±" +<altgr shift dead letter ´> : "¬" + +<letter ,> : "," +<shift letter ,> : ";" +<altgr letter ,> : <dead letter ¸> +<altgr shift letter ,> : <dead letter ˛> + +<shift dead letter ¨> : <dead letter ^> +<altgr dead letter ¨> : <dead letter ~> +<altgr shift dead letter ¨> : <dead letter ˇ> + +<letter -> : "-" +<shift letter -> : "_" +<altgr letter -> : <dead letter \u0323> +<altgr shift letter -> : <dead letter ¯> + +<letter '> : "'" +<shift letter '> : "*" +<altgr letter '> : "`" +<altgr shift letter '> : <dead letter ×> + +key("<" ">" "|" "¦") + +<letter .> : "." +<shift letter .> : ":" +<altgr letter .> : "·" +<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("å" "\\" "Ω") +nocaps("ä" "{" "[") +nocaps("ö" "}" "]") +caps("p" "þ" "Þ") +nocaps("y" "←" "¥") +caps("f" "đ" "ª") +caps("g" "ŋ" "Ŋ") +nocaps("c" "©" "℗") +caps("r" "π" "Π") +caps("l" "ł" "Ł") + +caps("a" "æ" "Æ") +caps("o" "œ" "Œ") +nocaps("e" "€" "¢") +nocaps("u" "↓" "↑") +nocaps("i" "→" "ı") +caps("d" "ð" "Ð") +caps("h" "ħ" "Ħ") +caps("t" "ŧ" "Ŧ") +caps("n" "ł" "Ł") +<altgr letter s> : "ß" +<altgr shift letter s> : <void> + +<altgr letter q> : <void> +<altgr shift letter q> : "Ω" +<altgr letter j> : "®" +<altgr shift letter j> : "™" +<altgr letter k> : "ĸ" +<altgr shift letter k> : <void> +nocaps("x" "»" ">") +nocaps("b" "’" "”") +caps("m" "µ" "º") +caps("w" "ł" "Ł") +nocaps("v" "\"" "`") +nocaps("z" "«" "<") + diff --git a/res/keyboard/layout/sv/pure b/res/keyboard/layout/sv/pure new file mode 100644 index 0000000..d48238a --- /dev/null +++ b/res/keyboard/layout/sv/pure @@ -0,0 +1,201 @@ +information + language "Swedish" + country "Sweden" + variant "WERTY, pure" +end information + +# This variant is intended to increase the +# type speed when writing purely Swedish text. + + +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> : <letter ´> +<keycode 26> : <letter å> +<keycode 27> : <letter ¨> +<keycode 39> : <letter ö> +<keycode 40> : <letter ä> +<keycode 43> : <letter '> +<keycode 86> : <letter <> +<keycode 51> : <letter ,> +<keycode 52> : <letter .> +<keycode 53> : <letter -> + + +macro key/2 + <letter \1> : "\1" + <shift letter \1> : "\2" + <altgr letter \1> : <void> + <altgr shift letter \1> : <void> +end macro + +macro key/3 + <letter \1> : "\1" + <shift letter \1> : "\2" + <altgr letter \1> : "\3" + <altgr shift letter \1> : <void> +end macro + +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("+" "?" "\\" "⸮") +<letter ´> : "´" +<shift letter ´> : "`" +<altgr letter ´> : "±" +<altgr shift letter ´> : "¬" + +<letter ¨> : "¨" +<shift letter ¨> : "^" +<altgr letter ¨> : "~" + +key("'" "*" "’" "×") +key("<" ">" "|" "¦") + +<letter ,> : "," +<shift letter ,> : ";" + +<letter .> : "." +<shift letter .> : ":" +<altgr letter .> : "»" + +<letter -> : "-" +<shift letter -> : "_" +<altgr letter -> : "–" +<altgr shift letter -> : "—" + + +<letter q> : "©" +<caps letter q> : "©" +<shift letter q> : "®" +<caps shift letter q> : "®" +<altgr letter q> : "℗" +<altgr caps letter q> : "℗" +<altgr shift letter q> : "™" +<altgr caps shift letter q> : "™" + +<altgr "e"> : "é" +<altgr "E"> : "É" + +<altgr "y"> : "ü" +<altgr "Y"> : "Ü" + +<altgr letter u> : "↓" +<altgr shift letter u> : "↑" + +<altgr letter i> : "→" +<altgr shift letter i> : "←" + +<altgr "p"> : "π" +<altgr "P"> : "Π" + + +<altgr "a"> : "à" +<altgr "A"> : "À" + +<altgr "s"> : "z" +<altgr "S"> : "Z" + +<altgr "g"> : "ng" +<altgr "G"> : "gn" + +<altgr "k"> : "q" +<altgr "K"> : "Q" + + +<letter z> : "’" +<caps letter z> : "’" +<shift letter z> : "»" +<caps shift letter z> : "»" +<altgr letter z> : "”" +<altgr shift letter z> : <void> + +<altgr "v"> : "w" +<altgr "V"> : "W" + +<altgr letter m> : "µ" +<shift altgr letter m> : "Ω" + + +<hyper ":"> : "ː" +<hyper altgr ":"> : "ˑ" +<hyper altgr "."> : "˘" +<hyper "."> : "." +<hyper "'"> : "ˈ" +<hyper ","> : "ˌ" +<hyper "A"> : "ɑː" +<hyper "a"> : "a" +<hyper "E"> : "eː" +<hyper "e"> : "e" +<hyper "I"> : "iː" +<hyper "i"> : "ɪ" +<hyper "O"> : "uː" +<hyper "o"> : "ʊ" +<hyper "Y"> : "yː" +<hyper "y"> : "ʏ" +<hyper "U"> : "ʉ̟ː" +<hyper "u"> : "ɵ" +<hyper "Å"> : "oː" +<hyper "å"> : "ɔ" +<hyper "Ä"> : "æː" +<hyper "ä"> : "æ" +<hyper "Ä"> : "ɛː" +<hyper "ä"> : "ɛ" +<hyper "Ö"> : "œ̞ː" +<hyper "ö"> : "œ̞" +<hyper "Ö"> : "øː" +<hyper "ö"> : "œ" +<hyper "E"> : <void> +<hyper "e"> : "ə" +<hyper "g"> : "ŋ" +<hyper "n"> : "ŋ" +<hyper "h"> : "ɧ" +<hyper "j"> : "ʝ" +<hyper "c"> : "ɕ" +<hyper "r"> : "ʀ" +<hyper "s"> : "ʃ" +<hyper "S"> : "ʂ" +<hyper "D"> : "ɖ" +<hyper "T"> : "ʈ" +<hyper "N"> : "ɳ" +<hyper "L"> : "ɭ" +<hyper altgr "o"> : "̥" + diff --git a/res/keyboard/layout/sv b/res/keyboard/layout/sv/qwerty index 6e955ef..239d11e 100644 --- a/res/keyboard/layout/sv +++ b/res/keyboard/layout/sv/qwerty @@ -4,8 +4,8 @@ information variant "QWERTY" end information -include "common/qwerty" -include "common/base" +include "../common/qwerty" +include "../common/base" function comma/0 diff --git a/res/keyboard/layout/sv/svdvorak b/res/keyboard/layout/sv/svdvorak new file mode 100644 index 0000000..fa43840 --- /dev/null +++ b/res/keyboard/layout/sv/svdvorak @@ -0,0 +1,128 @@ +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 + <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 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 ˇ> + +<letter '> : "'" +<shift letter '> : "*" +<altgr letter '> : "`" +<altgr shift letter '> : <dead letter °> +key("<" ">" "|" "×") + + +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("å" "{" "Ω") +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" "ł" "Ł") +<altgr letter s> : "ß" +<altgr shift letter s> : "™" +<shift letter -> : "_" +caps("-" "ø" "Ø") + +nocaps("ö" "|" "¦") +nocaps("ä" "«" "ª") +nocaps("q" "»" "º") +caps("j" "π" "Π") +<altgr letter k> : "ĸ" +<altgr shift letter k> : "©" +nocaps("x" "‘" "“") +nocaps("b" "’" "”") +caps("m" "µ" "º") +<altgr letter w> : <dead letter ¸> +<altgr shift letter w> : <dead letter ˛> +<altgr letter v> : "·" +<altgr shift letter v> : <dead letter ˙> +<altgr letter z> : <dead letter \u0323> +<altgr shift letter z> : <dead letter ¯> + |