mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
15fe0fef07
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
16 lines
473 B
Lua
16 lines
473 B
Lua
-- Start with the english keyboard layout
|
|
local es_keyboard = dofile("frontend/ui/data/keyboardlayouts/en_keyboard.lua")
|
|
|
|
local keys = es_keyboard.keys
|
|
|
|
-- Insert an additional key at the end of 2nd row for easy Ñ and ñ
|
|
table.insert(keys[2],
|
|
-- 1 2 3 4 5 6 7 8
|
|
{ "Ñ", "ñ", "Ñ", "ñ", "Ñ", "ñ", "Ñ", "ñ", }
|
|
)
|
|
|
|
-- Rename "space"
|
|
keys[4][4].label = "espacio"
|
|
|
|
return es_keyboard
|