mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
392 B
Lua
11 lines
392 B
Lua
9 months ago
|
-- Start with the norwegian keyboard layout (deep copy, to not alter it)
|
||
|
local da_keyboard = require("util").tableDeepCopy(require("ui/data/keyboardlayouts/no_keyboard"))
|
||
|
|
||
|
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
|