From 986fb5b00cfa27be40d1a8298f54119237c23899 Mon Sep 17 00:00:00 2001 From: Knut Ingvald Dietzel Date: Tue, 16 Jun 2015 20:30:18 +0200 Subject: [PATCH 1/3] Added Norwegian VKB-layout. --- data/norwegian.layout | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 data/norwegian.layout diff --git a/data/norwegian.layout b/data/norwegian.layout new file mode 100644 index 0000000..80237f9 --- /dev/null +++ b/data/norwegian.layout @@ -0,0 +1,77 @@ +; use keycodes from: +; http://doc.qt.nokia.com/4.7/qt.html#Key-enum +; +; - [] will leave an empty space in the keyboard +; - Recognized modifier keys are shift, alt, ctrl +; - Letters will automatically handle upper/lowercase +; - Empty row in the file acts as a keyboard row separator + +["esc", 0x1000000, "", 0x0] +[">", 0x3e, "<", 0x3c] +["|", 0x7c, "&", 0x26] +["!", 0x21, "?", 0x3f] +["\"", 0x22, "$", 0x24] +["'", 0x27, "`", 0x60] +["_", 0x5f, "@", 0x40] +["=", 0x3d, "~", 0x7e] +["/", 0x2f, "\\", 0x5c] +["-", 0x2d, "*", 0x2a] +[":backspace", 0x1000003, "", 0x0] + +[":tab", 0x1000001, "", 0x0] +["1", 0x31, "+", 0x2b] +["2", 0x32, "^", 0x5e] +["3", 0x33, "#", 0x23] +["4", 0x34, "%", 0x25] +["5", 0x35, "(", 0x28] +["6", 0x36, ")", 0x29] +["7", 0x37, "[", 0x5b] +["8", 0x38, "]", 0x5d] +["9", 0x39, "{", 0x7b] +["0", 0x30, "}", 0x7d] + +["q", 0x51, "", 0x0] +["w", 0x57, "", 0x0] +["e", 0x45, "", 0x0] +["r", 0x52, "", 0x0] +["t", 0x54, "", 0x0] +["y", 0x59, "", 0x0] +["u", 0x55, "", 0x0] +["i", 0x49, "", 0x0] +["o", 0x4f, "", 0x0] +["p", 0x50, "", 0x0] +[":enter", 0x1000004, "", 0x0] + +["a", 0x41, "", 0x0] +["s", 0x53, "", 0x0] +["d", 0x44, "", 0x0] +["f", 0x46, "", 0x0] +["g", 0x47, "", 0x0] +["h", 0x48, "", 0x0] +["j", 0x4a, "", 0x0] +["k", 0x4b, "", 0x0] +["l", 0x4c, "", 0x0] +["æ", 0xe6, "", 0x0] +["pgup", 0x1000016, "home", 0x1000010] + +[":shift", 0x2000000, "", 0x0] +["z", 0x5a, "", 0x0] +["x", 0x58, "", 0x0] +["c", 0x43, "", 0x0] +["v", 0x56, "", 0x0] +["b", 0x42, "", 0x0] +["n", 0x4e, "", 0x0] +["m", 0x4d, "", 0x0] +["ø", 0xf8, "", 0x0] +[":up", 0x1000013, "", 0x0] +["pgdn", 0x1000017, "end", 0x1000011] + +["ctrl", 0x4000000, "", 0x0] +["alt", 0x8000000, "", 0x0] +["å", 0xc5, "", 0x0] +[",", 0x2c, ";", 0x3b] +[[[" ", 0x20, "", 0x0]]] +[".", 0x2e, ":", 0x3a] +[":left", 0x1000012, "", 0x0] +[":down", 0x1000015, "", 0x0] +[":right", 0x1000014, "", 0x0] From d64ccdde6a8c813c4ebae8ac7f6d32d592d51f0d Mon Sep 17 00:00:00 2001 From: Knut Ingvald Dietzel Date: Tue, 16 Jun 2015 21:03:26 +0200 Subject: [PATCH 2/3] =?UTF-8?q?Moved=20=C3=B8=C3=A6=C3=A5=20closer=20to=20?= =?UTF-8?q?where=20they=20are=20on=20a=20std.=20Norwegian=20kbd.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/norwegian.layout | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/norwegian.layout b/data/norwegian.layout index 80237f9..7949ae5 100644 --- a/data/norwegian.layout +++ b/data/norwegian.layout @@ -40,7 +40,7 @@ ["i", 0x49, "", 0x0] ["o", 0x4f, "", 0x0] ["p", 0x50, "", 0x0] -[":enter", 0x1000004, "", 0x0] +["å", 0xc5, "", 0x0] ["a", 0x41, "", 0x0] ["s", 0x53, "", 0x0] @@ -52,7 +52,7 @@ ["k", 0x4b, "", 0x0] ["l", 0x4c, "", 0x0] ["æ", 0xe6, "", 0x0] -["pgup", 0x1000016, "home", 0x1000010] +["ø", 0xf8, "", 0x0] [":shift", 0x2000000, "", 0x0] ["z", 0x5a, "", 0x0] @@ -62,13 +62,13 @@ ["b", 0x42, "", 0x0] ["n", 0x4e, "", 0x0] ["m", 0x4d, "", 0x0] -["ø", 0xf8, "", 0x0] +["pgup", 0x1000016, "home", 0x1000010] [":up", 0x1000013, "", 0x0] -["pgdn", 0x1000017, "end", 0x1000011] +[":enter", 0x1000004, "", 0x0] ["ctrl", 0x4000000, "", 0x0] ["alt", 0x8000000, "", 0x0] -["å", 0xc5, "", 0x0] +["pgdn", 0x1000017, "end", 0x1000011] [",", 0x2c, ";", 0x3b] [[[" ", 0x20, "", 0x0]]] [".", 0x2e, ":", 0x3a] From e9965ed867171a2f1661edad27219a6e5489da3f Mon Sep 17 00:00:00 2001 From: Knut Ingvald Dietzel Date: Tue, 16 Jun 2015 21:57:42 +0200 Subject: [PATCH 3/3] Svapped around comma and pgup. --- data/norwegian.layout | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/norwegian.layout b/data/norwegian.layout index 7949ae5..cd9d5a0 100644 --- a/data/norwegian.layout +++ b/data/norwegian.layout @@ -62,15 +62,15 @@ ["b", 0x42, "", 0x0] ["n", 0x4e, "", 0x0] ["m", 0x4d, "", 0x0] -["pgup", 0x1000016, "home", 0x1000010] +[",", 0x2c, ";", 0x3b] [":up", 0x1000013, "", 0x0] [":enter", 0x1000004, "", 0x0] ["ctrl", 0x4000000, "", 0x0] ["alt", 0x8000000, "", 0x0] ["pgdn", 0x1000017, "end", 0x1000011] -[",", 0x2c, ";", 0x3b] [[[" ", 0x20, "", 0x0]]] +["pgup", 0x1000016, "home", 0x1000010] [".", 0x2e, ":", 0x3a] [":left", 0x1000012, "", 0x0] [":down", 0x1000015, "", 0x0]