mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Greek keyboard: update to the new keyboard layout (#10734)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
local en_popup = require("ui/data/keyboardlayouts/keypopup/en_popup")
|
||||
local com = en_popup.com -- comma (,)
|
||||
local _at = en_popup._at
|
||||
local _eq = en_popup._eq -- equals sign (=)
|
||||
|
||||
local el_popup = require("ui/data/keyboardlayouts/keypopup/el_popup")
|
||||
local prd = el_popup.prd -- period (.)
|
||||
local pco = el_popup.pco
|
||||
local cop = el_popup.cop
|
||||
local cse = el_popup.cse
|
||||
local sec = el_popup.sec
|
||||
local quo = el_popup.quo
|
||||
-- Greek letters
|
||||
local _A_el = el_popup._A_el
|
||||
local _a_el = el_popup._a_el
|
||||
local _B_el = el_popup._B_el
|
||||
@@ -37,8 +37,8 @@ local _O_el = el_popup._O_el
|
||||
local _o_el = el_popup._o_el
|
||||
local _P_el = el_popup._P_el
|
||||
local _p_el = el_popup._p_el
|
||||
--local _Q_el = el_popup._Q_el
|
||||
--local _q_el = el_popup._q_el
|
||||
local _Q_el = el_popup._Q_el
|
||||
local _q_el = el_popup._q_el
|
||||
local _R_el = el_popup._R_el
|
||||
local _r_el = el_popup._r_el
|
||||
local _S_el = el_popup._S_el
|
||||
@@ -49,82 +49,150 @@ local _U_el = el_popup._U_el
|
||||
local _u_el = el_popup._u_el
|
||||
local _V_el = el_popup._V_el
|
||||
local _v_el = el_popup._v_el
|
||||
--local _W_el = el_popup._W_el
|
||||
--local _w_el = el_popup._w_el
|
||||
local _W_el = el_popup._W_el
|
||||
local _w_el = el_popup._w_el
|
||||
local _X_el = el_popup._X_el
|
||||
local _x_el = el_popup._x_el
|
||||
local _Y_el = el_popup._Y_el
|
||||
local _y_el = el_popup._y_el
|
||||
local _Z_el = el_popup._Z_el
|
||||
local _z_el = el_popup._z_el
|
||||
local acu = el_popup.acu
|
||||
-- other
|
||||
local _1_ = el_popup._1_ -- numeric key 1
|
||||
local _1p = el_popup._1p -- numeric key 1, popup sibling (they have north swipe ups of each other, the rest is the same)
|
||||
local _1n = el_popup._1n -- numpad key 1
|
||||
local _1s = el_popup._1s -- superscript key 1
|
||||
local _2_ = el_popup._2_
|
||||
local _2p = el_popup._2p
|
||||
local _2n = el_popup._2n
|
||||
local _2s = el_popup._2s
|
||||
local _3_ = el_popup._3_
|
||||
local _3p = el_popup._3p
|
||||
local _3n = el_popup._3n
|
||||
local _3s = el_popup._3s
|
||||
local _4_ = el_popup._4_
|
||||
local _4p = el_popup._4p
|
||||
local _4n = el_popup._4n
|
||||
local _4s = el_popup._4s
|
||||
local _5_ = el_popup._5_
|
||||
local _5p = el_popup._5p
|
||||
local _5n = el_popup._5n
|
||||
local _5s = el_popup._5s
|
||||
local _6_ = el_popup._6_
|
||||
local _6p = el_popup._6p
|
||||
local _6n = el_popup._6n
|
||||
local _6s = el_popup._6s
|
||||
local _7_ = el_popup._7_
|
||||
local _7p = el_popup._7p
|
||||
local _7n = el_popup._7n
|
||||
local _7s = el_popup._7s
|
||||
local _8_ = el_popup._8_
|
||||
local _8p = el_popup._8p
|
||||
local _8n = el_popup._8n
|
||||
local _8s = el_popup._8s
|
||||
local _9_ = el_popup._9_
|
||||
local _9p = el_popup._9p
|
||||
local _9n = el_popup._9n
|
||||
local _9s = el_popup._9s
|
||||
local _0_ = el_popup._0_
|
||||
local _0p = el_popup._0p
|
||||
local _0n = el_popup._0n
|
||||
local _0s = el_popup._0s
|
||||
local sla = el_popup.sla
|
||||
local sl2 = el_popup.sl2
|
||||
local eql = el_popup.eql
|
||||
local eq2 = el_popup.eq2
|
||||
local pls = el_popup.pls
|
||||
local pl2 = el_popup.pl2
|
||||
local mns = el_popup.mns
|
||||
local mn2 = el_popup.mn2
|
||||
local dsh = el_popup.dsh
|
||||
local dgr = el_popup.dgr
|
||||
local tpg = el_popup.tpg
|
||||
local mth = el_popup.mth
|
||||
local mt2 = el_popup.mt2
|
||||
local int = el_popup.int
|
||||
local dif = el_popup.dif
|
||||
local df2 = el_popup.df2
|
||||
local ls1 = el_popup.ls1
|
||||
local ls2 = el_popup.ls2
|
||||
local mr1 = el_popup.mr1
|
||||
local mr2 = el_popup.mr2
|
||||
local pdc = el_popup.pdc
|
||||
local pd2 = el_popup.pd2
|
||||
local bar = el_popup.bar
|
||||
local prm = el_popup.prm
|
||||
local hsh = el_popup.hsh
|
||||
local hs2 = el_popup.hs2
|
||||
|
||||
return {
|
||||
min_layer = 1,
|
||||
max_layer = 8,
|
||||
shiftmode_keys = {[""] = true},
|
||||
symbolmode_keys = {["Sym"] = true, ["ABC"] = true},
|
||||
utf8mode_keys = {["🌐"] = true},
|
||||
umlautmode_keys = {["Äéß"] = true},
|
||||
max_layer = 4,
|
||||
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
|
||||
{ -- 1 2 3 4 5 6 7 8
|
||||
{ ":", ";", "„", "0", "ᾌ", "ᾷ", "1", "ª", },
|
||||
{ "|", "ς", "!", "1", "ᾍ", "ᾇ", "2", "º", },
|
||||
{ _E_el, _e_el, _at, "2", "Έ", "ᾄ", "3", "¡", },
|
||||
{ _R_el, _r_el, "#", "3", "ß", "ᾅ", "4", "¿", },
|
||||
{ _T_el, _t_el, "+", _eq, "À", "ὒ", "5", "¼", },
|
||||
{ _Y_el, _y_el, "€", "(", "Ύ", "ύ", "6", "½", },
|
||||
{ _U_el, _u_el, "‰", ")", "Æ", "ὓ", "7", "¾", },
|
||||
{ _I_el, _i_el, "|", "\\", "Ί", "ί", "8", "©", },
|
||||
{ _O_el, _o_el, "?", "/", "Ό", "ό", "9", "®", },
|
||||
{ _P_el, _p_el, "~", "`", "ᾝ", "ᾕ", "0", "™", },
|
||||
-- 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 5 6 7 8
|
||||
{ _A_el, _a_el, "…", _at, "Ά", "ά", "Ş", "ş", },
|
||||
{ _S_el, _s_el, "$", "4", "ᾏ", "ᾆ", "İ", "ı", },
|
||||
{ _D_el, _d_el, "%", "5", "Ἃ", "ἃ", "Ğ", "ğ", },
|
||||
{ _F_el, _f_el, "^", "6", "ᾜ", "ᾔ", "Ć", "ć", },
|
||||
{ _G_el, _g_el, ":", acu, "Ô", "ῇ", "Č", "č", },
|
||||
{ _H_el, _h_el, '"', "'", "Ή", "ή", "Đ", "đ", },
|
||||
{ _J_el, _j_el, "{", "[", "Ί", "ί", "Š", "š", },
|
||||
{ _K_el, _k_el, "}", "]", "Û", "ὖ", "Ž", "ž", },
|
||||
{ _L_el, _l_el, "_", "-", "Ÿ", "ὗ", "Ő", "ő", },
|
||||
-- Second row
|
||||
{ -- R r S s
|
||||
{ _Q_el, _q_el, dif, "?", },
|
||||
{ _W_el, _w_el, int, "¿", },
|
||||
{ _E_el, _e_el, mth, "~", },
|
||||
{ _R_el, _r_el, mt2, "\\", },
|
||||
{ _T_el, _t_el, df2, bar, },
|
||||
{ _Y_el, _y_el, sl2, sla, },
|
||||
{ _U_el, _u_el, _4s, _4n, },
|
||||
{ _I_el, _i_el, _5s, _5n, },
|
||||
{ _O_el, _o_el, _6s, _6n, },
|
||||
{ _P_el, _p_el, pl2, pls, },
|
||||
},
|
||||
-- third row
|
||||
{ -- 1 2 3 4 5 6 7 8
|
||||
{ label = "",
|
||||
width = 1.5
|
||||
},
|
||||
{ _Z_el, _z_el, "&", "7", "Á", "ᾦ", "Ű", "ű", },
|
||||
{ _X_el, _x_el, "*", "8", "É", "ᾧ", "Ø", "ø", },
|
||||
{ _C_el, _c_el, "£", "9", "ᾮ", "ῷ", "Þ", "þ", },
|
||||
{ _V_el, _v_el, "<", com, "Ώ", "ώ", "Ý", "ý", },
|
||||
{ _B_el, _b_el, ">", prd, "ᾞ", "ᾖ", "†", "‡", },
|
||||
{ _N_el, _n_el, "‘", "↑", "Ú", "ᾗ", "–", "—", },
|
||||
{ _M_el, _m_el, "’", "↓", "Ϛ", "ϛ", "…", "¨", },
|
||||
{ label = "",
|
||||
width = 1.5,
|
||||
bold = false
|
||||
},
|
||||
-- Third row
|
||||
{ -- R r S s
|
||||
{ _A_el, _a_el, ls2, ls1, },
|
||||
{ _S_el, _s_el, mr2, mr1, },
|
||||
{ _D_el, _d_el, dgr, "(", },
|
||||
{ _F_el, _f_el, tpg, ")", },
|
||||
{ _G_el, _g_el, hs2, hsh, },
|
||||
{ _H_el, _h_el, pd2, pdc, },
|
||||
{ _J_el, _j_el, _1s, _1n, },
|
||||
{ _K_el, _k_el, _2s, _2n, },
|
||||
{ _L_el, _l_el, _3s, _3n, },
|
||||
{ sec, cse, sec, cse, }, -- comma/semicolon with CSS popup block
|
||||
},
|
||||
-- fourth row
|
||||
{
|
||||
{ "Sym", "Sym", "ABC", "ABC", "Sym", "Sym", "ABC", "ABC",
|
||||
width = 1.5},
|
||||
{ label = "🌐", },
|
||||
{ "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", },
|
||||
{ label = "_",
|
||||
" ", " ", " ", " ", " ", " ", " ", " ",
|
||||
width = 3.0},
|
||||
{ com, com, "«", "←", "Ϟ", "ϟ", "“", com, },
|
||||
{ prd, prd, "»", "→", "Ϡ", "ϡ", "”", prd, },
|
||||
{ label = "⮠",
|
||||
"\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n",
|
||||
width = 1.5,
|
||||
bold = true
|
||||
},
|
||||
-- Fourth row
|
||||
{ -- R r S s
|
||||
{ label = "", width = 1.5, }, -- Shift
|
||||
{ _Z_el, _z_el, prm, "{", },
|
||||
{ _X_el, _x_el, "°", "}", },
|
||||
{ _C_el, _c_el, "«", "[", },
|
||||
{ _V_el, _v_el, "»", "]", },
|
||||
{ _B_el, _b_el, _0s, _0n, },
|
||||
{ _N_el, _n_el, "↑", "↑", },
|
||||
{ _M_el, _m_el, "↓", "↓", },
|
||||
{ label = "", width = 1.5, }, -- Backspace
|
||||
},
|
||||
-- Fifth row
|
||||
{ -- R r S s
|
||||
{ label = "⌥", width = 1.5, bold = true, alt_label = "SYM"}, -- SYM key
|
||||
{ label = "🌐", }, -- Globe key
|
||||
{ cop, pco, cop, pco, }, -- period/colon with RegEx popup block
|
||||
{ label = "_", " ", " ", " ", " ", width = 3.0, }, -- Spacebar
|
||||
{ label = "←", }, -- Arrow left
|
||||
{ label = "→", }, -- Arrow right
|
||||
{ label = "⮠", "\n","\n","\n","\n", width = 1.5, }, -- Enter
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
return {
|
||||
com = {
|
||||
",",
|
||||
north = ";",
|
||||
alt_label = ";",
|
||||
northeast = "(",
|
||||
northwest = "¿",
|
||||
east = "„",
|
||||
west = "?",
|
||||
},
|
||||
prd = {
|
||||
".",
|
||||
north = ":",
|
||||
@@ -7,34 +16,119 @@ return {
|
||||
northwest = "¡",
|
||||
east = "…",
|
||||
west = "!",
|
||||
"·",
|
||||
},
|
||||
acu = {
|
||||
"´",
|
||||
alt_label = "ʹ",
|
||||
east = "ʹ", -- Greek Numeral Sign
|
||||
west = "͵", -- Greek Lower Numeral Sign
|
||||
_at = {
|
||||
"@",
|
||||
north = "Ⓒ",
|
||||
alt_label = "Ⓒ",
|
||||
northeast = "™",
|
||||
northwest = "Ⓡ",
|
||||
},
|
||||
_eq = {
|
||||
"=",
|
||||
north = "_",
|
||||
alt_label = "_",
|
||||
northwest = "-",
|
||||
west = "≈",
|
||||
south = "≥",
|
||||
southwest = "≤",
|
||||
},
|
||||
pco = { -- period + colon
|
||||
".",
|
||||
north = ":",
|
||||
alt_label = ":",
|
||||
northeast = "'",
|
||||
northwest = "=",
|
||||
east = "!",
|
||||
west = "?",
|
||||
south = "|",
|
||||
southeast = "\\",
|
||||
southwest = "/",
|
||||
"·", -- Greek Ano Teleia
|
||||
"·", -- Middle Dot
|
||||
"&",
|
||||
},
|
||||
cop = { -- colon + period
|
||||
":",
|
||||
north = ".",
|
||||
alt_label = ".",
|
||||
northeast = "'",
|
||||
northwest = "=",
|
||||
east = "!",
|
||||
west = "?",
|
||||
south = "|",
|
||||
southeast = "\\",
|
||||
southwest = "/",
|
||||
"·", -- Greek Ano Teleia
|
||||
"·", -- Middle Dot
|
||||
"&",
|
||||
},
|
||||
quo = {
|
||||
'"',
|
||||
north = "'",
|
||||
alt_label = "'",
|
||||
northeast = "»",
|
||||
northwest = "«",
|
||||
east = "”",
|
||||
west = "“",
|
||||
south = "`",
|
||||
southeast = "’",
|
||||
southwest = "‘",
|
||||
"‹",
|
||||
"›",
|
||||
},
|
||||
cse = { -- comma + semicolon
|
||||
",",
|
||||
north = ";",
|
||||
alt_label = ";",
|
||||
northeast = "}",
|
||||
northwest = "{",
|
||||
east = { label = "!…", key = "!important;" },
|
||||
west = "-",
|
||||
south = "*",
|
||||
southwest = "0",
|
||||
southeast = ">",
|
||||
"[",
|
||||
"+",
|
||||
"]",
|
||||
},
|
||||
sec = { -- semicolon + comma
|
||||
";",
|
||||
north = ",",
|
||||
alt_label = ",",
|
||||
northeast = "}",
|
||||
northwest = "{",
|
||||
east = { label = "!…", key = "!important;" },
|
||||
west = "-",
|
||||
south = "*",
|
||||
southwest = "0",
|
||||
southeast = ">",
|
||||
"[",
|
||||
"*",
|
||||
"]",
|
||||
},
|
||||
_A_el = {
|
||||
"Α",
|
||||
northeast = "Ἀ",
|
||||
north = "A", -- English A
|
||||
north = "α",
|
||||
northwest = "Ἁ",
|
||||
east = "Ά",
|
||||
west = " ᾍ",
|
||||
south = "@",
|
||||
south = "ᾼ",
|
||||
southeast = "Ἄ",
|
||||
southwest = "Ἅ",
|
||||
"Ἇ",
|
||||
"ᾏ",
|
||||
"Ἆ",
|
||||
},
|
||||
_a_el = {
|
||||
"α",
|
||||
northeast = "ἀ",
|
||||
north = "a",
|
||||
north = "Α",
|
||||
northwest = "ἁ",
|
||||
east = "ά",
|
||||
west = "ὰ",
|
||||
south = "@",
|
||||
south = "ᾳ",
|
||||
southeast = "ἄ",
|
||||
southwest = "ἅ",
|
||||
"ἇ",
|
||||
@@ -44,77 +138,93 @@ return {
|
||||
_B_el = {
|
||||
"Β",
|
||||
northeast = "♭",
|
||||
north = "B", -- English B
|
||||
north = "β",
|
||||
northwest = "B", -- Latin capital letter B
|
||||
},
|
||||
_b_el = {
|
||||
"β",
|
||||
northeast = "♭",
|
||||
north = "b",
|
||||
north = "Β",
|
||||
northwest = "b",
|
||||
west = "ϐ", -- Greek beta symbol
|
||||
},
|
||||
_C_el = {
|
||||
"Ψ",
|
||||
northeast = "©",
|
||||
north = "C",
|
||||
north = "ψ",
|
||||
northwest = "C",
|
||||
},
|
||||
_c_el = {
|
||||
"ψ",
|
||||
northeast = "©",
|
||||
north = "c",
|
||||
north = "Ψ",
|
||||
northwest = "c",
|
||||
},
|
||||
_D_el = {
|
||||
"Δ",
|
||||
north = "δ",
|
||||
northwest = "D",
|
||||
},
|
||||
_d_el = {
|
||||
"δ",
|
||||
north = "Δ",
|
||||
northwest = "d",
|
||||
},
|
||||
_E_el = {
|
||||
"Ε",
|
||||
northeast = "Ἐ",
|
||||
northwest = "Ἑ",
|
||||
north = "E", -- English E
|
||||
north = "ε",
|
||||
east = "Έ",
|
||||
south = "€",
|
||||
west = "Ὲ",
|
||||
south = "E", -- Latin capital letter E
|
||||
southeast = "Ἔ",
|
||||
southwest = "Ἕ",
|
||||
"€", -- Euro currency
|
||||
},
|
||||
_e_el = {
|
||||
"ε",
|
||||
northeast = "ἐ",
|
||||
north = "e",
|
||||
north = "Ε",
|
||||
northwest = "ἑ",
|
||||
east = "έ",
|
||||
west = "ὲ",
|
||||
south = "€",
|
||||
south = "e",
|
||||
southeast = "ἔ",
|
||||
southwest = "ἕ",
|
||||
"€", -- Euro currency
|
||||
},
|
||||
_F_el = {
|
||||
"Φ",
|
||||
northeast = "ƒ", -- Guilder/Florin
|
||||
north = "F",
|
||||
north = "φ",
|
||||
northwest = "F",
|
||||
},
|
||||
_f_el = {
|
||||
"φ",
|
||||
northeast = "ƒ", -- Guilder/Florin
|
||||
north = "f",
|
||||
north = "Φ",
|
||||
northwest = "f",
|
||||
west = "ϕ", -- Greek phi symbol
|
||||
},
|
||||
_G_el = {
|
||||
"Γ",
|
||||
north = "γ",
|
||||
northwest = "G",
|
||||
},
|
||||
_g_el = {
|
||||
"γ",
|
||||
north = "Γ",
|
||||
northwest = "g",
|
||||
},
|
||||
_H_el = {
|
||||
"Η",
|
||||
northeast = "Ἠ",
|
||||
northwest = "Ἡ",
|
||||
north = "H", -- English H
|
||||
north = "η",
|
||||
east = "Ή",
|
||||
south = "ῌ",
|
||||
west = "Ὴ",
|
||||
southeast = "Ἤ",
|
||||
southwest = "Ἥ",
|
||||
"Ἧ",
|
||||
@@ -124,7 +234,7 @@ return {
|
||||
_h_el = {
|
||||
"η",
|
||||
northeast = "ἠ",
|
||||
north = "h",
|
||||
north = "Η",
|
||||
northwest = "ἡ",
|
||||
east = "ή",
|
||||
west = "ὴ",
|
||||
@@ -138,20 +248,25 @@ return {
|
||||
_I_el = {
|
||||
"Ι",
|
||||
northeast = "Ἰ",
|
||||
north = "I", -- English I
|
||||
north = "ι",
|
||||
northwest = "Ἱ",
|
||||
east = "Ί",
|
||||
west = "Ϊ",
|
||||
west = "Ὶ",
|
||||
southeast = "Ἴ",
|
||||
southwest = "Ἵ",
|
||||
south = "I", -- Latin capital letter I
|
||||
"Ἷ",
|
||||
"Ϊ",
|
||||
"Ἶ",
|
||||
},
|
||||
_i_el = {
|
||||
"ι",
|
||||
northeast = "ἰ",
|
||||
north = "i",
|
||||
north = "Ι",
|
||||
northwest = "ἱ",
|
||||
east = "ί",
|
||||
west = "ὶ",
|
||||
south = "ῗ",
|
||||
southeast = "ἴ",
|
||||
southwest = "ἵ",
|
||||
"ΐ",
|
||||
@@ -160,142 +275,158 @@ return {
|
||||
},
|
||||
_J_el = {
|
||||
"Ξ",
|
||||
north = "ξ",
|
||||
northwest = "J",
|
||||
},
|
||||
_j_el = {
|
||||
"ξ",
|
||||
north = "Ξ",
|
||||
northwest = "j",
|
||||
},
|
||||
_K_el = {
|
||||
"Κ",
|
||||
northeast = "—", -- em dash
|
||||
northwest = "–", -- en dash
|
||||
north = "–", -- hyphen minus
|
||||
east = '"',
|
||||
west = "K",
|
||||
north = "κ",
|
||||
northwest = "K", -- Latin capital letter K
|
||||
northeast = "Ϗ", -- Greek capital kai symbol
|
||||
},
|
||||
_k_el = {
|
||||
"κ",
|
||||
northeast = "—", -- em dash
|
||||
northwest = "–", -- en dash
|
||||
north = "–", -- hyphen minus
|
||||
east = '"',
|
||||
west = "k",
|
||||
north = "Κ",
|
||||
northwest = "k",
|
||||
northeast = "ϗ", -- Greek kai symbol
|
||||
},
|
||||
_L_el = {
|
||||
"Λ",
|
||||
northeast = "'",
|
||||
north = "£",
|
||||
northwest = "+",
|
||||
west = "L",
|
||||
north = "λ",
|
||||
northwest = "L",
|
||||
},
|
||||
_l_el = {
|
||||
"λ",
|
||||
northeast = "'",
|
||||
north = "£",
|
||||
northwest = "+",
|
||||
west = "l",
|
||||
north = "Λ",
|
||||
northwest = "l",
|
||||
},
|
||||
_M_el = {
|
||||
"Μ",
|
||||
northwest = "M",
|
||||
north = "μ",
|
||||
northwest = "M", -- Latin capital letter M
|
||||
},
|
||||
_m_el = {
|
||||
"μ",
|
||||
north = "Μ",
|
||||
northwest = "m",
|
||||
},
|
||||
_N_el = {
|
||||
"Ν",
|
||||
northwest = "N",
|
||||
north = "ν",
|
||||
northwest = "N", -- Latin capital letter N
|
||||
},
|
||||
_n_el = {
|
||||
"ν",
|
||||
north = "Ν",
|
||||
northwest = "n",
|
||||
},
|
||||
_O_el = {
|
||||
"Ο",
|
||||
northeast = "Ὀ",
|
||||
northwest = "Ὁ",
|
||||
north = "O", -- English O
|
||||
north = "ο",
|
||||
east = "Ό",
|
||||
west = "Ὸ",
|
||||
south = "Ø",
|
||||
southeast = "Ὄ",
|
||||
southwest = "Ὅ",
|
||||
"O", -- Latin capital letter O
|
||||
},
|
||||
_o_el = {
|
||||
"ο",
|
||||
northeast = "ὀ",
|
||||
northwest = "ὁ",
|
||||
north = "o", -- English o
|
||||
north = "Ο",
|
||||
east = "ό",
|
||||
west = "ὸ",
|
||||
south = "ø",
|
||||
southeast = "ὄ",
|
||||
southwest = "ὅ",
|
||||
"o", -- Latin small letter o
|
||||
},
|
||||
_P_el = {
|
||||
"Π",
|
||||
northwest = "P",
|
||||
north = "π",
|
||||
northwest = "P", -- Latin capital letter P
|
||||
},
|
||||
_p_el = {
|
||||
"π",
|
||||
north = "Π",
|
||||
northwest = "p",
|
||||
west = "ϖ", -- Greek pi symbol
|
||||
},
|
||||
_Q_el = {
|
||||
"΄", -- Greek tonos
|
||||
alt_label = ";",
|
||||
north = ";", -- Greek question mark
|
||||
northeast = "Q",
|
||||
east = "Ϙ", -- Greek letter archaic koppa
|
||||
},
|
||||
_q_el = {
|
||||
";", -- Greek question mark
|
||||
alt_label = "΄",
|
||||
north = "΄", -- Greek tonos
|
||||
northeast = "q",
|
||||
east = "ϙ", -- Greek small letter archaic koppa
|
||||
},
|
||||
--_Q_el = {
|
||||
-- "Q",
|
||||
-- north = "[",
|
||||
-- northeast = "{",
|
||||
--},
|
||||
--_q_el = {
|
||||
-- "q",
|
||||
-- north = "[",
|
||||
-- northeast = "{",
|
||||
--},
|
||||
_R_el = {
|
||||
"Ρ",
|
||||
northwest = "R",
|
||||
north = "ρ",
|
||||
northeast = "Ῥ",
|
||||
northwest = "R",
|
||||
},
|
||||
_r_el = {
|
||||
"ρ",
|
||||
northwest = "ῥ",
|
||||
northeast = "ῤ",
|
||||
north = "r",
|
||||
north = "Ρ",
|
||||
west = "r",
|
||||
},
|
||||
_S_el = {
|
||||
"Σ",
|
||||
north = "σ",
|
||||
northwest = "S",
|
||||
north = "$",
|
||||
},
|
||||
_s_el = {
|
||||
"σ",
|
||||
northeast = "ς",
|
||||
north = "Σ",
|
||||
northwest = "s",
|
||||
north = "$",
|
||||
},
|
||||
_T_el = {
|
||||
"Τ",
|
||||
northwest = "T",
|
||||
north = "τ",
|
||||
northwest = "T", -- Latin capital letter T
|
||||
},
|
||||
_t_el = {
|
||||
"τ",
|
||||
north = "Τ",
|
||||
northwest = "t",
|
||||
},
|
||||
_U_el = {
|
||||
"Θ",
|
||||
north = "θ",
|
||||
northwest = "U",
|
||||
},
|
||||
_u_el = {
|
||||
"θ",
|
||||
north = "Θ",
|
||||
northwest = "u",
|
||||
west = "ϑ", -- Greek theta symbol
|
||||
},
|
||||
_V_el = {
|
||||
"Ω",
|
||||
northeast = "Ὠ",
|
||||
northwest = "Ὡ",
|
||||
north = "V",
|
||||
north = "ω",
|
||||
east = "Ώ",
|
||||
south = "ῼ",
|
||||
west = "Ὼ",
|
||||
southeast = "Ὤ",
|
||||
southwest = "Ὥ",
|
||||
"Ὧ",
|
||||
@@ -305,7 +436,7 @@ return {
|
||||
_v_el = {
|
||||
"ω",
|
||||
northeast = "ὠ",
|
||||
north = "v",
|
||||
north = "Ω",
|
||||
northwest = "ὡ",
|
||||
east = "ώ",
|
||||
west = "ὼ",
|
||||
@@ -316,44 +447,70 @@ return {
|
||||
"ῶ",
|
||||
"ὦ",
|
||||
},
|
||||
--_W_el = {
|
||||
-- "W",
|
||||
-- north = "]",
|
||||
-- northeast = "}",
|
||||
-- northwest = "ʍ", -- inverted w, voiceless labial-velar approximant IPA
|
||||
-- east = "Ƿ", -- wynn, Old English for /w/
|
||||
--},
|
||||
--_w_el = {
|
||||
-- "w",
|
||||
-- north = "]",
|
||||
-- northeast = "}",
|
||||
-- northwest = "ʍ", -- inverted w, voiceless labial-velar approximant IPA
|
||||
-- east = "ƿ", -- wynn, Old English for /w/
|
||||
--},
|
||||
_W_el = {
|
||||
"·", -- Greek ano teleia
|
||||
alt_label = "ς",
|
||||
north = "ς",
|
||||
northeast = "Ϛ", -- Greek letter stigma
|
||||
northwest = "W",
|
||||
east = "ʹ", -- Greek numeral sign
|
||||
west = "͵", -- Greek lower numeral sign
|
||||
southwest = "Ϝ", -- Greek letter digamma
|
||||
south = "Ϟ", -- Greek letter koppa
|
||||
southeast = "Ϡ", -- Greek letter sampi
|
||||
},
|
||||
_w_el = {
|
||||
"ς",
|
||||
alt_label = "·",
|
||||
north = "·", -- Greek ano teleia
|
||||
northeast = "ϛ", -- Greek small letter stigma
|
||||
northwest = "w",
|
||||
east = "ʹ", -- Greek numeral sign
|
||||
west = "͵", -- Greek lower numeral sign
|
||||
southwest = "ϝ", -- Greek small letter digamma
|
||||
south = "ϟ", -- Greek small letter koppa
|
||||
southeast = "ϡ", -- Greek small letter sampi
|
||||
},
|
||||
_X_el = {
|
||||
"Χ",
|
||||
northwest = "X",
|
||||
alt_label = "V",
|
||||
north = "χ",
|
||||
northwest = "X", -- Latin capital letter X
|
||||
northeast = "H", -- Latin capital letter H
|
||||
east = "V",
|
||||
west = "A", -- Latin capital letter A
|
||||
},
|
||||
_x_el = {
|
||||
"χ",
|
||||
northwest = "x",
|
||||
alt_label = "v",
|
||||
north = "Χ",
|
||||
northwest = "x", -- Latin small letter X
|
||||
northeast = "h", -- Latin small letter h
|
||||
east = "v",
|
||||
west = "a", -- Latin small letter a
|
||||
southwest = "i",
|
||||
southeast = "y",
|
||||
},
|
||||
_Y_el = {
|
||||
"Υ",
|
||||
north = "Y", -- English Y
|
||||
north = "υ",
|
||||
northwest = "Ὑ",
|
||||
northeast = "Ϋ",
|
||||
east = "Ύ",
|
||||
west = "Ϋ",
|
||||
southeast = "Ὗ",
|
||||
southwest = "Ὕ",
|
||||
west = "Ὺ",
|
||||
south = "Ὗ",
|
||||
southeast = "Ὕ",
|
||||
southwest = "Ὓ",
|
||||
"Y", -- Latin capital letter Y
|
||||
},
|
||||
_y_el = {
|
||||
"υ",
|
||||
northeast = "ὐ",
|
||||
north = "y",
|
||||
north = "Υ",
|
||||
northwest = "ὑ",
|
||||
east = "ύ",
|
||||
west = "ὺ",
|
||||
south = "ῧ",
|
||||
southeast = "ὔ",
|
||||
southwest = "ὕ",
|
||||
"ΰ",
|
||||
@@ -362,10 +519,118 @@ return {
|
||||
},
|
||||
_Z_el = {
|
||||
"Ζ",
|
||||
northwest = "Z",
|
||||
north = "ζ",
|
||||
northwest = "Z", -- Latin capital letter Z
|
||||
},
|
||||
_z_el = {
|
||||
"ζ",
|
||||
north = "Ζ",
|
||||
northwest = "z",
|
||||
},
|
||||
-- _1_ and _1p: numeric key 1 and its popup sibling (they have north swipe ups of each other, the rest is the same)
|
||||
-- _1n and _1s: numpad key 1 (layer 2), -- superscript key 1 (layer 2, shifted)
|
||||
_1_ = { "1", north = "!", alt_label = "!", northeast = "¡", south = "'", southeast = "¿", east = "?", },
|
||||
_1p = { "!", north = "1", alt_label = "1", northeast = "¡", south = "'", southeast = "¿", east = "?", },
|
||||
_1n = { "1", north = "¹", northeast = "⅑", northwest = "⅐", east = "⅙", west = "¼", south = "₁", southwest = "½", southeast = "⅓", "⅕", "⅛", "⅒", },
|
||||
_1s = { "¹", north = "1", northeast = "⅑", northwest = "⅐", east = "⅙", west = "¼", south = "₁", southwest = "½", southeast = "⅓", "⅕", "⅛", "⅒", },
|
||||
|
||||
_2_ = { "2", north = "@", alt_label = "@", northeast = "~", northwest = "http://", east = "-", west = "https://", south = '"', southeast = "…", southwest = "/", },
|
||||
_2p = { "@", north = "2", alt_label = "2", northeast = "~", northwest = "http://", east = "-", west = "https://", south = '"', southeast = "…", southwest = "/", },
|
||||
_2n = { "2", north = "²", northeast = "⅖", east = "½", south = "₂", southeast = "⅔", }, -- numpad 2
|
||||
_2s = { "²", north = "2", northeast = "⅖", east = "½", south = "₂", southeast = "⅔", }, -- superscript 2
|
||||
|
||||
_3_ = { "3", north = "#", alt_label = "#", northeast = "☑", northwest = "★", east = "☐", west = "•", south = "№", southeast = "☒", southwest = "☆", ":)", ":|", ":(", },
|
||||
_3p = { "#", north = "3", alt_label = "3", northeast = "☑", northwest = "★", east = "☐", west = "•", south = "№", southeast = "☒", southwest = "☆", ":)", ":|", ":(", },
|
||||
_3n = { "3", north = "³", northwest = "¾", east = "⅓", west = "⅗", southwest = "⅜", south = "₃", }, -- numpad 3
|
||||
_3s = { "³", north = "3", northwest = "¾", east = "⅓", west = "⅗", southwest = "⅜", south = "₃", }, -- superscript 3
|
||||
|
||||
_4_ = { "4", north = "$", alt_label = "$", northeast = "₸", northwest = "¥", east = "₽", west = "£", south = "€", southeast = "¢", southwest = "₪", "₹", "₿", "₺", },
|
||||
_4p = { "$", north = "4", alt_label = "4", northeast = "₸", northwest = "¥", east = "₽", west = "£", south = "€", southeast = "¢", southwest = "₪", "₹", "₿", "₺", },
|
||||
_4n = { "4", north = "⁴", east = "¼", south = "₄", southeast = "⅘", }, -- numpad 4
|
||||
_4s = { "⁴", north = "4", east = "¼", south = "₄", southeast = "⅘", }, -- superscript 4
|
||||
|
||||
_5_ = { "5", north = "%", alt_label = "%", northeast = "‱", northwest = "‰", east = "⅓", west = "¼", south = "½", southeast = "⅔", southwest = "¾", },
|
||||
_5p = { "%", north = "5", alt_label = "5", northeast = "‱", northwest = "‰", east = "⅓", west = "¼", south = "½", southeast = "⅔", southwest = "¾", },
|
||||
_5n = { "5", north = "⁵", northeast = "⅚", east = "⅕", south = "₅", southeast = "⅝", }, -- numpad 5
|
||||
_5s = { "⁵", north = "5", northeast = "⅚", east = "⅕", south = "₅", southeast = "⅝", }, -- superscript 5
|
||||
|
||||
-- diacritics. Symbols in quotation marks might look weird, however they should work fine.
|
||||
_6_ = {
|
||||
"6",
|
||||
north = "^",
|
||||
alt_label = "^",
|
||||
northeast = { label = "◌̈", key = "̈", }, -- Combining Diaeresis (Umlaut)
|
||||
northwest = { label = "◌̈́", key = "̈́", }, -- Combining Greek Dialytika Tonos
|
||||
east = { label = "◌́", key = "́", }, -- Combining Acute Accent
|
||||
west = { label = "◌̀", key = "̀", }, -- Combinig Grave Accent
|
||||
south = { label = "◌ͅ", key = "ͅ", }, -- Combining Greek Ypogegrammeni
|
||||
southeast = { label = "◌̄", key = "̄", }, -- Combining Macron
|
||||
southwest = { label = "◌̆", key = "̆", }, -- Combining Breve
|
||||
{ label = "◌̓", key = "̓", }, -- Combining Greek Koronis
|
||||
{ label = "◌͂", key = "͂", }, -- Combining Greek Perispomeni
|
||||
},
|
||||
_6p = {
|
||||
"^",
|
||||
north = "6",
|
||||
alt_label = "6",
|
||||
northeast = { label = "◌̈", key = "̈", }, -- Combining Diaeresis (Umlaut)
|
||||
northwest = { label = "◌̈́", key = "̈́", }, -- Combining Greek Dialytika Tonos
|
||||
east = { label = "◌́", key = "́", }, -- Combining Acute Accent
|
||||
west = { label = "◌̀", key = "̀", }, -- Combinig Grave Accent
|
||||
south = { label = "◌ͅ", key = "ͅ", }, -- Combining Greek Ypogegrammeni
|
||||
southeast = { label = "◌̄", key = "̄", }, -- Combining Macron
|
||||
southwest = { label = "◌̆", key = "̆", }, -- Combining Breve
|
||||
{ label = "◌̓", key = "̓", }, -- Combining Greek Koronis
|
||||
{ label = "◌͂", key = "͂", }, -- Combining Greek Perispomeni
|
||||
},
|
||||
_6n = { "6", north = "⁶", east = "⅙", south = "₆", }, -- numpad 6
|
||||
_6s = { "⁶", north = "6", east = "⅙", south = "₆", }, -- superscript 6
|
||||
|
||||
_7_ = { "7", north = "&", alt_label = "&", northeast = "»", northwest = "«", east = "¶", west = "§", south = "¤", southeast = "⟩", southwest = "⟨", "†", "■", "‡", },
|
||||
_7p = { "&", north = "7", alt_label = "7", northeast = "»", northwest = "«", east = "¶", west = "§", south = "¤", southeast = "⟩", southwest = "⟨", "†", "■", "‡", },
|
||||
_7n = { "7", north = "⁷", east = "⅐", south = "₇", southeast = "⅞", }, -- numpad 7
|
||||
_7s = { "⁷", north = "7", east = "⅐", south = "₇", southeast = "⅞", }, -- superscript 7
|
||||
|
||||
_8_ = { "8", north = "*", alt_label = "*", northeast = "=", northwest = "≠", east = "+", west = "-", south = "/", southeast = ">", southwest = "<", "≤", "≈", "≥", },
|
||||
_8p = { "*", north = "8", alt_label = "8", northeast = "=", northwest = "≠", east = "+", west = "-", south = "/", southeast = ">", southwest = "<", "≤", "≈", "≥", },
|
||||
_8n = { "8", north = "⁸", east = "⅛", south = "₈", }, -- numpad 8
|
||||
_8s = { "⁸", north = "8", east = "⅛", south = "₈", }, -- superscript 8
|
||||
|
||||
_9_ = { "9", north = "(", alt_label = "(", northeast = "_", northwest = "“", east = "-", west = "{", south = "[", southeast = "—", southwest = "‘", },
|
||||
_9p = { "(", north = "9", alt_label = "9", northeast = "_", northwest = "“", east = "-", west = "{", south = "[", southeast = "—", southwest = "‘", },
|
||||
_9n = { "9", north = "⁹", east = "⅑", south = "₉", }, -- numpad 9
|
||||
_9s = { "⁹", north = "9", east = "⅑", south = "₉", }, -- superscript 9
|
||||
|
||||
_0_ = { "0", north = ")", alt_label = ")", northwest = "”", west = "}", south = "]", southwest = "’", },
|
||||
_0p = { ")", north = "0", alt_label = "0", northwest = "”", west = "}", south = "]", southwest = "’", },
|
||||
_0n = { "0", north = "⁰", south = "₀", }, -- numpad 0
|
||||
_0s = { "⁰", north = "0", south = "₀", }, -- superscript 0
|
||||
|
||||
sla = { "/", north = "÷", alt_label = "÷", northeast = "⅟", east = "⁄", }, -- numpad slash
|
||||
sl2 = { "÷", north = "/", alt_label = "/", northeast = "⅟", east = "⁄", }, -- superscript slash
|
||||
|
||||
eql = { "=", north = "≠", alt_label = "≠", northwest = "≃", west = "≡", south = "≈", southwest = "≉", }, -- equality
|
||||
eq2 = { "≠", north = "=", alt_label = "=", northwest = "≃", west = "≡", south = "≈", southwest = "≉", }, -- popup sibling
|
||||
ls1 = { "<", north = "≤", alt_label = "≤", south = "≪", }, -- "less than" sign
|
||||
ls2 = { "≤", north = "<", alt_label = "<", south = "≪", }, -- (popup sibling)
|
||||
mr1 = { ">", north = "≥", alt_label = "≥", south = "≫", }, -- "more than"
|
||||
mr2 = { "≥", north = ">", alt_label = ">", south = "≫", }, -- (popup sibling)
|
||||
pls = { "+", north = "±", alt_label = "±", }, -- plus sign
|
||||
pl2 = { "±", north = "+", alt_label = "+", }, -- (popup sibling)
|
||||
mns = { "-", north = "∓", alt_label = "∓", }, -- minus sign
|
||||
mn2 = { "∓", north = "-", alt_label = "-", }, -- (popup sibling)
|
||||
dsh = { "-", north = "—", alt_label = "—", south = "–", }, -- dashes
|
||||
dgr = { "†", north = "‡", alt_label = "‡", }, -- dagger
|
||||
tpg = { "¶", north = "§", alt_label = "§", northeast = "™", northwest = "℠", east = "¤", west = "•", south = "®", southeast = "🄯", southwest = "©", }, -- typography symbols
|
||||
mth = { "∇", north = "∀",alt_label = "∀", northeast = "∃", northwest = "∄", east = "∈", west = "∉", south = "∅", southeast = "∩", southwest = "∪", "⊆", "⊂", "⊄", }, -- math operations 1
|
||||
mt2 = { "∞", north = "ℕ", alt_label = "ℕ", northeast = "ℤ", northwest = "ℚ", east = "𝔸", west = "ℝ", south = "𝕀", southeast = "ℂ", southwest = "𝕌", "⊇", "⊃", "⊅", }, -- math operations 2
|
||||
int = { "∫", north = "∬", alt_label = "∬", northeast = "⨌", northwest = "∭", east = "∑", west = "∏", south = "∮", southeast = "∰", southwest = "∯", "⊕", "ℍ", "⊗", }, -- integrals
|
||||
dif = { "∂", north = "√", alt_label = "√", northeast = "∴", east = "⇒", south = "⇔", southeast = "∵", }, -- math operations 3
|
||||
df2 = { "…", north = "⟂", alt_label = "⟂", northeast = "∡", northwest = "∟", east = "∝", west = "ℓ", }, -- math operations 4
|
||||
pdc = { "*", north = "⨯", alt_label = "⨯", south = "⋅", }, -- asterisk, cross-product and dot-prodcuts symbols
|
||||
pd2 = { "⨯", north = "*", alt_label = "*", south = "⋅", },
|
||||
bar = { "|", north = "¦", alt_label = "¦", }, -- bars like pipe and broken bar
|
||||
prm = { "‰", north = "‱", alt_label = "‱", }, -- per mile types
|
||||
hsh = { "#", north = "№", alt_label = "№", }, -- hash and "No." sign
|
||||
hs2 = { "№", north = "#", alt_label = "#", },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user