Files
koreader/frontend/ui/data/keyboardlayouts/sv_keyboard.lua
NiLuJe da74691515 Chore: Don't cache static data tables (ui/elements, ui/data, kb layouts & co) (#12519)
Using `require` didn't make much sense since most of them are only used in a single place anyway, and it takes care of a few weird interactions in the process (besides not polluting `package.loaded` with useless crap ;)).
2024-09-16 17:11:42 +02:00

15 lines
428 B
Lua

-- Start with the norwegian keyboard layout
local sv_keyboard = dofile("frontend/ui/data/keyboardlayouts/no_keyboard.lua")
local keys = sv_keyboard.keys
-- replace "Ø" and "ø" with "Ö" and "ö"
keys[3][10][1] = { "Ö", north = "ö", }
keys[3][10][2] = { "ö", north = "Ö", }
-- replace "Æ" and "æ" with "Ä" and "ä"
keys[3][11][1] = { "Ä", north = "ä", }
keys[3][11][2] = { "ä", north = "Ä", }
return sv_keyboard