aboutsummaryrefslogtreecommitdiffstats
path: root/res/keyboard/layout/sv/dvorak
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-18 00:33:49 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-18 00:33:49 +0200
commitdbc11123da38827bd1fdd33af5f68384dab8b34b (patch)
tree0600bba06411f279cba822eacaced162ce0d272f /res/keyboard/layout/sv/dvorak
parentadd ℗ and ™ to sv layouts (diff)
downloadmds-dbc11123da38827bd1fdd33af5f68384dab8b34b.tar.gz
mds-dbc11123da38827bd1fdd33af5f68384dab8b34b.tar.bz2
mds-dbc11123da38827bd1fdd33af5f68384dab8b34b.tar.xz
place layouts in dirs by language code
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'res/keyboard/layout/sv/dvorak')
-rw-r--r--res/keyboard/layout/sv/dvorak142
1 files changed, 142 insertions, 0 deletions
diff --git a/res/keyboard/layout/sv/dvorak b/res/keyboard/layout/sv/dvorak
new file mode 100644
index 0000000..4a78f24
--- /dev/null
+++ b/res/keyboard/layout/sv/dvorak
@@ -0,0 +1,142 @@
+information
+ language "Swedish"
+ country "Sweden"
+ 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("ä" "Ä")
+mod_letter("ö" "Ö")
+
+<keycode 41> : <letter §>
+<keycode 12> : <letter +>
+<keycode 13> : <dead letter ´>
+<keycode 16> : <letter å>
+<keycode 17> : <letter ä>
+<keycode 18> : <letter ö>
+<keycode 26> : <letter ,>
+<keycode 27> : <dead letter ¨>
+<keycode 40> : <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
+
+
+key("§" "½" "¶" "¾")
+key("1" "!" "¡" "¹")
+key("2" "\"" "@" "²")
+key("3" "#" "£" "³")
+key("4" "¤" "$" "¼")
+key("5" "%" "€" "¢")
+key("6" "&" "¥" "⅝")
+key("7" "/" "{" "÷")
+key("8" "(" "[" "«")
+key("9" ")" "]" "»")
+key("0" "=" "}" "°")
+key("+" "?" "\\" "¿")
+<shift dead letter ´> : <dead letter `>
+<altgr dead letter ´> : "±"
+<altgr shift dead letter ´> : "¬"
+
+<letter ,> : ","
+<shift letter ,> : ";"
+<altgr letter ,> : <dead letter ¸>
+<altgr shift letter ,> : <dead letter ˛>
+
+<shift dead letter ¨> : <dead letter ^>
+<altgr dead letter ¨> : <dead letter ~>
+<altgr shift dead letter ¨> : <dead letter ˇ>
+
+<letter -> : "-"
+<shift letter -> : "_"
+<altgr letter -> : <dead letter \u0323>
+<altgr shift letter -> : <dead letter ¯>
+
+<letter '> : "'"
+<shift letter '> : "*"
+<altgr letter '> : "`"
+<altgr shift letter '> : <dead letter ×>
+
+key("<" ">" "|" "¦")
+
+<letter .> : "."
+<shift letter .> : ":"
+<altgr letter .> : "·"
+<altgr shift letter .> : <dead letter ˙>
+
+
+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
+
+
+nocaps("å" "\\" "Ω")
+nocaps("ä" "{" "[")
+nocaps("ö" "}" "]")
+caps("p" "þ" "Þ")
+nocaps("y" "←" "¥")
+caps("f" "đ" "ª")
+caps("g" "ŋ" "Ŋ")
+nocaps("c" "©" "℗")
+caps("r" "π" "Π")
+caps("l" "ł" "Ł")
+
+caps("a" "æ" "Æ")
+caps("o" "œ" "Œ")
+nocaps("e" "€" "¢")
+nocaps("u" "↓" "↑")
+nocaps("i" "→" "ı")
+caps("d" "ð" "Ð")
+caps("h" "ħ" "Ħ")
+caps("t" "ŧ" "Ŧ")
+caps("n" "ł" "Ł")
+<altgr letter s> : "ß"
+<altgr shift letter s> : <void>
+
+<altgr letter q> : <void>
+<altgr shift letter q> : "Ω"
+<altgr letter j> : "®"
+<altgr shift letter j> : "™"
+<altgr letter k> : "ĸ"
+<altgr shift letter k> : <void>
+nocaps("x" "»" ">")
+nocaps("b" "’" "”")
+caps("m" "µ" "º")
+caps("w" "ł" "Ł")
+nocaps("v" "\"" "`")
+nocaps("z" "«" "<")
+