From 6a7d21b79f43250b7f2b17be47c37b632af24faa Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Aug 2014 14:35:47 +0200 Subject: add es colemak 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/es/colemak | 151 ++++++++++++++++++++++ res/keyboard/layout/es/latin_american_colemak | 173 ++++++++++++++++++++++++++ 2 files changed, 324 insertions(+) create mode 100644 res/keyboard/layout/es/colemak create mode 100644 res/keyboard/layout/es/latin_american_colemak (limited to 'res/keyboard') diff --git a/res/keyboard/layout/es/colemak b/res/keyboard/layout/es/colemak new file mode 100644 index 0000000..c3f408c --- /dev/null +++ b/res/keyboard/layout/es/colemak @@ -0,0 +1,151 @@ +information + language "Spanish" + 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/es/latin_american_colemak b/res/keyboard/layout/es/latin_american_colemak new file mode 100644 index 0000000..ac13bf7 --- /dev/null +++ b/res/keyboard/layout/es/latin_american_colemak @@ -0,0 +1,173 @@ +information + language "Spanish" + country "Argentina" + country "Bolivia, Plurinational State of" + country "Chile" + country "Colombia" + country "Costa Rica" + country "Cuba" + country "Dominican Republic" + country "Ecuador" + country "El Salvador" + country "Guatemala" + country "Haiti" + country "Honduras" + country "Mexico" + country "Nicaragua" + country "Panama" + country "Paraguay" + country "Peru" + country "Puerto Rico" + country "Uruguay" + country "Venezuela, Bolivarian Republic of" + variant "Latin American, 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" "µ" "º") + + : "," + : ";" + : + : "×" + + : "." + : ":" + : "·" + : "÷" + + : "-" + : "_" + : + : + -- cgit v1.2.3-70-g09d2