diff --git a/frontend/ui/data/keyboardlayouts/cs_keyboard.lua b/frontend/ui/data/keyboardlayouts/cs_keyboard.lua new file mode 100644 index 000000000..a2a9a568b --- /dev/null +++ b/frontend/ui/data/keyboardlayouts/cs_keyboard.lua @@ -0,0 +1,57 @@ +local cs_keyboard = require("util").tableDeepCopy(require("ui/data/keyboardlayouts/sk_keyboard")) + +local keys = cs_keyboard.keys + +keys[1][2][1] = { + "2", + north = "ě", + northeast = "Ě", + east = "~", + southeast = "/", + south = "@", + southwest = "https://", + west = "http://", + northwest = "Ĺ", + alt_label = "ě", +} +keys[1][2][2] = { + "ě", + north = "2", + northeast = "Ě", + east = "~", + southeast = "/", + south = "@", + southwest = "https://", + west = "http://", + northwest = "ĺ", + alt_label = "2", +} + +keys[1][5][1] = { + "5", + north = "ř", + northeast = "Ř", + east = "¾", + southeast = "‱", + south = "%", + southwest = "‰", + west = "⅔", + northwest = "Ŕ", + alt_label = "ř", +} +keys[1][5][2] = { + "ř", + north = "5", + northeast = "Ř", + east = "¼", + southeast = "‱", + south = "%", + southwest = "‰", + west = "½", + northwest = "ŕ", + alt_label = "5", +} + +keys[5][4].label = "mezera" + +return cs_keyboard diff --git a/frontend/ui/widget/virtualkeyboard.lua b/frontend/ui/widget/virtualkeyboard.lua index 52c363a18..42957cf23 100644 --- a/frontend/ui/widget/virtualkeyboard.lua +++ b/frontend/ui/widget/virtualkeyboard.lua @@ -801,6 +801,7 @@ local VirtualKeyboard = FocusManager:extend{ ar = "ar_keyboard", bg_BG = "bg_keyboard", bn = "bn_keyboard", + cs = "cs_keyboard", da = "da_keyboard", de = "de_keyboard", el = "el_keyboard",