Files
koreader/frontend/ui/data/keyboardlayouts/de_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

10 lines
315 B
Lua

-- Start with the english keyboard layout
local de_keyboard = dofile("frontend/ui/data/keyboardlayouts/en_keyboard.lua")
local keys = de_keyboard.keys
keys[2][6][1], keys[4][2][1] = keys[4][2][1], keys[2][6][1] -- Z <-> Y
keys[2][6][2], keys[4][2][2] = keys[4][2][2], keys[2][6][2] -- z <-> y
return de_keyboard