diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-18 01:26:34 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-18 01:26:34 +0200 |
commit | 15aebe363752d9693bc3459c9b26d70d7e270e7d (patch) | |
tree | 6f8ccc8301b2f983581fe44897c2e0d67096d7fa /res | |
parent | place layouts in dirs by language code (diff) | |
download | mds-15aebe363752d9693bc3459c9b26d70d7e270e7d.tar.gz mds-15aebe363752d9693bc3459c9b26d70d7e270e7d.tar.bz2 mds-15aebe363752d9693bc3459c9b26d70d7e270e7d.tar.xz |
add qwerty and colemak no and colemak sv
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'res')
-rw-r--r-- | res/keyboard/layout/common/colemak | 39 | ||||
l--------- | res/keyboard/layout/nb | 1 | ||||
l--------- | res/keyboard/layout/nn | 1 | ||||
-rw-r--r-- | res/keyboard/layout/no/colemak | 190 | ||||
-rw-r--r-- | res/keyboard/layout/no/qwerty | 190 | ||||
-rw-r--r-- | res/keyboard/layout/sv/colemak | 178 |
6 files changed, 599 insertions, 0 deletions
diff --git a/res/keyboard/layout/common/colemak b/res/keyboard/layout/common/colemak new file mode 100644 index 0000000..cf7b420 --- /dev/null +++ b/res/keyboard/layout/common/colemak @@ -0,0 +1,39 @@ +include "latin" + +<-ctrl keycode 2> : <letter 1> +<-ctrl keycode 3> : <letter 2> +<-ctrl keycode 4> : <letter 3> +<-ctrl keycode 5> : <letter 4> +<-ctrl keycode 6> : <letter 5> +<-ctrl keycode 7> : <letter 6> +<-ctrl keycode 8> : <letter 7> +<-ctrl keycode 9> : <letter 8> +<-ctrl keycode 10> : <letter 9> +<-ctrl keycode 11> : <letter 0> +<-ctrl keycode 16> : <letter q> +<-ctrl keycode 17> : <letter w> +<-ctrl keycode 18> : <letter f> +<-ctrl keycode 19> : <letter p> +<-ctrl keycode 20> : <letter g> +<-ctrl keycode 21> : <letter j> +<-ctrl keycode 22> : <letter l> +<-ctrl keycode 23> : <letter u> +<-ctrl keycode 24> : <letter y> +<-ctrl keycode 30> : <letter a> +<-ctrl keycode 31> : <letter r> +<-ctrl keycode 32> : <letter s> +<-ctrl keycode 33> : <letter t> +<-ctrl keycode 34> : <letter d> +<-ctrl keycode 35> : <letter h> +<-ctrl keycode 36> : <letter n> +<-ctrl keycode 37> : <letter e> +<-ctrl keycode 38> : <letter i> +<-ctrl keycode 39> : <letter o> +<-ctrl keycode 44> : <letter z> +<-ctrl keycode 45> : <letter x> +<-ctrl keycode 46> : <letter c> +<-ctrl keycode 47> : <letter v> +<-ctrl keycode 48> : <letter b> +<-ctrl keycode 49> : <letter k> +<-ctrl keycode 50> : <letter m> + diff --git a/res/keyboard/layout/nb b/res/keyboard/layout/nb new file mode 120000 index 0000000..54299a4 --- /dev/null +++ b/res/keyboard/layout/nb @@ -0,0 +1 @@ +no
\ No newline at end of file diff --git a/res/keyboard/layout/nn b/res/keyboard/layout/nn new file mode 120000 index 0000000..54299a4 --- /dev/null +++ b/res/keyboard/layout/nn @@ -0,0 +1 @@ +no
\ No newline at end of file diff --git a/res/keyboard/layout/no/colemak b/res/keyboard/layout/no/colemak new file mode 100644 index 0000000..a721ba6 --- /dev/null +++ b/res/keyboard/layout/no/colemak @@ -0,0 +1,190 @@ +information + language "Norwegian" + country "Norway" + 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("æ" "Æ") +mod_letter("ø" "Ø") + +<keycode 41> : <letter |> +<keycode 12> : <letter +> +<keycode 13> : <dead letter \\> +<keycode 26> : <letter å> +<keycode 27> : <dead letter ¨> +<keycode 25> : <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/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("+" "?" "±" "¿") +<shift dead letter \\> : <dead letter `> +<altgr dead letter \\> : <dead letter ´> +<altgr shift dead letter \\> : "¬" + +<shift dead letter ¨> : <dead letter ^> +<altgr dead letter ¨> : <dead letter ~> +<altgr shift dead letter ¨> : <dead letter ˇ> + +key("'" "*" "`" "×") +key("<" ">" "½" "¾") + +<letter ,> : "," +<shift letter ,> : ";" +<altgr letter ,> : <dead letter ¸> +<altgr shift letter ,> : <dead letter ˛> + +<letter .> : "." +<shift letter .> : ":" +<altgr letter .> : "·" +<altgr shift letter .> : <dead letter ˙> + +<letter -> : "-" +<shift letter -> : "_" +<altgr letter -> : "–" +<altgr shift letter -> : "—" + + +<altgr letter q> : "Ω" +<altgr shift letter q> : <void> + +<altgr "w"> : "ł" +<altgr "W"> : "Ł" + +<altgr letter e> : "€" +<altgr shift letter e> : "¢" + +<altgr letter r> : "®" +<altgr shift letter r> : "™" + +<altgr "t"> : "þ" +<altgr "T"> : "Þ" + +<altgr letter y> : "→" +<altgr shift letter y> : <void> + +<altgr letter u> : "↓" +<altgr shift letter u> : "↑" + +<altgr letter i> : <void> +<altgr shift letter i> : "ı" + +<altgr "o"> : "œ" +<altgr "O"> : "Œ" + +<altgr "p"> : "π" +<altgr "P"> : "Π" + +<altgr letter å> : <dead letter °> +<altgr shift letter å> : <void> + + +<altgr "a"> : <void> +<altgr "A"> : <void> + +<altgr "s"> : "ß" +<altgr "S"> : <void> + +<altgr "d"> : "ð" +<altgr "D"> : "Ð" + +<altgr "f"> : "đ" +<altgr "F"> : "ª" + +<altgr "g"> : "ŋ" +<altgr "G"> : "Ŋ" + +<altgr "h"> : "ħ" +<altgr "H"> : "Ħ" + +<altgr letter j> : <void> +<altgr shift letter j> : <void> + +<altgr letter k> : "ĸ" +<altgr shift letter k> : <void> + +<altgr letter l> : "←" +<altgr shift letter l> : <void> + +<altgr letter ø> : <dead letter ´> +<altgr shift letter ø> : <dead letter ˝̋> + +<altgr letter æ> : <dead letter ^> +<altgr shift letter æ> : <dead letter ˇ> + + +<altgr letter z> : <void> +<altgr shift letter z> : <void> + +<altgr letter x> : <void> +<altgr shift letter x> : <void> + +<altgr letter c> : "©" +<altgr shift letter c> : "℗" + +<altgr letter v> : "‘" +<altgr shift letter v> : "“" + +<altgr letter b> : "’" +<altgr shift letter b> : "”" + +<altgr letter n> : <void> +<altgr shift letter N> : <void> + +<altgr "m"> : "µ" +<altgr "M"> : "º" + diff --git a/res/keyboard/layout/no/qwerty b/res/keyboard/layout/no/qwerty new file mode 100644 index 0000000..b1b1001 --- /dev/null +++ b/res/keyboard/layout/no/qwerty @@ -0,0 +1,190 @@ +information + language "Norwegian" + country "Norway" + 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("æ" "Æ") +mod_letter("ø" "Ø") + +<keycode 41> : <letter |> +<keycode 12> : <letter +> +<keycode 13> : <dead letter \\> +<keycode 26> : <letter å> +<keycode 27> : <dead 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/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("+" "?" "±" "¿") +<shift dead letter \\> : <dead letter `> +<altgr dead letter \\> : <dead letter ´> +<altgr shift dead letter \\> : "¬" + +<shift dead letter ¨> : <dead letter ^> +<altgr dead letter ¨> : <dead letter ~> +<altgr shift dead letter ¨> : <dead letter ˇ> + +key("'" "*" "`" "×") +key("<" ">" "½" "¾") + +<letter ,> : "," +<shift letter ,> : ";" +<altgr letter ,> : <dead letter ¸> +<altgr shift letter ,> : <dead letter ˛> + +<letter .> : "." +<shift letter .> : ":" +<altgr letter .> : "·" +<altgr shift letter .> : <dead letter ˙> + +<letter -> : "-" +<shift letter -> : "_" +<altgr letter -> : "–" +<altgr shift letter -> : "—" + + +<altgr letter q> : "Ω" +<altgr shift letter q> : <void> + +<altgr "w"> : "ł" +<altgr "W"> : "Ł" + +<altgr letter e> : "€" +<altgr shift letter e> : "¢" + +<altgr letter r> : "®" +<altgr shift letter r> : "™" + +<altgr "t"> : "þ" +<altgr "T"> : "Þ" + +<altgr letter y> : "←" +<altgr shift letter y> : <void> + +<altgr letter u> : "↓" +<altgr shift letter u> : "↑" + +<altgr letter i> : "→" +<altgr shift letter i> : "ı" + +<altgr "o"> : "œ" +<altgr "O"> : "Œ" + +<altgr "p"> : "π" +<altgr "P"> : "Π" + +<altgr letter å> : <dead letter °> +<altgr shift letter å> : <void> + + +<altgr "a"> : <void> +<altgr "A"> : <void> + +<altgr "s"> : "ß" +<altgr "S"> : <void> + +<altgr "d"> : "ð" +<altgr "D"> : "Ð" + +<altgr "f"> : "đ" +<altgr "F"> : "ª" + +<altgr "g"> : "ŋ" +<altgr "G"> : "Ŋ" + +<altgr "h"> : "ħ" +<altgr "H"> : "Ħ" + +<altgr letter j> : <void> +<altgr shift letter j> : <void> + +<altgr letter k> : "ĸ" +<altgr shift letter k> : <void> + +<altgr letter l> : <void> +<altgr shift letter l> : <void> + +<altgr letter ø> : <dead letter ´> +<altgr shift letter ø> : <dead letter ˝̋> + +<altgr letter æ> : <dead letter ^> +<altgr shift letter æ> : <dead letter ˇ> + + +<altgr letter z> : <void> +<altgr shift letter z> : <void> + +<altgr letter x> : <void> +<altgr shift letter x> : <void> + +<altgr letter c> : "©" +<altgr shift letter c> : "℗" + +<altgr letter v> : "‘" +<altgr shift letter v> : "“" + +<altgr letter b> : "’" +<altgr shift letter b> : "”" + +<altgr letter n> : <void> +<altgr shift letter N> : <void> + +<altgr "m"> : "µ" +<altgr "M"> : "º" + diff --git a/res/keyboard/layout/sv/colemak b/res/keyboard/layout/sv/colemak new file mode 100644 index 0000000..a280e4b --- /dev/null +++ b/res/keyboard/layout/sv/colemak @@ -0,0 +1,178 @@ +information + language "Swedish" + country "Sweden" + 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("ä" "Ä") +mod_letter("ö" "Ö") + +<keycode 41> : <letter §> +<keycode 12> : <letter +> +<keycode 13> : <dead letter ´> +<keycode 26> : <letter å> +<keycode 27> : <dead letter ¨> +<keycode 25> : <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 + + +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 ´> : "¬" + +<shift dead letter ¨> : <dead letter ^> +<altgr dead letter ¨> : <dead letter ~> +<altgr shift dead letter ¨> : <dead letter ˇ> + +key("'" "*" "`" "×") +key("<" ">" "|" "¦") + +<letter ,> : "," +<shift letter ,> : ";" +<altgr letter ,> : <dead letter ¸> +<altgr shift letter ,> : <dead letter ˛> + +<letter .> : "." +<shift letter .> : ":" +<altgr letter .> : "·" +<altgr shift letter .> : <dead letter ˙> + +<letter -> : "-" +<shift letter -> : "_" +<altgr letter -> : <dead letter \u0323> +<altgr shift letter -> : <dead letter ¯> + + +<altgr letter q> : "Ω" +<altgr shift letter q> : <void> + +<altgr "w"> : "ł" +<altgr "W"> : "Ł" + +<altgr letter e> : <void> +<altgr shift letter e> : <void> + +<altgr letter r> : "®" +<altgr shift letter r> : "™" + +<altgr "t"> : "þ" +<altgr "T"> : "Þ" + +<altgr letter y> : "→" +<altgr shift letter y> : <void> + +<altgr letter u> : "↓" +<altgr shift letter u> : "↑" + +<altgr letter i> : <void> +<altgr shift letter i> : "ı" + +<altgr "o"> : "œ" +<altgr "O"> : "Œ" + +<altgr "p"> : "π" +<altgr "P"> : "Π" + +<altgr letter å> : <dead letter °> +<altgr shift letter å> : <void> + + +<altgr "a"> : "æ" +<altgr "A"> : "Æ" + +<altgr "s"> : "ß" +<altgr "S"> : <void> + +<altgr "d"> : "ð" +<altgr "D"> : "Ð" + +<altgr "f"> : "đ" +<altgr "F"> : "ª" + +<altgr "g"> : "ŋ" +<altgr "G"> : "Ŋ" + +<altgr "h"> : "ħ" +<altgr "H"> : "Ħ" + +<altgr letter j> : <void> +<altgr shift letter j> : <void> + +<altgr letter k> : "ĸ" +<altgr shift letter k> : <void> + +<altgr letter l> : "←" +<altgr shift letter l> : <void> + +<altgr "ö"> : "ø" +<altgr "Ö"> : "Ø" + +<altgr letter ä> : <void> +<altgr shift letter ä> : <void> + + +<altgr letter z> : <void> +<altgr shift letter z> : <void> + +<altgr letter x> : <void> +<altgr shift letter x> : <void> + +<altgr letter c> : "©" +<altgr shift letter c> : "℗" + +<altgr letter v> : "‘" +<altgr shift letter v> : "“" + +<altgr letter b> : "’" +<altgr shift letter b> : "”" + +<altgr letter n> : <void> +<altgr shift letter N> : <void> + +<altgr "m"> : "µ" +<altgr "M"> : "º" + |