aboutsummaryrefslogtreecommitdiffstats
path: root/res/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'res/keyboard')
-rw-r--r--res/keyboard/layout/ast/colemak151
-rw-r--r--res/keyboard/layout/ast/dvorak146
-rw-r--r--res/keyboard/layout/ast/qwerty154
3 files changed, 451 insertions, 0 deletions
diff --git a/res/keyboard/layout/ast/colemak b/res/keyboard/layout/ast/colemak
new file mode 100644
index 0000000..f068e4e
--- /dev/null
+++ b/res/keyboard/layout/ast/colemak
@@ -0,0 +1,151 @@
+information
+ language "Asturian"
+ 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
+ <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("f" "đ" "ª")
+caps("p" "þ" "Þ")
+caps("g" "ŋ" "Ŋ")
+<altgr letter j> : <dead letter ˀ>
+<altgr shift letter j> : <dead letter \u031B> # horn
+nocaps("l" "ḷ" "Ḷ")
+nocaps("u" "↓" "↑")
+nocaps("y" "←" "→")
+<altgr letter ñ> : <dead letter ~>
+<altgr shift letter ñ> : <dead letter ˝>
+
+<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("r" "¶" "®")
+nocaps("s" "ß" "§")
+caps("t" "ŧ" "Ŧ")
+caps("d" "ð" "Ð")
+caps("h" "ḥ" "Ḥ")
+<altgr letter n> : <dead letter ˛>
+<altgr shift letter n> : <dead letter ˙>
+nocaps("e" "€" "¢")
+caps("i" "œ" "Œ")
+caps("o" "ø" "Ø")
+
+<shift dead letter ´> : <dead letter ¨>
+<altgr dead letter ´> : "{"
+<altgr shift dead letter ´> : <dead letter ˇ>
+
+<altgr letter ç> : "}"
+<altgr shift letter ç> : <dead letter ˘>
+
+
+key("<" ">" "|" "¦")
+nocaps("z" "«" "⸘")
+nocaps("x" "»" "‽")
+nocaps("c" "¢" "©")
+nocaps("v" "“" "‘")
+nocaps("b" "”" "’")
+nocaps("k" "ĸ" "ı")
+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/ast/dvorak b/res/keyboard/layout/ast/dvorak
new file mode 100644
index 0000000..ca4c19b
--- /dev/null
+++ b/res/keyboard/layout/ast/dvorak
@@ -0,0 +1,146 @@
+information
+ language "Asturian"
+ 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
+ <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 16> : <letter .>
+<keycode 17> : <letter ,>
+<keycode 18> : <letter ñ>
+<keycode 26> : <dead letter `>
+<keycode 27> : <letter +>
+<keycode 40> : <dead letter ´>
+<keycode 43> : <letter ç>
+<keycode 86> : <letter <>
+<keycode 44> : <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
+
+
+<letter º> : "º"
+<shift letter º> : "ª"
+<altgr letter º> : "\\"
+<altgr shift letter º> : <dead letter °>
+key("1" "!" "|" "¹")
+key("2" "\"" "@" "²")
+key("3" "·" "#" "³")
+key("4" "$" "~" "¼")
+key("5" "%" "¦" "⅝")
+key("6" "&" "¬" "¾")
+key("7" "/" "½" "⅞")
+key("8" "(" "⅛" "⅜")
+<shift letter 9> : ")"
+<altgr letter 9> : "^"
+<altgr shift letter 9> : <void>
+<shift letter 0> : "="
+<altgr letter 0> : "`"
+<altgr shift letter 0> : <dead letter ˝>
+<letter '> : "'"
+<shift letter '> : "?"
+<altgr letter '> : <dead letter ¯>
+<altgr shift letter '> : <dead letter ˛>
+<letter ¡> : "¡"
+<shift letter ¡> : "¿"
+<altgr letter ¡> : <dead letter ˘>
+<altgr shift letter ¡> : <dead letter ˙>
+
+
+key("." ":" "<" "«")
+key("," ";" ">" "»")
+caps("ñ" "ł" "Ł")
+nocaps("p" "¶" "º")
+nocaps("y" "¥" "ª")
+caps("f" "ŧ" "Ŧ")
+caps("g" "đ" "Ð")
+nocaps("c" "¢" "©")
+caps("h" "ḥ" "Ḥ")
+caps("l" "ḷ" "Ḷ")
+<shift dead letter `> : <dead letter ^>
+<altgr dead letter `> : "["
+<altgr shift dead letter `> : <dead letter ˇ>
+<letter +> : "+"
+<shift letter +> : "*"
+<altgr letter +> : "]"
+<altgr shift letter +> : "±"
+
+
+caps("a" "æ" "Æ")
+caps("o" "ø" "Ø")
+nocaps("e" "€" "¢")
+caps("u" "å" "Å)
+caps("i" "œ" "Œ")
+caps("d" "ð" "Ð")
+nocaps("r" "®" "™")
+caps("t" "þ" "Þ")
+caps("n" "ŋ" "Ŋ")
+nocaps("s" "ß" "§")
+<shift dead letter ´> : <dead letter ¨>
+<altgr dead letter ´> : "{"
+<altgr shift dead letter ´> : <dead letter ~>
+<altgr letter ç> : "}"
+<altgr shift letter ç> : <dead letter ¸>
+
+
+key("<" ">" "‽" "⸘")
+<letter -> : "-"
+<shift letter -> : "_"
+<altgr letter -> : <dead letter \u0323>
+<altgr shift letter -> : <dead letter ¯>
+nocaps("q" "¤" "Ω")
+<altgr letter j> : <dead letter ˀ>
+<altgr shift letter j> : <dead letter \u031B> # horn
+nocaps("k" "ĸ" "ı")
+nocaps("x" "×" "÷")
+nocaps("b" "←" "→")
+nocaps("m" "µ" "£")
+nocaps("w" "↓" "↑")
+nocaps("v" "“" "‘")
+nocaps("z" "”" "’")
+
diff --git a/res/keyboard/layout/ast/qwerty b/res/keyboard/layout/ast/qwerty
new file mode 100644
index 0000000..416a2fc
--- /dev/null
+++ b/res/keyboard/layout/ast/qwerty
@@ -0,0 +1,154 @@
+information
+ language "Asturian"
+ 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("o" "ø" "Ø")
+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 shift letter ñ> : <dead letter ˝>
+
+<shift dead letter ´> : <dead letter ¨>
+<altgr dead letter ´> : "{"
+<altgr shift dead letter ´> : <dead letter ˇ>
+
+<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 ¯>
+