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 ;)).
11 lines
344 B
Lua
11 lines
344 B
Lua
-- Start with the norwegian keyboard layout
|
|
local da_keyboard = dofile("frontend/ui/data/keyboardlayouts/no_keyboard.lua")
|
|
|
|
local keys = da_keyboard.keys
|
|
|
|
-- swap "Ø" and "Æ", and "ø" and "æ"
|
|
keys[3][10][1], keys[3][11][1] = keys[3][11][1], keys[3][10][1]
|
|
keys[3][10][2], keys[3][11][2] = keys[3][11][2], keys[3][10][2]
|
|
|
|
return da_keyboard
|