From dbc11123da38827bd1fdd33af5f68384dab8b34b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Aug 2014 00:33:49 +0200 Subject: place layouts in dirs by language code 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 | 178 ----------------------------------- res/keyboard/layout/sv/dvorak | 142 ++++++++++++++++++++++++++++ res/keyboard/layout/sv/pure | 201 ++++++++++++++++++++++++++++++++++++++++ res/keyboard/layout/sv/qwerty | 178 +++++++++++++++++++++++++++++++++++ res/keyboard/layout/sv/svdvorak | 128 +++++++++++++++++++++++++ res/keyboard/layout/sv_dvorak | 142 ---------------------------- res/keyboard/layout/sv_pure | 201 ---------------------------------------- res/keyboard/layout/sv_svdvorak | 128 ------------------------- 8 files changed, 649 insertions(+), 649 deletions(-) delete mode 100644 res/keyboard/layout/sv create mode 100644 res/keyboard/layout/sv/dvorak create mode 100644 res/keyboard/layout/sv/pure create mode 100644 res/keyboard/layout/sv/qwerty create mode 100644 res/keyboard/layout/sv/svdvorak delete mode 100644 res/keyboard/layout/sv_dvorak delete mode 100644 res/keyboard/layout/sv_pure delete mode 100644 res/keyboard/layout/sv_svdvorak (limited to 'res') diff --git a/res/keyboard/layout/sv b/res/keyboard/layout/sv deleted file mode 100644 index 6e955ef..0000000 --- a/res/keyboard/layout/sv +++ /dev/null @@ -1,178 +0,0 @@ -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 - : "\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("'" "*" "`" "×") -key("<" ">" "|" "¦") - - : "," - : ";" - : - : - - : "." - : ":" - : "·" - : - - : "-" - : "_" - : - : - - - : "Ω" - : - - : "ł" - : "Ł" - - : - : - - : "®" - : "™" - - : "þ" - : "Þ" - - : "←" - : - - : "↓" - : "↑" - - : "→" - : "ı" - - : "œ" - : "Œ" - - : "π" - : "Π" - - : - : - - - : "æ" - : "Æ" - - : "ß" - : - - : "ð" - : "Ð" - - : "đ" - : "ª" - - : "ŋ" - : "Ŋ" - - : "ħ" - : "Ħ" - - : - : - - : "ĸ" - : - - : - : - - : "ø" - : "Ø" - - : - : - - - : - : - - : - : - - : "©" - : "℗" - - : "‘" - : "“" - - : "’" - : "”" - - : - : - - : "µ" - : "º" - 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 + : "\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("å" "\\" "Ω") +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" "ł" "Ł") + : "ß" + : + + : + : "Ω" + : "®" + : "™" + : "ĸ" + : +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 + : "\1" + : "\2" + : "\2" + : "\1" +end macro + +mod_letter("å" "Å") +mod_letter("ä" "Ä") +mod_letter("ö" "Ö") + + : + : + : + : + : + : + : + : + : + : + : + : + + +macro key/2 + : "\1" + : "\2" + : + : +end macro + +macro key/3 + : "\1" + : "\2" + : "\3" + : +end macro + +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("'" "*" "’" "×") +key("<" ">" "|" "¦") + + : "," + : ";" + + : "." + : ":" + : "»" + + : "-" + : "_" + : "–" + : "—" + + + : "©" + : "©" + : "®" + : "®" + : "℗" + : "℗" + : "™" + : "™" + + : "é" + : "É" + + : "ü" + : "Ü" + + : "↓" + : "↑" + + : "→" + : "←" + + : "π" + : "Π" + + + : "à" + : "À" + + : "z" + : "Z" + + : "ng" + : "gn" + + : "q" + : "Q" + + + : "’" + : "’" + : "»" + : "»" + : "”" + : + + : "w" + : "W" + + : "µ" + : "Ω" + + + : "ː" + : "ˑ" + : "˘" + : "." + : "ˈ" + : "ˌ" + : "ɑː" + : "a" + : "eː" + : "e" + : "iː" + : "ɪ" + : "uː" + : "ʊ" + : "yː" + : "ʏ" + : "ʉ̟ː" + : "ɵ" + : "oː" + : "ɔ" + : "æː" + : "æ" + : "ɛː" + : "ɛ" + : "œ̞ː" + : "œ̞" + : "øː" + : "œ" + : + : "ə" + : "ŋ" + : "ŋ" + : "ɧ" + : "ʝ" + : "ɕ" + : "ʀ" + : "ʃ" + : "ʂ" + : "ɖ" + : "ʈ" + : "ɳ" + : "ɭ" + : "̥" + diff --git a/res/keyboard/layout/sv/qwerty b/res/keyboard/layout/sv/qwerty new file mode 100644 index 0000000..239d11e --- /dev/null +++ b/res/keyboard/layout/sv/qwerty @@ -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 + : "\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("'" "*" "`" "×") +key("<" ">" "|" "¦") + + : "," + : ";" + : + : + + : "." + : ":" + : "·" + : + + : "-" + : "_" + : + : + + + : "Ω" + : + + : "ł" + : "Ł" + + : + : + + : "®" + : "™" + + : "þ" + : "Þ" + + : "←" + : + + : "↓" + : "↑" + + : "→" + : "ı" + + : "œ" + : "Œ" + + : "π" + : "Π" + + : + : + + + : "æ" + : "Æ" + + : "ß" + : + + : "ð" + : "Ð" + + : "đ" + : "ª" + + : "ŋ" + : "Ŋ" + + : "ħ" + : "Ħ" + + : + : + + : "ĸ" + : + + : + : + + : "ø" + : "Ø" + + : + : + + + : + : + + : + : + + : "©" + : "℗" + + : "‘" + : "“" + + : "’" + : "”" + + : + : + + : "µ" + : "º" + 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 + : "\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" "»" "º") +caps("j" "π" "Π") + : "ĸ" + : "©" +nocaps("x" "‘" "“") +nocaps("b" "’" "”") +caps("m" "µ" "º") + : + : + : "·" + : + : + : + diff --git a/res/keyboard/layout/sv_dvorak b/res/keyboard/layout/sv_dvorak deleted file mode 100644 index 2220fe8..0000000 --- a/res/keyboard/layout/sv_dvorak +++ /dev/null @@ -1,142 +0,0 @@ -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 - : "\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("å" "\\" "Ω") -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" "ł" "Ł") - : "ß" - : - - : - : "Ω" - : "®" - : "™" - : "ĸ" - : -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 deleted file mode 100644 index af1ebf3..0000000 --- a/res/keyboard/layout/sv_pure +++ /dev/null @@ -1,201 +0,0 @@ -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 - : "\1" - : "\2" - : "\2" - : "\1" -end macro - -mod_letter("å" "Å") -mod_letter("ä" "Ä") -mod_letter("ö" "Ö") - - : - : - : - : - : - : - : - : - : - : - : - : - - -macro key/2 - : "\1" - : "\2" - : - : -end macro - -macro key/3 - : "\1" - : "\2" - : "\3" - : -end macro - -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("'" "*" "’" "×") -key("<" ">" "|" "¦") - - : "," - : ";" - - : "." - : ":" - : "»" - - : "-" - : "_" - : "–" - : "—" - - - : "©" - : "©" - : "®" - : "®" - : "℗" - : "℗" - : "™" - : "™" - - : "é" - : "É" - - : "ü" - : "Ü" - - : "↓" - : "↑" - - : "→" - : "←" - - : "π" - : "Π" - - - : "à" - : "À" - - : "z" - : "Z" - - : "ng" - : "gn" - - : "q" - : "Q" - - - : "’" - : "’" - : "»" - : "»" - : "”" - : - - : "w" - : "W" - - : "µ" - : "Ω" - - - : "ː" - : "ˑ" - : "˘" - : "." - : "ˈ" - : "ˌ" - : "ɑː" - : "a" - : "eː" - : "e" - : "iː" - : "ɪ" - : "uː" - : "ʊ" - : "yː" - : "ʏ" - : "ʉ̟ː" - : "ɵ" - : "oː" - : "ɔ" - : "æː" - : "æ" - : "ɛː" - : "ɛ" - : "œ̞ː" - : "œ̞" - : "øː" - : "œ" - : - : "ə" - : "ŋ" - : "ŋ" - : "ɧ" - : "ʝ" - : "ɕ" - : "ʀ" - : "ʃ" - : "ʂ" - : "ɖ" - : "ʈ" - : "ɳ" - : "ɭ" - : "̥" - diff --git a/res/keyboard/layout/sv_svdvorak b/res/keyboard/layout/sv_svdvorak deleted file mode 100644 index c6ed4ab..0000000 --- a/res/keyboard/layout/sv_svdvorak +++ /dev/null @@ -1,128 +0,0 @@ -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" "»" "º") -caps("j" "π" "Π") - : "ĸ" - : "©" -nocaps("x" "‘" "“") -nocaps("b" "’" "”") -caps("m" "µ" "º") - : - : - : "·" - : - : - : - -- cgit v1.2.3-70-g09d2