mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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 ;)).
15 lines
428 B
Lua
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
|