From 0640c41dc110287055c81f94affedccaae246629 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Aug 2014 14:02:57 +0200 Subject: add es qwerty 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/latin_american_qwerty | 175 +++++++++++++++++++++++++++ res/keyboard/layout/es/qwerty | 153 +++++++++++++++++++++++ 2 files changed, 328 insertions(+) create mode 100644 res/keyboard/layout/es/latin_american_qwerty create mode 100644 res/keyboard/layout/es/qwerty (limited to 'res/keyboard/layout') diff --git a/res/keyboard/layout/es/latin_american_qwerty b/res/keyboard/layout/es/latin_american_qwerty new file mode 100644 index 0000000..25a1b30 --- /dev/null +++ b/res/keyboard/layout/es/latin_american_qwerty @@ -0,0 +1,175 @@ +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, 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("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" "µ" "º") + + : "," + : ";" + : + : "×" + + : "." + : ":" + : "·" + : "÷" + + : "-" + : "_" + : + : + diff --git a/res/keyboard/layout/es/qwerty b/res/keyboard/layout/es/qwerty new file mode 100644 index 0000000..8b5245d --- /dev/null +++ b/res/keyboard/layout/es/qwerty @@ -0,0 +1,153 @@ +information + language "Spanish" + 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("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