From 03199850bbb2b924bcce0b0a1f17173bf0d5f0dc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Aug 2014 16:52:53 +0200 Subject: add ca layouts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- res/keyboard/layout/ca/colemak | 151 ++++++++++++++++++++++++++++++++++++++++ res/keyboard/layout/ca/dvorak | 146 ++++++++++++++++++++++++++++++++++++++ res/keyboard/layout/ca/qwerty | 154 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 451 insertions(+) create mode 100644 res/keyboard/layout/ca/colemak create mode 100644 res/keyboard/layout/ca/dvorak create mode 100644 res/keyboard/layout/ca/qwerty (limited to 'res') diff --git a/res/keyboard/layout/ca/colemak b/res/keyboard/layout/ca/colemak new file mode 100644 index 0000000..ea1cf50 --- /dev/null +++ b/res/keyboard/layout/ca/colemak @@ -0,0 +1,151 @@ +information + language "Catalan" + country "Spain" + variant "Colemak" +end information + +include "../common/colemak" +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("ç" "Ç") + + : + : + : + : + : + : + : + : + : + : + : + : + + +macro key/4 + : "\1" + : "\2" + : "\3" + : "\4" +end macro + +macro nocaps/2 + : "\2" + : +end macro + +macro nocaps/3 + : "\2" + : "\3" +end macro + +macro caps/3 + : "\2" + : "\3" + : "\3" + : "\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("'" "?" "\\" "¿") + : "¡" + : "¿" + : + : "~" + + +nocaps("q" "Ω" "¥") +caps("w" "ł" "Ł") +nocaps("f" "đ" "ª") +caps("p" "þ" "Þ") +caps("g" "ŋ" "Ŋ") + : + : # horn +nocaps("l" "ŀ" "Ŀ") +nocaps("u" "↓" "↑") +nocaps("y" "←" "→") + : + : + + : + : "[" + : + + : "+" + : "*" + : "]" + : + + +caps("a" "æ" "Æ") +nocaps("r" "¶" "®") +nocaps("s" "ß" "§") +caps("t" "ŧ" "Ŧ") +caps("d" "ð" "Ð") +caps("h" "ħ" "Ħ") + : + : +nocaps("e" "€" "¢") +caps("i" "œ" "Œ") +caps("o" "ø" "Ø") + + : + : "{" + : + + : "}" + : + + +key("<" ">" "|" "¦") +nocaps("z" "«" "⸘") +nocaps("x" "»" "‽") +nocaps("c" "¢" "©") +nocaps("v" "“" "‘") +nocaps("b" "”" "’") +nocaps("k" "ĸ" "ı") +nocaps("m" "µ" "º") + + : "," + : ";" + : + : "×" + + : "." + : ":" + : "·" + : "÷" + + : "-" + : "_" + : + : + diff --git a/res/keyboard/layout/ca/dvorak b/res/keyboard/layout/ca/dvorak new file mode 100644 index 0000000..c4b1d8a --- /dev/null +++ b/res/keyboard/layout/ca/dvorak @@ -0,0 +1,146 @@ +information + language "Catalan" + country "Spain" + 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("ç" "Ç") + + : + : + : + : + : + : + : + : + : + : + : + : + + +macro key/4 + : "\1" + : "\2" + : "\3" + : "\4" +end macro + +macro nocaps/2 + : "\2" + : +end macro + +macro nocaps/3 + : "\2" + : "\3" +end macro + +macro caps/3 + : "\2" + : "\3" + : "\3" + : "\2" +end macro + + + : "º" + : "ª" + : "\\" + : +key("1" "!" "|" "¹") +key("2" "\"" "@" "²") +key("3" "·" "#" "³") +key("4" "$" "~" "¼") +key("5" "%" "¦" "⅝") +key("6" "&" "¬" "¾") +key("7" "/" "½" "⅞") +key("8" "(" "⅛" "⅜") + : ")" + : "^" + : + : "=" + : "`" + : + : "'" + : "?" + : + : + : "¡" + : "¿" + : + : + + +key("." ":" "<" "«") +key("," ";" ">" "»") +caps("ñ" "ł" "Ł") +nocaps("p" "¶" "º") +nocaps("y" "¥" "ª") +caps("f" "ŧ" "Ŧ") +caps("g" "đ" "Ð") +nocaps("c" "¢" "©") +caps("h" "ħ" "Ħ") +caps("l" "ŀ" "Ŀ") + : + : "[" + : + : "+" + : "*" + : "]" + : "±" + + +caps("a" "æ" "Æ") +caps("o" "ø" "Ø") +nocaps("e" "€" "¢") +caps("u" "å" "Å) +caps("i" "œ" "Œ") +caps("d" "ð" "Ð") +nocaps("r" "®" "™") +caps("t" "þ" "Þ") +caps("n" "ŋ" "Ŋ") +nocaps("s" "ß" "§") + : + : "{" + : + : "}" + : + + +key("<" ">" "‽" "⸘") + : "-" + : "_" + : + : +nocaps("q" "¤" "Ω") + : + : # horn +nocaps("k" "ĸ" "ı") +nocaps("x" "×" "÷") +nocaps("b" "←" "→") +nocaps("m" "µ" "£") +nocaps("w" "↓" "↑") +nocaps("v" "“" "‘") +nocaps("z" "”" "’") + diff --git a/res/keyboard/layout/ca/qwerty b/res/keyboard/layout/ca/qwerty new file mode 100644 index 0000000..c6b2de5 --- /dev/null +++ b/res/keyboard/layout/ca/qwerty @@ -0,0 +1,154 @@ +information + language "Catalan" + country "Spain" + 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("ç" "Ç") + + : + : + : + : + : + : + : + : + : + : + : + : + + +macro key/4 + : "\1" + : "\2" + : "\3" + : "\4" +end macro + +macro nocaps/2 + : "\2" + : +end macro + +macro nocaps/3 + : "\2" + : "\3" +end macro + +macro caps/3 + : "\2" + : "\3" + : "\3" + : "\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("'" "?" "\\" "¿") + : "¡" + : "¿" + : + : "~" + + +nocaps("q" "Ω") +caps("w" "ł" "Ł") +nocaps("e" "€" "¢") +nocaps("r" "¶" "®") +caps("t" "ŧ" "Ŧ") +nocaps("y" "←" "¥") +nocaps("u" "↓" "↑") +nocaps("i" "→" "ı") +caps("o" "ø" "Ø") +caps("p" "þ" "Þ") + + : + : "[" + : + + : "+" + : "*" + : "]" + : + + +caps("a" "æ" "Æ") +nocaps("s" "ß" "§") +caps("d" "ð" "Ð") +nocaps("f" "đ" "ª") +caps("g" "ŋ" "Ŋ") +caps("h" "ħ" "Ħ") + + : + : # horn + +nocaps("k" "ĸ") +caps("l" "ŀ" "Ŀ") + + : + : + + : + : "{" + : + + : "}" + : + + +key("<" ">" "|" "¦") +nocaps("z" "«" "⸘") +nocaps("x" "»" "‽") +nocaps("c" "¢" "©") +nocaps("v" "“" "‘") +nocaps("b" "”" "’") + : + : +nocaps("m" "µ" "º") + + : "," + : ";" + : + : "×" + + : "." + : ":" + : "·" + : "÷" + + : "-" + : "_" + : + : + -- cgit v1.2.3-70-g09d2