From 3534a03ed5cda09437473b34aecdfbd9c8dce080 Mon Sep 17 00:00:00 2001 From: Simon Engel <74311832+SirSimon04@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:43:58 +0100 Subject: [PATCH 1/5] add layyout for now --- index.html | 2 + logic/layoutInfo.js | 1203 ++++++++++++++++++++++--------------------- 2 files changed, 627 insertions(+), 578 deletions(-) diff --git a/index.html b/index.html index 4c2de1e..57a7396 100644 --- a/index.html +++ b/index.html @@ -26,6 +26,8 @@ + diff --git a/logic/layoutInfo.js b/logic/layoutInfo.js index 5f66e58..b576b7e 100644 --- a/logic/layoutInfo.js +++ b/logic/layoutInfo.js @@ -1,585 +1,632 @@ var alphabet = "abcdefghijklmnopqrstuvwxyz"; levelDictionaries = { - azerty : { - 'lvl1' : 'qsdfjklm', - 'lvl2' : 'gh', - 'lvl3' : 'azer', - 'lvl4' : 'tycv', - 'lvl5' : 'uiop', - 'lvl6' : 'wxbn', - 'lvl7' : alphabet, - }, - dvorak : { - 'lvl1' : 'aoeuhtns', - 'lvl2' : 'id', - 'lvl3' : 'pyfg', - 'lvl4' : 'kxbm', - 'lvl5' : 'crlw', - 'lvl6' : 'qjvz', - 'lvl7' : alphabet, - }, - colemak : { - 'lvl1' : 'arstneio', - 'lvl2' : 'dh', - 'lvl3' : 'pgjl', - 'lvl4' : 'cvbk', - 'lvl5' : 'wfuy', - 'lvl6' : 'qzxm', - 'lvl7' : alphabet, - }, - colemakdh : { - 'lvl1' : 'arstneio', - 'lvl2' : 'dh', - 'lvl3' : 'wfyu', - 'lvl4' : 'plgm', - 'lvl5' : 'bcvk', - 'lvl6' : 'qxjz', - 'lvl7' : alphabet, - }, - lefthandeddvorak : { - 'lvl1' : 'dtheac', - 'lvl2' : 'yurso', - 'lvl3' : 'gvwni', - 'lvl4' : 'mljc', - 'lvl5' : 'qbkx', - 'lvl6' : 'pfz', - 'lvl7' : alphabet, - }, - qwerty : { - 'lvl1' : 'asdfer', - 'lvl2' : 'jkliuo', - 'lvl3' : 'ghty', - 'lvl4' : 'qwzx', - 'lvl5' : 'nmp', - 'lvl6' : 'cvb', - 'lvl7' : alphabet, - }, - tarmak : { - 'lvl1' : 'qwahzxcvbm', - 'lvl2' : 'nek', - 'lvl3' : 'ftg', - 'lvl4' : 'rsd', - 'lvl5' : 'pjyo', - 'lvl6' : 'lui', - 'lvl7' : alphabet, - }, - tarmakdh : { - 'lvl1' : 'qwagv', - 'lvl2' : 'mnekh', - 'lvl3' : 'ftbzxc', - 'lvl4' : 'rsd', - 'lvl5' : 'pjyo', - 'lvl6' : 'lui', - 'lvl7' : alphabet, - }, - workman : { - 'lvl1' : 'ashtneoi', - 'lvl2' : 'gy', - 'lvl3' : 'bjfu', - 'lvl4' : 'mcvk', - 'lvl5' : 'plzx', - 'lvl6' : 'qdrw', - 'lvl7' : alphabet, - }, - canary : { - 'lvl1' : 'crstneia', - 'lvl2' : 'dh', - 'lvl3' : 'lyuo', - 'lvl4' : 'pfgm', - 'lvl5' : 'bwkv', - 'lvl6' : 'jqzx', - 'lvl7' : alphabet, - }, - custom : { - 'lvl1' : '', - 'lvl2' : '', - 'lvl3' : '', - 'lvl4' : '', - 'lvl5' : '', - 'lvl6' : '', - 'lvl7' : alphabet, - }, - -} + azerty: { + lvl1: "qsdfjklm", + lvl2: "gh", + lvl3: "azer", + lvl4: "tycv", + lvl5: "uiop", + lvl6: "wxbn", + lvl7: alphabet, + }, + dvorak: { + lvl1: "aoeuhtns", + lvl2: "id", + lvl3: "pyfg", + lvl4: "kxbm", + lvl5: "crlw", + lvl6: "qjvz", + lvl7: alphabet, + }, + colemak: { + lvl1: "arstneio", + lvl2: "dh", + lvl3: "pgjl", + lvl4: "cvbk", + lvl5: "wfuy", + lvl6: "qzxm", + lvl7: alphabet, + }, + colemakdh: { + lvl1: "arstneio", + lvl2: "dh", + lvl3: "wfyu", + lvl4: "plgm", + lvl5: "bcvk", + lvl6: "qxjz", + lvl7: alphabet, + }, + lefthandeddvorak: { + lvl1: "dtheac", + lvl2: "yurso", + lvl3: "gvwni", + lvl4: "mljc", + lvl5: "qbkx", + lvl6: "pfz", + lvl7: alphabet, + }, + qwerty: { + lvl1: "asdfer", + lvl2: "jkliuo", + lvl3: "ghty", + lvl4: "qwzx", + lvl5: "nmp", + lvl6: "cvb", + lvl7: alphabet, + }, + tarmak: { + lvl1: "qwahzxcvbm", + lvl2: "nek", + lvl3: "ftg", + lvl4: "rsd", + lvl5: "pjyo", + lvl6: "lui", + lvl7: alphabet, + }, + tarmakdh: { + lvl1: "qwagv", + lvl2: "mnekh", + lvl3: "ftbzxc", + lvl4: "rsd", + lvl5: "pjyo", + lvl6: "lui", + lvl7: alphabet, + }, + workman: { + lvl1: "ashtneoi", + lvl2: "gy", + lvl3: "bjfu", + lvl4: "mcvk", + lvl5: "plzx", + lvl6: "qdrw", + lvl7: alphabet, + }, + canary: { + lvl1: "crstneia", + lvl2: "dh", + lvl3: "lyuo", + lvl4: "pfgm", + lvl5: "bwkv", + lvl6: "jqzx", + lvl7: alphabet, + }, + noted: { + lvl1: "csietnrh", + lvl2: "od", + lvl3: "aqpb", + lvl4: "üäöw", + lvl5: "yuml", + lvl6: "zvfjhkx", + lvl7: alphabet, + }, + custom: { + lvl1: "", + lvl2: "", + lvl3: "", + lvl4: "", + lvl5: "", + lvl6: "", + lvl7: alphabet, + }, +}; var layoutMaps = { - azerty : { - 'Minus' : ")", - 'Equal' : "=", - 'KeyQ' : "a", - 'KeyW' : 'z', - 'KeyE' : 'e', - 'KeyR' : 'r', - 'KeyT' : 't', - 'KeyY' : 'y', - 'KeyU' : 'u', - 'KeyI' : 'i', - 'KeyO' : 'o', - 'KeyP' : 'p', - 'BracketLeft' : '^', - 'BracketRight' : '$', - 'Backslash' : '\\', - 'KeyA' : 'q', - 'KeyS' : 's', - 'KeyD' : 'd', - 'KeyF' : 'f', - 'KeyG' : 'g', - 'KeyH' : 'h', - 'KeyJ' : 'j', - 'KeyK' : 'k', - 'KeyL' : 'l', - 'Semicolon' : 'm', - 'Quote' : "ù", - 'KeyZ' : '<', - 'KeyX' : 'w', - 'KeyC' : 'x', - 'KeyV' : 'c', - 'KeyB' : 'v', - 'KeyN' : 'b', - 'KeyM' : 'n', - 'Comma' : '.', - 'Period' : ';', - 'Slash' : '!', - 'shiftLayer' : 'default', - }, - dvorak : { - 'Minus' : "[", - 'Equal' : "]", - 'KeyQ' : "'", - 'KeyW' : ',', - 'KeyE' : '.', - 'KeyR' : 'p', - 'KeyT' : 'y', - 'KeyY' : 'f', - 'KeyU' : 'g', - 'KeyI' : 'c', - 'KeyO' : 'r', - 'KeyP' : 'l', - 'BracketLeft' : '/', - 'BracketRight' : '=', - 'Backslash' : '\\', - 'KeyA' : 'a', - 'KeyS' : 'o', - 'KeyD' : 'e', - 'KeyF' : 'u', - 'KeyG' : 'i', - 'KeyH' : 'd', - 'KeyJ' : 'h', - 'KeyK' : 't', - 'KeyL' : 'n', - 'Semicolon' : 's', - 'Quote' : '-', - 'KeyZ' : ';', - 'KeyX' : 'q', - 'KeyC' : 'j', - 'KeyV' : 'k', - 'KeyB' : 'x', - 'KeyN' : 'b', - 'KeyM' : 'm', - 'Comma' : 'w', - 'Period' : 'v', - 'Slash' : 'z', - 'Backquote' : '`', - 'Digit1' : '1', - 'Digit2' : '2', - 'Digit3' : '3', - 'shiftLayer' : { - 'KeyQ' : "\"", - 'KeyW' : '<', - 'KeyE' : '>', - 'KeyR' : 'P', - 'KeyT' : 'Y', - 'KeyY' : 'F', - 'KeyU' : 'G', - 'KeyI' : 'C', - 'KeyO' : 'R', - 'KeyP' : 'L', - 'BracketLeft' : '?', - 'KeyA' : 'A', - 'KeyS' : 'O', - 'KeyD' : 'E', - 'KeyF' : 'U', - 'KeyG' : 'I', - 'KeyH' : 'D', - 'KeyJ' : 'H', - 'KeyK' : 'T', - 'KeyL' : 'N', - 'Semicolon' : 'S', - 'KeyZ' : ':', - 'KeyX' : 'Q', - 'KeyC' : 'J', - 'KeyV' : 'K', - 'KeyB' : 'X', - 'KeyN' : 'B', - 'KeyM' : 'M', - 'Comma' : 'W', - 'Period' : 'V', - 'Slash' : 'Z', - 'Digit1' : '!' - } - }, - colemak : { - 'Minus' : "-", - 'Equal' : "=", - 'KeyQ' : "q", - 'KeyW' : 'w', - 'KeyE' : 'f', - 'KeyR' : 'p', - 'KeyT' : 'g', - 'KeyY' : 'j', - 'KeyU' : 'l', - 'KeyI' : 'u', - 'KeyO' : 'y', - 'KeyP' : ';', - 'BracketLeft' : '[', - 'BracketRight' : ']', - 'Backslash' : '\\', - 'KeyA' : 'a', - 'KeyS' : 'r', - 'KeyD' : 's', - 'KeyF' : 't', - 'KeyG' : 'd', - 'KeyH' : 'h', - 'KeyJ' : 'n', - 'KeyK' : 'e', - 'KeyL' : 'i', - 'Semicolon' : 'o', - 'Quote' : "'", - 'KeyZ' : 'z', - 'KeyX' : 'x', - 'KeyC' : 'c', - 'KeyV' : 'v', - 'KeyB' : 'b', - 'KeyN' : 'k', - 'KeyM' : 'm', - 'Comma' : ',', - 'Period' : '.', - 'Slash' : '/', - 'shiftLayer' : 'default', - }, - colemakdh : { - 'Minus' : "-", - 'Equal' : "=", - 'KeyQ' : "q", - 'KeyW' : 'w', - 'KeyE' : 'f', - 'KeyR' : 'p', - 'KeyT' : 'b', - 'KeyY' : 'j', - 'KeyU' : 'l', - 'KeyI' : 'u', - 'KeyO' : 'y', - 'KeyP' : ';', - 'BracketLeft' : '[', - 'BracketRight' : ']', - 'Backslash' : '\\', - 'KeyA' : 'a', - 'KeyS' : 'r', - 'KeyD' : 's', - 'KeyF' : 't', - 'KeyG' : 'g', - 'KeyH' : 'm', - 'KeyJ' : 'n', - 'KeyK' : 'e', - 'KeyL' : 'i', - 'Semicolon' : 'o', - 'Quote' : "'", - 'KeyZ' : 'x', - 'KeyX' : 'c', - 'KeyC' : 'd', - 'KeyV' : 'v', - 'KeyB' : 'z', - 'KeyN' : 'k', - 'KeyM' : 'h', - 'Comma' : ',', - 'Period' : '.', - 'Slash' : '/', - 'shiftLayer' : 'default', - }, - lefthandeddvorak : { - 'Digit1' : "[", - 'Digit2' : "]", - 'Digit3' : "/", - 'Digit4' : "p", - 'Digit5' : "f", - 'Digit6' : "m", - 'Digit7' : "l", - 'Digit8' : "j", - 'Digit9' : "4", - 'Digit0' : "3", - 'Minus' : "2", - 'Equal' : "1", - 'KeyQ' : ";", - 'KeyW' : 'q', - 'KeyE' : 'b', - 'KeyR' : 'y', - 'KeyT' : 'u', - 'KeyY' : 'r', - 'KeyU' : 's', - 'KeyI' : 'o', - 'KeyO' : '.', - 'KeyP' : '6', - 'BracketLeft' : '5', - 'BracketRight' : '=', - 'Backslash' : '\\', - 'KeyA' : '-', - 'KeyS' : 'k', - 'KeyD' : 'c', - 'KeyF' : 'd', - 'KeyG' : 't', - 'KeyH' : 'h', - 'KeyJ' : 'e', - 'KeyK' : 'a', - 'KeyL' : 'z', - 'Semicolon' : '8', - 'Quote' : "7", - 'KeyZ' : "'", - 'KeyX' : 'x', - 'KeyC' : 'g', - 'KeyV' : 'v', - 'KeyB' : 'w', - 'KeyN' : 'n', - 'KeyM' : 'i', - 'Comma' : ',', - 'Period' : '0', - 'Slash' : '9', - 'shiftLayer' : 'default', - }, - tarmak : { - 'Minus' : "-", - 'Equal' : "=", - 'KeyQ' : "q", - 'KeyW' : 'w', - 'KeyE' : 'f', - 'KeyR' : 'p', - 'KeyT' : 'g', - 'KeyY' : 'j', - 'KeyU' : 'l', - 'KeyI' : 'u', - 'KeyO' : 'y', - 'KeyP' : ';', - 'BracketLeft' : '[', - 'BracketRight' : ']', - 'Backslash' : '\\', - 'KeyA' : 'a', - 'KeyS' : 'r', - 'KeyD' : 's', - 'KeyF' : 't', - 'KeyG' : 'd', - 'KeyH' : 'h', - 'KeyJ' : 'n', - 'KeyK' : 'e', - 'KeyL' : 'i', - 'Semicolon' : 'o', - 'Quote' : "'", - 'KeyZ' : 'z', - 'KeyX' : 'x', - 'KeyC' : 'c', - 'KeyV' : 'v', - 'KeyB' : 'b', - 'KeyN' : 'k', - 'KeyM' : 'm', - 'Comma' : ',', - 'Period' : '.', - 'Slash' : '/', - 'shiftLayer' : 'default', - }, - tarmakdh : { - 'Minus' : "-", - 'Equal' : "=", - 'KeyQ' : "q", - 'KeyW' : 'w', - 'KeyE' : 'f', - 'KeyR' : 'p', - 'KeyT' : 'b', - 'KeyY' : 'j', - 'KeyU' : 'l', - 'KeyI' : 'u', - 'KeyO' : 'y', - 'KeyP' : ';', - 'BracketLeft' : '[', - 'BracketRight' : ']', - 'Backslash' : '\\', - 'KeyA' : 'a', - 'KeyS' : 'r', - 'KeyD' : 's', - 'KeyF' : 't', - 'KeyG' : 'g', - 'KeyH' : 'm', - 'KeyJ' : 'n', - 'KeyK' : 'e', - 'KeyL' : 'i', - 'Semicolon' : 'o', - 'Quote' : "'", - 'KeyZ' : 'x', - 'KeyX' : 'c', - 'KeyC' : 'd', - 'KeyV' : 'v', - 'KeyB' : 'z', - 'KeyN' : 'k', - 'KeyM' : 'h', - 'Comma' : ',', - 'Period' : '.', - 'Slash' : '/', - 'shiftLayer' : 'default', - }, - qwerty : { - 'Minus' : "-", - 'Equal' : "=", - 'KeyQ' : "q", - 'KeyW' : 'w', - 'KeyE' : 'e', - 'KeyR' : 'r', - 'KeyT' : 't', - 'KeyY' : 'y', - 'KeyU' : 'u', - 'KeyI' : 'i', - 'KeyO' : 'o', - 'KeyP' : 'p', - 'BracketLeft' : '[', - 'BracketRight' : ']', - 'Backslash' : '\\', - 'KeyA' : 'a', - 'KeyS' : 's', - 'KeyD' : 'd', - 'KeyF' : 'f', - 'KeyG' : 'g', - 'KeyH' : 'h', - 'KeyJ' : 'j', - 'KeyK' : 'k', - 'KeyL' : 'l', - 'Semicolon' : ';', - 'Quote' : "'", - 'KeyZ' : 'z', - 'KeyX' : 'x', - 'KeyC' : 'c', - 'KeyV' : 'v', - 'KeyB' : 'b', - 'KeyN' : 'n', - 'KeyM' : 'm', - 'Comma' : ',', - 'Period' : '.', - 'Slash' : '/', - 'shiftLayer' : 'default', - }, - workman : { - 'Minus' : "-", - 'Equal' : "=", - 'KeyQ' : "q", - 'KeyW' : 'd', - 'KeyE' : 'r', - 'KeyR' : 'w', - 'KeyT' : 'b', - 'KeyY' : 'j', - 'KeyU' : 'f', - 'KeyI' : 'u', - 'KeyO' : 'p', - 'KeyP' : ';', - 'BracketLeft' : '[', - 'BracketRight' : ']', - 'Backslash' : '\\', - 'KeyA' : 'a', - 'KeyS' : 's', - 'KeyD' : 'h', - 'KeyF' : 't', - 'KeyG' : 'g', - 'KeyH' : 'y', - 'KeyJ' : 'n', - 'KeyK' : 'e', - 'KeyL' : 'o', - 'Semicolon' : 'i', - 'Quote' : "'", - 'KeyZ' : 'z', - 'KeyX' : 'x', - 'KeyC' : 'm', - 'KeyV' : 'c', - 'KeyB' : 'v', - 'KeyN' : 'k', - 'KeyM' : 'l', - 'Comma' : ',', - 'Period' : '.', - 'Slash' : '/', - 'shiftLayer' : 'default', - }, - canary : { - 'Minus' : "-", - 'Equal' : "=", - 'KeyQ' : "w", - 'KeyW' : 'l', - 'KeyE' : 'y', - 'KeyR' : 'p', - 'KeyT' : 'b', - 'KeyY' : 'z', - 'KeyU' : 'f', - 'KeyI' : 'o', - 'KeyO' : 'u', - 'KeyP' : ';', - 'BracketLeft' : '[', - 'BracketRight' : ']', - 'Backslash' : '\\', - 'KeyA' : 'c', - 'KeyS' : 'r', - 'KeyD' : 's', - 'KeyF' : 't', - 'KeyG' : 'g', - 'KeyH' : 'm', - 'KeyJ' : 'n', - 'KeyK' : 'e', - 'KeyL' : 'i', - 'Semicolon' : 'a', - 'Quote' : "'", - 'KeyZ' : 'j', - 'KeyX' : 'v', - 'KeyC' : 'd', - 'KeyV' : 'k', - 'KeyB' : 'q', - 'KeyN' : 'x', - 'KeyM' : 'h', - 'Comma' : '/', - 'Period' : ',', - 'Slash' : '.', - 'shiftLayer' : 'default', - }, - custom : { - 'Minus' : " ", - 'Equal' : " ", - 'KeyQ' : " ", - 'KeyW' : ' ', - 'KeyE' : ' ', - 'KeyR' : ' ', - 'KeyT' : ' ', - 'KeyY' : ' ', - 'KeyU' : ' ', - 'KeyI' : ' ', - 'KeyO' : ' ', - 'KeyP' : ' ', - 'BracketLeft' : ' ', - 'BracketRight' : ' ', - 'Backslash' : ' ', - 'KeyA' : ' ', - 'KeyS' : ' ', - 'KeyD' : ' ', - 'KeyF' : ' ', - 'KeyG' : ' ', - 'KeyH' : ' ', - 'KeyJ' : ' ', - 'KeyK' : ' ', - 'KeyL' : ' ', - 'Semicolon' : ' ', - 'Quote' : " ", - 'KeyZ' : ' ', - 'KeyX' : ' ', - 'KeyC' : ' ', - 'KeyV' : ' ', - 'KeyB' : ' ', - 'KeyN' : ' ', - 'KeyM' : ' ', - 'Comma' : ' ', - 'Period' : ' ', - 'Slash' : ' ', - 'shiftLayer' : 'default', - }, -} + azerty: { + Minus: ")", + Equal: "=", + KeyQ: "a", + KeyW: "z", + KeyE: "e", + KeyR: "r", + KeyT: "t", + KeyY: "y", + KeyU: "u", + KeyI: "i", + KeyO: "o", + KeyP: "p", + BracketLeft: "^", + BracketRight: "$", + Backslash: "\\", + KeyA: "q", + KeyS: "s", + KeyD: "d", + KeyF: "f", + KeyG: "g", + KeyH: "h", + KeyJ: "j", + KeyK: "k", + KeyL: "l", + Semicolon: "m", + Quote: "ù", + KeyZ: "<", + KeyX: "w", + KeyC: "x", + KeyV: "c", + KeyB: "v", + KeyN: "b", + KeyM: "n", + Comma: ".", + Period: ";", + Slash: "!", + shiftLayer: "default", + }, + dvorak: { + Minus: "[", + Equal: "]", + KeyQ: "'", + KeyW: ",", + KeyE: ".", + KeyR: "p", + KeyT: "y", + KeyY: "f", + KeyU: "g", + KeyI: "c", + KeyO: "r", + KeyP: "l", + BracketLeft: "/", + BracketRight: "=", + Backslash: "\\", + KeyA: "a", + KeyS: "o", + KeyD: "e", + KeyF: "u", + KeyG: "i", + KeyH: "d", + KeyJ: "h", + KeyK: "t", + KeyL: "n", + Semicolon: "s", + Quote: "-", + KeyZ: ";", + KeyX: "q", + KeyC: "j", + KeyV: "k", + KeyB: "x", + KeyN: "b", + KeyM: "m", + Comma: "w", + Period: "v", + Slash: "z", + Backquote: "`", + Digit1: "1", + Digit2: "2", + Digit3: "3", + shiftLayer: { + KeyQ: '"', + KeyW: "<", + KeyE: ">", + KeyR: "P", + KeyT: "Y", + KeyY: "F", + KeyU: "G", + KeyI: "C", + KeyO: "R", + KeyP: "L", + BracketLeft: "?", + KeyA: "A", + KeyS: "O", + KeyD: "E", + KeyF: "U", + KeyG: "I", + KeyH: "D", + KeyJ: "H", + KeyK: "T", + KeyL: "N", + Semicolon: "S", + KeyZ: ":", + KeyX: "Q", + KeyC: "J", + KeyV: "K", + KeyB: "X", + KeyN: "B", + KeyM: "M", + Comma: "W", + Period: "V", + Slash: "Z", + Digit1: "!", + }, + }, + colemak: { + Minus: "-", + Equal: "=", + KeyQ: "q", + KeyW: "w", + KeyE: "f", + KeyR: "p", + KeyT: "g", + KeyY: "j", + KeyU: "l", + KeyI: "u", + KeyO: "y", + KeyP: ";", + BracketLeft: "[", + BracketRight: "]", + Backslash: "\\", + KeyA: "a", + KeyS: "r", + KeyD: "s", + KeyF: "t", + KeyG: "d", + KeyH: "h", + KeyJ: "n", + KeyK: "e", + KeyL: "i", + Semicolon: "o", + Quote: "'", + KeyZ: "z", + KeyX: "x", + KeyC: "c", + KeyV: "v", + KeyB: "b", + KeyN: "k", + KeyM: "m", + Comma: ",", + Period: ".", + Slash: "/", + shiftLayer: "default", + }, + colemakdh: { + Minus: "-", + Equal: "=", + KeyQ: "q", + KeyW: "w", + KeyE: "f", + KeyR: "p", + KeyT: "b", + KeyY: "j", + KeyU: "l", + KeyI: "u", + KeyO: "y", + KeyP: ";", + BracketLeft: "[", + BracketRight: "]", + Backslash: "\\", + KeyA: "a", + KeyS: "r", + KeyD: "s", + KeyF: "t", + KeyG: "g", + KeyH: "m", + KeyJ: "n", + KeyK: "e", + KeyL: "i", + Semicolon: "o", + Quote: "'", + KeyZ: "x", + KeyX: "c", + KeyC: "d", + KeyV: "v", + KeyB: "z", + KeyN: "k", + KeyM: "h", + Comma: ",", + Period: ".", + Slash: "/", + shiftLayer: "default", + }, + lefthandeddvorak: { + Digit1: "[", + Digit2: "]", + Digit3: "/", + Digit4: "p", + Digit5: "f", + Digit6: "m", + Digit7: "l", + Digit8: "j", + Digit9: "4", + Digit0: "3", + Minus: "2", + Equal: "1", + KeyQ: ";", + KeyW: "q", + KeyE: "b", + KeyR: "y", + KeyT: "u", + KeyY: "r", + KeyU: "s", + KeyI: "o", + KeyO: ".", + KeyP: "6", + BracketLeft: "5", + BracketRight: "=", + Backslash: "\\", + KeyA: "-", + KeyS: "k", + KeyD: "c", + KeyF: "d", + KeyG: "t", + KeyH: "h", + KeyJ: "e", + KeyK: "a", + KeyL: "z", + Semicolon: "8", + Quote: "7", + KeyZ: "'", + KeyX: "x", + KeyC: "g", + KeyV: "v", + KeyB: "w", + KeyN: "n", + KeyM: "i", + Comma: ",", + Period: "0", + Slash: "9", + shiftLayer: "default", + }, + tarmak: { + Minus: "-", + Equal: "=", + KeyQ: "q", + KeyW: "w", + KeyE: "f", + KeyR: "p", + KeyT: "g", + KeyY: "j", + KeyU: "l", + KeyI: "u", + KeyO: "y", + KeyP: ";", + BracketLeft: "[", + BracketRight: "]", + Backslash: "\\", + KeyA: "a", + KeyS: "r", + KeyD: "s", + KeyF: "t", + KeyG: "d", + KeyH: "h", + KeyJ: "n", + KeyK: "e", + KeyL: "i", + Semicolon: "o", + Quote: "'", + KeyZ: "z", + KeyX: "x", + KeyC: "c", + KeyV: "v", + KeyB: "b", + KeyN: "k", + KeyM: "m", + Comma: ",", + Period: ".", + Slash: "/", + shiftLayer: "default", + }, + tarmakdh: { + Minus: "-", + Equal: "=", + KeyQ: "q", + KeyW: "w", + KeyE: "f", + KeyR: "p", + KeyT: "b", + KeyY: "j", + KeyU: "l", + KeyI: "u", + KeyO: "y", + KeyP: ";", + BracketLeft: "[", + BracketRight: "]", + Backslash: "\\", + KeyA: "a", + KeyS: "r", + KeyD: "s", + KeyF: "t", + KeyG: "g", + KeyH: "m", + KeyJ: "n", + KeyK: "e", + KeyL: "i", + Semicolon: "o", + Quote: "'", + KeyZ: "x", + KeyX: "c", + KeyC: "d", + KeyV: "v", + KeyB: "z", + KeyN: "k", + KeyM: "h", + Comma: ",", + Period: ".", + Slash: "/", + shiftLayer: "default", + }, + qwerty: { + Minus: "-", + Equal: "=", + KeyQ: "q", + KeyW: "w", + KeyE: "e", + KeyR: "r", + KeyT: "t", + KeyY: "y", + KeyU: "u", + KeyI: "i", + KeyO: "o", + KeyP: "p", + BracketLeft: "[", + BracketRight: "]", + Backslash: "\\", + KeyA: "a", + KeyS: "s", + KeyD: "d", + KeyF: "f", + KeyG: "g", + KeyH: "h", + KeyJ: "j", + KeyK: "k", + KeyL: "l", + Semicolon: ";", + Quote: "'", + KeyZ: "z", + KeyX: "x", + KeyC: "c", + KeyV: "v", + KeyB: "b", + KeyN: "n", + KeyM: "m", + Comma: ",", + Period: ".", + Slash: "/", + shiftLayer: "default", + }, + workman: { + Minus: "-", + Equal: "=", + KeyQ: "q", + KeyW: "d", + KeyE: "r", + KeyR: "w", + KeyT: "b", + KeyY: "j", + KeyU: "f", + KeyI: "u", + KeyO: "p", + KeyP: ";", + BracketLeft: "[", + BracketRight: "]", + Backslash: "\\", + KeyA: "a", + KeyS: "s", + KeyD: "h", + KeyF: "t", + KeyG: "g", + KeyH: "y", + KeyJ: "n", + KeyK: "e", + KeyL: "o", + Semicolon: "i", + Quote: "'", + KeyZ: "z", + KeyX: "x", + KeyC: "m", + KeyV: "c", + KeyB: "v", + KeyN: "k", + KeyM: "l", + Comma: ",", + Period: ".", + Slash: "/", + shiftLayer: "default", + }, + canary: { + Minus: "-", + Equal: "=", + KeyQ: "w", + KeyW: "l", + KeyE: "y", + KeyR: "p", + KeyT: "b", + KeyY: "z", + KeyU: "f", + KeyI: "o", + KeyO: "u", + KeyP: ";", + BracketLeft: "[", + BracketRight: "]", + Backslash: "\\", + KeyA: "c", + KeyS: "r", + KeyD: "s", + KeyF: "t", + KeyG: "g", + KeyH: "m", + KeyJ: "n", + KeyK: "e", + KeyL: "i", + Semicolon: "a", + Quote: "'", + KeyZ: "j", + KeyX: "v", + KeyC: "d", + KeyV: "k", + KeyB: "q", + KeyN: "x", + KeyM: "h", + Comma: "/", + Period: ",", + Slash: ".", + shiftLayer: "default", + }, + noted: { + KeyQ: "z", + KeyW: "y", + KeyE: "u", + KeyR: "a", + KeyT: "q", + KeyY: "p", + KeyU: "b", + KeyI: "m", + KeyO: "l", + KeyP: "f", + KeyA: "c", + KeyS: "s", + KeyD: "i", + KeyF: "e", + KeyG: "o", + KeyH: "d", + KeyJ: "t", + KeyK: "n", + KeyL: "r", + KeyZ: "v", + KeyX: "x", + KeyC: "ü", + KeyV: "ö", + KeyB: "ä", + KeyN: "w", + KeyM: "g", + Minus: "-", + Equal: "=", + BracketLeft: "[", + BracketRight: "]", + Backslash: "\\", + Quote: "'", + Slash: "k", + shiftLayer: "default", + Semicolon: "h", + Comma: ",", + Period: "." + }, + custom: { + Minus: " ", + Equal: " ", + KeyQ: " ", + KeyW: " ", + KeyE: " ", + KeyR: " ", + KeyT: " ", + KeyY: " ", + KeyU: " ", + KeyI: " ", + KeyO: " ", + KeyP: " ", + BracketLeft: " ", + BracketRight: " ", + Backslash: " ", + KeyA: " ", + KeyS: " ", + KeyD: " ", + KeyF: " ", + KeyG: " ", + KeyH: " ", + KeyJ: " ", + KeyK: " ", + KeyL: " ", + Semicolon: " ", + Quote: " ", + KeyZ: " ", + KeyX: " ", + KeyC: " ", + KeyV: " ", + KeyB: " ", + KeyN: " ", + KeyM: " ", + Comma: " ", + Period: " ", + Slash: " ", + shiftLayer: "default", + }, +}; From 2481b2266f5b5410051c3a5aaa63a4d0f2042387 Mon Sep 17 00:00:00 2001 From: Simon Engel <74311832+SirSimon04@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:52:36 +0100 Subject: [PATCH 2/5] add some layoutinfo --- logic/layoutInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/layoutInfo.js b/logic/layoutInfo.js index b576b7e..59aeded 100644 --- a/logic/layoutInfo.js +++ b/logic/layoutInfo.js @@ -97,7 +97,7 @@ levelDictionaries = { lvl3: "aqpb", lvl4: "üäöw", lvl5: "yuml", - lvl6: "zvfjhkx", + lvl6: "zvfjhkxgß", lvl7: alphabet, }, custom: { From 559bb144138cfcdac1e0a1794a3585285a3f85b3 Mon Sep 17 00:00:00 2001 From: Simon Engel <74311832+SirSimon04@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:57:56 +0100 Subject: [PATCH 3/5] last fixes for noted layout --- logic/layoutInfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logic/layoutInfo.js b/logic/layoutInfo.js index 59aeded..8937afd 100644 --- a/logic/layoutInfo.js +++ b/logic/layoutInfo.js @@ -574,8 +574,8 @@ var layoutMaps = { KeyZ: "v", KeyX: "x", KeyC: "ü", - KeyV: "ö", - KeyB: "ä", + KeyV: "ä", + KeyB: "ö", KeyN: "w", KeyM: "g", Minus: "-", From 992851601e1bcd93a649357cd241faadad6e6728 Mon Sep 17 00:00:00 2001 From: Simon Engel <74311832+SirSimon04@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:03:55 +0100 Subject: [PATCH 4/5] add last keys for noted layout --- logic/layoutInfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logic/layoutInfo.js b/logic/layoutInfo.js index 8937afd..a67fc03 100644 --- a/logic/layoutInfo.js +++ b/logic/layoutInfo.js @@ -580,8 +580,8 @@ var layoutMaps = { KeyM: "g", Minus: "-", Equal: "=", - BracketLeft: "[", - BracketRight: "]", + BracketLeft: "j", + BracketRight: "ß", Backslash: "\\", Quote: "'", Slash: "k", From 8a1ee491db7ae51f10cc4670d3d1f41fb7dbe614 Mon Sep 17 00:00:00 2001 From: Simon Engel <74311832+SirSimon04@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:10:21 +0100 Subject: [PATCH 5/5] replace noted in dropdown --- index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/index.html b/index.html index 57a7396..2284415 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,6 @@ -