Files
koreader/frontend/ui/data/keyboardlayouts/ja_keyboard.lua
NiLuJe 4778d3db3b [RFC] Switch remaining keyboard icons to glyphs (#5639)
* Switch the last few remaining icons to true glyphs
(Del/Backspace & Enter).
Also, allow a glyph to be rendered in (fake) bold, and use it for Enter.
* Update fonts
Pickup the tweaked nerdfonts for the backspace symbol
2019-11-25 23:34:31 +01:00

114 lines
4.4 KiB
Lua
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

return {
min_layer = 1,
max_layer = 4,
shiftmode_keys = {[""] = true},
symbolmode_keys = {["記号"] = true, ["かな"] = true},
utf8mode_keys = {["🌐"] = true},
umlautmode_keys = {[""] = true},
keys = {
-- first row
{ -- 1 2 3 4
{ "", "", "~", "`", },
{ "", "", "!", "1", },
{ "", "", "@", "2", },
{ "", "", "#", "3", },
{ "", "", "$", "4", },
{ "", "", "%", "5", },
{ "", "", "^", "6", },
{ "", "", "&", "7", },
{ "", "", "*", "8", },
{ "", "", "(", "9", },
{ "", "", ")", "0", },
{ "", "", "_", "-", },
{ "", "", "+", "=", },
},
-- second row
{ -- 1 2 3 4
{ "", "", "Q", "q", },
{ "", "", "W", "w", },
{ "", "", "E", "e", },
{ "", "", "R", "r", },
{ "", "", "T", "t", },
{ "", "", "Y", "y", },
{ "", "", "U", "u", },
{ " ", " ", "I", "i", },
{ "", "", "O", "o", },
{ " ", " ", "P", "p", },
{ "", "", "{", "[", },
{ "", "", "}", "]", },
{ "", "", "|", "\\", },
},
-- third row
{ -- 1 2 3 4
{ "", "", "A", "a", },
{ "", "", "S", "s", },
{ "", "", "D", "d", },
{ "", "", "F", "f", },
{ "", "", "G", "g", },
{ "", "", "H", "h", },
{ "", "", "J", "j", },
{ "", "", "K", "k", },
{ "", "", "L", "l", },
{ "", "", ":", ";", },
{ "", "", "\"", "'", },
{ "", "", "", "", },
{ "", "", "", "", },
},
-- fourth row
{ -- 1 2 3 4
{ "", "", "Z", "z", },
{ "", "", "X", "x", },
{ "", "", "C", "c", },
{ "", "", "V", "v", },
{ "", "", "B", "b", },
{ "", "", "N", "n", },
{ "", "", "M", "m", },
{ " ", " ", "<", ",", },
{ "", "", ">", ".", },
{ " ", " ", "?", "/", },
{ "", "", "", "", },
{ "", "", "", "", },
{ "", "", "", "", },
},
-- fifth row
{ -- 1 2 3 4
{ "", "", "Á", "á", },
{ "", "", "É", "é", },
{ "", "", "Í", "í", },
{ "", "", "Ó", "ó", },
{ "", "", "Ú", "ú", },
{ "", "", "Ñ", "ñ", },
{ "", "", "Ü", "ü", },
{ "", "", "¿", "ç", },
{ "", "", "¡", "ß", },
{ "", "", "Æ", "æ", },
{ "", "", "", "£", },
{ " ", " ", "«", "", },
{ "", "", "»", "", },
},
-- sixth row
{
{ label = "",
width = 1.5
},
{ label = "🌐",
width = 1.5
},
{ "記号", "記号", "かな", "かな",
width = 1.5},
{ label = "空白",
" ", " ", " ", " ",
width = 5.5},
{ label = "",
"\n", "\n", "\n", "\n",
width = 1.5,
bold = true
},
{ label = "",
width = 1.5,
bold = false
},
},
},
}