Files
koreader/frontend/ui/data/keyboardlayouts/ja_keyboard.lua
Frans de Jonge 15fe0fef07 [chore] Extract Cyrillic/Russian keyboard (#5610)
Follow-up to #5583.

* Add separate Cyrillic/Russian keyboard

* And remove that from English

* Update French keyboard (is easy)

* Remove yahzhert, that was just a double of QWERTY

* Update Spanish keyboard

* Reduce Japanese to 4 layers and add globe

* Reduce Korean to 4 layers

* Reduce Greek to 8 layers
2019-11-18 23:33:22 +01:00

114 lines
4.5 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 = "Enter",
"\n", "\n", "\n", "\n",
icon = "resources/icons/appbar.arrow.enter.png",
width = 1.5,
},
{ label = "Backspace",
icon = "resources/icons/appbar.clear.reflect.horizontal.png",
width = 1.5
},
},
},
}