2
0
mirror of https://github.com/koreader/koreader synced 2024-11-04 12:00:25 +00:00
koreader/frontend/ui/data/keyboardlayouts/es_keyboard.lua
poire-z d3aaff135c
Update FR and ES keyboards (#4906)
Extend the FR and ES keyboards from the EN one, and
just tweak what has to be changed.
This will allow them to stay in sync with the EN keyboard's
recent and futur developments of key popups.
Also make the FR keyboard a bit more AZERTY.
2019-04-12 21:12:33 +02:00

16 lines
550 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 9 10 11 12
{ "Ñ", "ñ", "Ñ", "ñ", "Ñ", "ñ", "Ñ", "ñ", "Ñ", "ñ", "Ñ", "ñ", }
)
-- Rename "space"
keys[4][4].label = "espacio"
return es_keyboard