From c426f7cded325a9dcb59a2f37490069f28432d07 Mon Sep 17 00:00:00 2001 From: Taken Date: Tue, 8 Aug 2023 00:13:32 +0200 Subject: [PATCH] Adding qwertz layout Signed-off-by: Taken --- lua/keyseer/keyboard/qwertz.lua | 91 +++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 lua/keyseer/keyboard/qwertz.lua diff --git a/lua/keyseer/keyboard/qwertz.lua b/lua/keyseer/keyboard/qwertz.lua new file mode 100644 index 0000000..a3ec56a --- /dev/null +++ b/lua/keyseer/keyboard/qwertz.lua @@ -0,0 +1,91 @@ +local Keyboard = require("keyseer.keyboard") + +return Keyboard:new({ + layout = { + [1] = { + [1] = { normal = "", shifted = "" }, + [2] = { normal = "", shifted = "" }, + [3] = { normal = "", shifted = "" }, + [4] = { normal = "", shifted = "" }, + [5] = { normal = "", shifted = "" }, + [6] = { normal = "", shifted = "" }, + [7] = { normal = "", shifted = "" }, + [8] = { normal = "", shifted = "" }, + [9] = { normal = "", shifted = "" }, + [10] = { normal = "", shifted = "" }, + [11] = { normal = "", shifted = "" }, + }, + [2] = { + [1] = { normal = "`", shifted = "~" }, + [2] = { normal = "1", shifted = "!" }, + [3] = { normal = "2", shifted = "@" }, + [4] = { normal = "3", shifted = "#" }, + [5] = { normal = "4", shifted = "$" }, + [6] = { normal = "5", shifted = "%" }, + [7] = { normal = "6", shifted = "^" }, + [8] = { normal = "7", shifted = "&" }, + [9] = { normal = "8", shifted = "*" }, + [10] = { normal = "9", shifted = "(" }, + [11] = { normal = "0", shifted = ")" }, + [12] = { normal = "-", shifted = "_" }, + [13] = { normal = "=", shifted = "+" }, + [14] = { normal = "", shifted = "" }, + }, + [3] = { + [1] = { normal = "", shifted = "" }, -- tab + [2] = { normal = "q", shifted = "Q" }, + [3] = { normal = "w", shifted = "W" }, + [4] = { normal = "e", shifted = "E" }, + [5] = { normal = "r", shifted = "R" }, + [6] = { normal = "t", shifted = "T" }, + [7] = { normal = "z", shifted = "Y" }, + [8] = { normal = "u", shifted = "U" }, + [9] = { normal = "i", shifted = "I" }, + [10] = { normal = "o", shifted = "O" }, + [11] = { normal = "p", shifted = "P" }, + [12] = { normal = "[", shifted = "{" }, + [13] = { normal = "]", shifted = "}" }, + [14] = { normal = "\\", shifted = "|" }, + }, + [4] = { + [1] = { normal = "", shifted = "" }, + [2] = { normal = "a", shifted = "A" }, + [3] = { normal = "s", shifted = "S" }, + [4] = { normal = "d", shifted = "D" }, + [5] = { normal = "f", shifted = "F" }, + [6] = { normal = "g", shifted = "G" }, + [7] = { normal = "h", shifted = "H" }, + [8] = { normal = "j", shifted = "J" }, + [9] = { normal = "k", shifted = "K" }, + [10] = { normal = "l", shifted = "L" }, + [11] = { normal = ";", shifted = ":" }, + [12] = { normal = "'", shifted = '"' }, + [13] = { normal = "", shifted = "" }, + }, + [5] = { + [1] = { normal = "", shifted = "" }, + [2] = { normal = "y", shifted = "Z" }, + [3] = { normal = "x", shifted = "X" }, + [4] = { normal = "c", shifted = "C" }, + [5] = { normal = "v", shifted = "V" }, + [6] = { normal = "b", shifted = "B" }, + [7] = { normal = "n", shifted = "N" }, + [8] = { normal = "m", shifted = "M" }, + [9] = { normal = ",", shifted = "<" }, + [10] = { normal = ".", shifted = ">" }, + [11] = { normal = "/", shifted = "?" }, + [12] = { normal = "", shifted = "" }, + }, + [6] = { + [1] = { normal = "", shifted = "" }, + [2] = { normal = "", shifted = "" }, + [3] = { normal = "", shifted = "" }, + [4] = { normal = "", shifted = "" }, + [5] = { normal = "", shifted = "" }, + [6] = { normal = "Left", shifted = "Left" }, + [7] = { normal = "Up", shifted = "Up" }, + [8] = { normal = "Down", shifted = "Down" }, + [9] = { normal = "Right", shifted = "Right" }, + }, + }, +})