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.
10 lines
363 B
Lua
10 lines
363 B
Lua
4 years ago
|
-- Start with the english keyboard layout (deep copy, to not alter it)
|
||
|
local de_keyboard = require("util").tableDeepCopy(require("ui/data/keyboardlayouts/en_keyboard"))
|
||
|
|
||
|
local keys = de_keyboard.keys
|
||
|
|
||
|
keys[1][6][1], keys[3][2][1] = keys[3][2][1], keys[1][6][1] -- Z <-> Y
|
||
|
keys[1][6][2], keys[3][2][2] = keys[3][2][2], keys[1][6][2] -- z <-> y
|
||
|
|
||
|
return de_keyboard
|