From 15aebe363752d9693bc3459c9b26d70d7e270e7d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Aug 2014 01:26:34 +0200 Subject: add qwerty and colemak no and colemak sv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- res/keyboard/layout/common/colemak | 39 ++++++++ res/keyboard/layout/nb | 1 + res/keyboard/layout/nn | 1 + res/keyboard/layout/no/colemak | 190 +++++++++++++++++++++++++++++++++++++ res/keyboard/layout/no/qwerty | 190 +++++++++++++++++++++++++++++++++++++ res/keyboard/layout/sv/colemak | 178 ++++++++++++++++++++++++++++++++++ 6 files changed, 599 insertions(+) create mode 100644 res/keyboard/layout/common/colemak create mode 120000 res/keyboard/layout/nb create mode 120000 res/keyboard/layout/nn create mode 100644 res/keyboard/layout/no/colemak create mode 100644 res/keyboard/layout/no/qwerty create mode 100644 res/keyboard/layout/sv/colemak (limited to 'res') 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> : +<-ctrl keycode 3> : +<-ctrl keycode 4> : +<-ctrl keycode 5> : +<-ctrl keycode 6> : +<-ctrl keycode 7> : +<-ctrl keycode 8> : +<-ctrl keycode 9> : +<-ctrl keycode 10> : +<-ctrl keycode 11> : +<-ctrl keycode 16> : +<-ctrl keycode 17> : +<-ctrl keycode 18> : +<-ctrl keycode 19> : +<-ctrl keycode 20> : +<-ctrl keycode 21> : +<-ctrl keycode 22> : +<-ctrl keycode 23> : +<-ctrl keycode 24> : +<-ctrl keycode 30> : +<-ctrl keycode 31> : +<-ctrl keycode 32> : +<-ctrl keycode 33> : +<-ctrl keycode 34> : +<-ctrl keycode 35> : +<-ctrl keycode 36> : +<-ctrl keycode 37> : +<-ctrl keycode 38> : +<-ctrl keycode 39> : +<-ctrl keycode 44> : +<-ctrl keycode 45> : +<-ctrl keycode 46> : +<-ctrl keycode 47> : +<-ctrl keycode 48> : +<-ctrl keycode 49> : +<-ctrl keycode 50> : + 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 + : "\1" + : "\2" + : "\2" + : "\1" +end macro + +mod_letter("å" "Å") +mod_letter("æ" "Æ") +mod_letter("ø" "Ø") + + : + : + : + : + : + : + : + : + : + : + : + : + + +macro key/4 + : "\1" + : "\2" + : "\3" + : "\4" +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("+" "?" "±" "¿") + : + : + : "¬" + + : + : + : + +key("'" "*" "`" "×") +key("<" ">" "½" "¾") + + : "," + : ";" + : + : + + : "." + : ":" + : "·" + : + + : "-" + : "_" + : "–" + : "—" + + + : "Ω" + : + + : "ł" + : "Ł" + + : "€" + : "¢" + + : "®" + : "™" + + : "þ" + : "Þ" + + : "→" + : + + : "↓" + : "↑" + + : + : "ı" + + : "œ" + : "Œ" + + : "π" + : "Π" + + : + : + + + : + : + + : "ß" + : + + : "ð" + : "Ð" + + : "đ" + : "ª" + + : "ŋ" + : "Ŋ" + + : "ħ" + : "Ħ" + + : + : + + : "ĸ" + : + + : "←" + : + + : + : + + : + : + + + : + : + + : + : + + : "©" + : "℗" + + : "‘" + : "“" + + : "’" + : "”" + + : + : + + : "µ" + : "º" + 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 + : "\1" + : "\2" + : "\2" + : "\1" +end macro + +mod_letter("å" "Å") +mod_letter("æ" "Æ") +mod_letter("ø" "Ø") + + : + : + : + : + : + : + : + : + : + : + : + : + + +macro key/4 + : "\1" + : "\2" + : "\3" + : "\4" +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("+" "?" "±" "¿") + : + : + : "¬" + + : + : + : + +key("'" "*" "`" "×") +key("<" ">" "½" "¾") + + : "," + : ";" + : + : + + : "." + : ":" + : "·" + : + + : "-" + : "_" + : "–" + : "—" + + + : "Ω" + : + + : "ł" + : "Ł" + + : "€" + : "¢" + + : "®" + : "™" + + : "þ" + : "Þ" + + : "←" + : + + : "↓" + : "↑" + + : "→" + : "ı" + + : "œ" + : "Œ" + + : "π" + : "Π" + + : + : + + + : + : + + : "ß" + : + + : "ð" + : "Ð" + + : "đ" + : "ª" + + : "ŋ" + : "Ŋ" + + : "ħ" + : "Ħ" + + : + : + + : "ĸ" + : + + : + : + + : + : + + : + : + + + : + : + + : + : + + : "©" + : "℗" + + : "‘" + : "“" + + : "’" + : "”" + + : + : + + : "µ" + : "º" + 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 + : "\1" + : "\2" + : "\2" + : "\1" +end macro + +mod_letter("å" "Å") +mod_letter("ä" "Ä") +mod_letter("ö" "Ö") + + : + : + : + : + : + : + : + : + : + : + : + : + + +macro key/4 + : "\1" + : "\2" + : "\3" + : "\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("+" "?" "\\" "¿") + : + : "±" + : "¬" + + : + : + : + +key("'" "*" "`" "×") +key("<" ">" "|" "¦") + + : "," + : ";" + : + : + + : "." + : ":" + : "·" + : + + : "-" + : "_" + : + : + + + : "Ω" + : + + : "ł" + : "Ł" + + : + : + + : "®" + : "™" + + : "þ" + : "Þ" + + : "→" + : + + : "↓" + : "↑" + + : + : "ı" + + : "œ" + : "Œ" + + : "π" + : "Π" + + : + : + + + : "æ" + : "Æ" + + : "ß" + : + + : "ð" + : "Ð" + + : "đ" + : "ª" + + : "ŋ" + : "Ŋ" + + : "ħ" + : "Ħ" + + : + : + + : "ĸ" + : + + : "←" + : + + : "ø" + : "Ø" + + : + : + + + : + : + + : + : + + : "©" + : "℗" + + : "‘" + : "“" + + : "’" + : "”" + + : + : + + : "µ" + : "º" + -- cgit v1.2.3-70-g09d2