aboutsummaryrefslogtreecommitdiffstats
path: root/res/keyboard
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-18 14:02:57 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-18 14:02:57 +0200
commit0640c41dc110287055c81f94affedccaae246629 (patch)
tree2523f63fa7695a905c1b2377307442667fd4d317 /res/keyboard
parentadd dead glottal stop and dead horn to da, no and sv layouts (diff)
downloadmds-0640c41dc110287055c81f94affedccaae246629.tar.gz
mds-0640c41dc110287055c81f94affedccaae246629.tar.bz2
mds-0640c41dc110287055c81f94affedccaae246629.tar.xz
add es qwerty layouts
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--res/keyboard/layout/es/latin_american_qwerty175
-rw-r--r--res/keyboard/layout/es/qwerty153
2 files changed, 328 insertions, 0 deletions
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
+ <letter \1> : "\1"
+ <shift letter \1> : "\2"
+ <caps letter \1> : "\2"
+ <shift caps letter \1> : "\1"
+end macro
+
+mod_letter("ñ" "Ñ")
+mod_letter("ç" "Ç")
+
+<keycode 41> : <letter |>
+<keycode 12> : <letter '>
+<keycode 13> : <letter ¿>
+<keycode 26> : <dead 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/4
+ <letter \1> : "\1"
+ <shift letter \1> : "\2"
+ <altgr letter \1> : "\3"
+ <altgr shift letter \1> : "\4"
+end macro
+
+macro nocaps/2
+ <altgr letter \1> : "\2"
+ <altgr shift letter \1> : <void>
+end macro
+
+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
+
+
+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 ¿> : <dead letter ¸>
+<altgr shift letter ¿> : <dead letter ˛>
+
+
+nocaps("q" "Ω")
+caps("w" "ł" "Ł")
+nocaps("e" "€" "¢")
+nocaps("r" "¶" "®")
+caps("t" "ŧ" "Ŧ")
+nocaps("y" "←" "¥")
+nocaps("u" "↓" "↑")
+nocaps("i" "→" "ı")
+caps("p" "þ" "Þ")
+
+<shift dead letter ´> : <dead letter ¨>
+<altgr dead letter ´> : <dead letter ˘>
+<altgr shift dead letter ´> : <dead letter °>
+
+<letter +> : "+"
+<shift letter +> : "*"
+<altgr letter +> : <dead letter ~>
+<altgr shift letter +> : <dead letter ¯>
+
+
+caps("a" "æ" "Æ")
+nocaps("s" "ß" "§")
+caps("d" "ð" "Ð")
+nocaps("f" "đ" "º")
+caps("g" "ŋ" "Ŋ")
+caps("h" "ħ" "Ħ")
+
+<altgr letter j> : <dead letter ˀ>
+<altgr shift letter j> : <dead letter \u031B> # horn
+
+nocaps("k" "ĸ")
+caps("l" "œ" "Œ")
+
+<altgr letter ñ> : <dead letter ~>
+<altgr shiftletter ñ> : <dead letter ˝>
+
+<letter {> : "{"
+<shift letter {> : "["
+<altgr letter {> : <dead letter ^>
+<altgr shift letter {> : <void>
+
+<letter }> : "}"
+<shift letter }> : "]"
+<altgr letter }> : <dead letter `>
+<altgr shift letter }> : <void>
+
+
+key("<" ">" "|" "¦")
+nocaps("z" "«" "⸘")
+nocaps("x" "»" "‽")
+nocaps("c" "¢" "©")
+nocaps("v" "“" "‘")
+nocaps("b" "”" "’")
+<altgr letter n> : <dead letter ˛>
+<altgr shift letter n> : <dead letter ˙>
+nocaps("m" "µ" "º")
+
+<letter ,> : ","
+<shift letter ,> : ";"
+<altgr letter ,> : <dead letter ¸>
+<altgr shift letter ,> : "×"
+
+<letter .> : "."
+<shift letter .> : ":"
+<altgr letter .> : "·"
+<altgr shift letter .> : "÷"
+
+<letter -> : "-"
+<shift letter -> : "_"
+<altgr letter -> : <dead letter \u0323>
+<altgr shift letter -> : <dead letter ¯>
+
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
+ <letter \1> : "\1"
+ <shift letter \1> : "\2"
+ <caps letter \1> : "\2"
+ <shift caps letter \1> : "\1"
+end macro
+
+mod_letter("ñ" "Ñ")
+mod_letter("ç" "Ç")
+
+<keycode 41> : <letter º>
+<keycode 12> : <letter '>
+<keycode 13> : <letter ¡>
+<keycode 26> : <dead letter `>
+<keycode 27> : <letter +>
+<keycode 39> : <letter ñ>
+<keycode 40> : <dead letter ´>
+<keycode 43> : <letter ç>
+<keycode 86> : <letter <>
+<keycode 51> : <letter ,>
+<keycode 52> : <letter .>
+<keycode 53> : <letter ->
+
+
+macro key/4
+ <letter \1> : "\1"
+ <shift letter \1> : "\2"
+ <altgr letter \1> : "\3"
+ <altgr shift letter \1> : "\4"
+end macro
+
+macro nocaps/2
+ <altgr letter \1> : "\2"
+ <altgr shift letter \1> : <void>
+end macro
+
+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
+
+
+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 ¡> : <dead letter ~>
+<altgr shift letter ¡> : "~"
+
+
+nocaps("q" "Ω")
+caps("w" "ł" "Ł")
+nocaps("e" "€" "¢")
+nocaps("r" "¶" "®")
+caps("t" "ŧ" "Ŧ")
+nocaps("y" "←" "¥")
+nocaps("u" "↓" "↑")
+nocaps("i" "→" "ı")
+caps("p" "þ" "Þ")
+
+<shift dead letter `> : <dead letter ^>
+<altgr dead letter `> : "["
+<altgr shift dead letter `> : <dead letter °>
+
+<letter +> : "+"
+<shift letter +> : "*"
+<altgr letter +> : "]"
+<altgr shift letter +> : <dead letter ¯>
+
+
+caps("a" "æ" "Æ")
+nocaps("s" "ß" "§")
+caps("d" "ð" "Ð")
+nocaps("f" "đ" "º")
+caps("g" "ŋ" "Ŋ")
+caps("h" "ħ" "Ħ")
+
+<altgr letter j> : <dead letter ˀ>
+<altgr shift letter j> : <dead letter \u031B> # horn
+
+nocaps("k" "ĸ")
+caps("l" "œ" "Œ")
+
+<altgr letter ñ> : <dead letter ~>
+<altgr shiftletter ñ> : <dead letter ˝>
+
+<shift dead letter ´> : <dead letter ¨>
+<altgr dead letter ´> : "{"
+<altgr shift dead letter ´> : <void>
+
+<altgr letter ç> : "}"
+<altgr shift letter ç> : <dead letter ˘>
+
+
+key("<" ">" "|" "¦")
+nocaps("z" "«" "⸘")
+nocaps("x" "»" "‽")
+nocaps("c" "¢" "©")
+nocaps("v" "“" "‘")
+nocaps("b" "”" "’")
+<altgr letter n> : <dead letter ˛>
+<altgr shift letter n> : <dead letter ˙>
+nocaps("m" "µ" "º")
+
+<letter ,> : ","
+<shift letter ,> : ";"
+<altgr letter ,> : <dead letter ¸>
+<altgr shift letter ,> : "×"
+
+<letter .> : "."
+<shift letter .> : ":"
+<altgr letter .> : "·"
+<altgr shift letter .> : "÷"
+
+<letter -> : "-"
+<shift letter -> : "_"
+<altgr letter -> : <dead letter \u0323>
+<altgr shift letter -> : <dead letter ¯>
+