diff --git a/frontend/ui/data/keyboardlayouts/he_keyboard.lua b/frontend/ui/data/keyboardlayouts/he_keyboard.lua index de7686b6c..cf43f2ecb 100644 --- a/frontend/ui/data/keyboardlayouts/he_keyboard.lua +++ b/frontend/ui/data/keyboardlayouts/he_keyboard.lua @@ -4,10 +4,8 @@ local pco = en_popup.pco local cop = en_popup.cop local cse = en_popup.cse local sec = en_popup.sec -local com = en_popup.com -- comma (,) -local prd = en_popup.prd -- period (.) -local _at = en_popup._at -local _eq = en_popup._eq -- equals sign (=) +local quo = en_popup.quo +--Hebrew Letters local aleph = he_popup.aleph local beis = he_popup.beis local gimmel = he_popup.gimmel @@ -31,6 +29,73 @@ local kuf = he_popup.kuf local reish = he_popup.reish local shin = he_popup.shin local taf = he_popup.taf +-- other +local _1_ = en_popup._1_ -- numeric key 1 +local _1p = en_popup._1p -- numeric key 1, popup sibling (they have north swipe ups of each other, the rest is the same) +local _1n = en_popup._1n -- numpad key 1 +local _1s = en_popup._1s -- superscript key 1 +local _2_ = en_popup._2_ +local _2p = en_popup._2p +local _2n = en_popup._2n +local _2s = en_popup._2s +local _3_ = en_popup._3_ +local _3p = en_popup._3p +local _3n = en_popup._3n +local _3s = en_popup._3s +local _4_ = en_popup._4_ +local _4p = en_popup._4p +local _4n = en_popup._4n +local _4s = en_popup._4s +local _5_ = en_popup._5_ +local _5p = en_popup._5p +local _5n = en_popup._5n +local _5s = en_popup._5s +local _6_ = en_popup._6_ +local _6p = en_popup._6p +local _6n = en_popup._6n +local _6s = en_popup._6s +local _7_ = en_popup._7_ +local _7p = en_popup._7p +local _7n = en_popup._7n +local _7s = en_popup._7s +local _8_ = en_popup._8_ +local _8p = en_popup._8p +local _8n = en_popup._8n +local _8s = en_popup._8s +local _9_ = en_popup._9_ +local _9p = en_popup._9p +local _9n = en_popup._9n +local _9s = en_popup._9s +local _0_ = en_popup._0_ +local _0p = en_popup._0p +local _0n = en_popup._0n +local _0s = en_popup._0s +local sla = en_popup.sla +local sl2 = en_popup.sl2 +local eql = en_popup.eql +local eq2 = en_popup.eq2 +local pls = en_popup.pls +local pl2 = en_popup.pl2 +local mns = en_popup.mns +local mn2 = en_popup.mn2 +local dsh = en_popup.dsh +local dgr = en_popup.dgr +local tpg = en_popup.tpg +local mth = en_popup.mth +local mt2 = en_popup.mt2 +local int = en_popup.int +local dif = en_popup.dif +local df2 = en_popup.df2 +local ls1 = en_popup.ls1 +local ls2 = en_popup.ls2 +local mr1 = en_popup.mr1 +local mr2 = en_popup.mr2 +local pdc = en_popup.pdc +local pd2 = en_popup.pd2 +local bar = en_popup.bar +local prm = en_popup.prm +local hsh = en_popup.hsh +local hs2 = en_popup.hs2 return { min_layer = 1, @@ -38,64 +103,68 @@ return { shiftmode_keys = {["๎ดต"] = true}, symbolmode_keys = { ["โŒฅ"] = true }, utf8mode_keys = {["๐ŸŒ"] = true}, + -- Width of any key can be modified by adding "width = 1.0, " in the list. keys = { - -- first row + -- First row + { -- R r S s + { _1p, _1_, "`", "!", }, + { _2p, _2_, "โ€˜", "ยก", }, + { _3p, _3_, "โ€™", dsh, }, + { _4p, _4_, "โ€œ", "_", }, + { _5p, _5_, "โ€", quo, }, + { _6p, _6_, eq2, eql, }, + { _7p, _7_, _7s, _7n, }, + { _8p, _8_, _8s, _8n, }, + { _9p, _9_, _9s, _9n, }, + { _0p, _0_, mn2, mns, }, + }, + -- Second row { -- 1 2 3 4 - { "ืณ", "ืด", "โ€ž", "0", }, - { "ึ˜ึ˜ึ™ึ™ ", kuf, "!", "1", }, - { "ึ˜ ", reish, _at, "2", }, - { "ึ—", aleph, "#", "3", }, - { "ึ– ", tes, "+", _eq, }, - { "ึ• ", vov, "โ‚ฌ", "(", }, - { "ึ” ", "ืŸ", "โ€ฐ", ")", }, - { "ึ“ ", mem_sofis, "|", "\\", }, - { "ึ’ ", pey, "?", "/", }, - { "ึ‘ ", pey_sofis, "~", "`", }, + { "ืณ", "ืด", dif, "?", }, + { "ึ˜ึ˜ึ™ึ™ ", kuf, int, "ยฟ", }, + { "ึ˜ ", reish, mth, "~", }, + { "ึ—", aleph, mt2, "\\", }, + { "ึ– ", tes, df2, bar, }, + { "ึ• ", vov, sl2, sla, }, + { "ึ” ", "ืŸ", _4s, _4n, }, + { "ึ“ ", mem_sofis, _5s, _5n, }, + { "ึ’ ", pey, _6s, _6n, }, + { "ึ‘ ", pey_sofis, pl2, pls, }, }, - -- second row + -- Third row { -- 1 2 3 4 - { "ึผ ", shin, "โ€ฆ", _at, }, - { "ึป ", daled, "$", "4", }, - { "ึด ", gimmel, "%", "5", }, - { "ึน", chof, "^", "6", }, - { "ึฐ ", ayin, ":", ";", }, - { "ึต ", yud, '"', "'", }, - { "ึถ ", "ื—", "{", "[", }, - { "ึท ", lamed, "}", "]", }, - { "ึธ ", "ืš", "_", "-", }, - { sec, cse, sec, cse, }, -- comma/semicolon with CSS popup block + { "ึผ ", shin, ls2, ls1, }, + { "ึป ", daled, mr2, mr1, }, + { "ึด ", gimmel, dgr, "(", }, + { "ึน", chof, tpg, ")", }, + { "ึฐ ", ayin, hs2, hsh, }, + { "ึต ", yud, pd2, pdc, }, + { "ึถ ", "ื—", _1s, _1n, }, + { "ึท ", lamed, _2s, _2n, }, + { "ึธ ", "ืš", _3s, _3n, }, + { sec, cse, sec, cse, }, -- comma/semicolon with CSS popup block }, - -- third row + -- Fourth row { -- 1 2 3 4 - { label = "๎ดต", - width = 1.5 - }, - { "ืƒ", zayin, "&", "7", }, - { "ื€", samech, "*", "8", }, - { "ื„ ", beis, "ยฃ", "9", }, - { "ื… ", hey, "<", com, }, - { "ึพ", nun, ">", prd, }, - { "ึฟ ", mem, "โ€˜", "โ†‘", }, - { "ึฝ ", tzadik, "โ€™", "โ†“", }, - { label = "๎ญ", - width = 1.5, - bold = false - }, + { label = "๎ดต", width = 1.5, }, + { "ืƒ", zayin, prm, "{", }, + { "ื€", samech, "ยฐ", "}", }, + { "ื„ ", beis, "ยซ", "[", }, + { "ื… ", hey, "ยป", "]", }, + { "ึพ", nun, _0s, _0n, }, + { "ึฟ ", mem, "โ†‘", "โ†‘", }, + { "ึฝ ", tzadik, "โ†“", "โ†“", }, + { label = "๎ญ", width = 1.5, }, }, - -- fourth row + -- Fifth row { { label = "โŒฅ", width = 1.5, bold = true, alt_label = "SYM"}, -- SYM key { label = "๐ŸŒ", }, { cop, pco, cop, pco, }, -- period/colon with RegEx popup block - { " ", " ", " ", " ", - width = 3.0, label = "_"}, - { com, taf, "โ€œ", "โ†", }, - { prd, "ืฅ", "โ€", "โ†’", }, - { label = "โฎ ", - "\n", "\n", "\n", "\n", - width = 1.5, - bold = true - }, + { label = "_", " ", " ", " ", " ", width = 3.0, }, -- Spacebar + { "โ†", taf, "โ†", "โ†", }, + { "โ†’", "ืฅ", "โ†’", "โ†’", }, + { label = "โฎ ", "\n","\n","\n","\n", width = 1.5, }, -- Enter }, }, }