From e190394b47357b4418a8cc694b5da30bcd8e7884 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Thu, 12 Jan 2023 22:29:20 +0100 Subject: [PATCH] Add layout 'qwertz_sk' Co-authored-by: Jozef Kundlak --- res/values/arrays.xml | 2 ++ res/xml/method.xml | 1 + res/xml/qwertz_sk.xml | 39 ++++++++++++++++++++++++++++++++ srcs/juloo.keyboard2/Config.java | 1 + 4 files changed, 43 insertions(+) create mode 100644 res/xml/qwertz_sk.xml diff --git a/res/values/arrays.xml b/res/values/arrays.xml index ffb4226..2b2514a 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -19,6 +19,7 @@ qwertz_cs qwertz_de qwertz_hu + qwertz_sk bgph1 dvorak colemak @@ -48,6 +49,7 @@ QWERTZ (Czech) QWERTZ (Deutsch) QWERTZ (Hungarian) + QWERTZ (Slovak) Bulgarian (Phonetic Traditional) Dvorak Colemak diff --git a/res/xml/method.xml b/res/xml/method.xml index 143e081..28977ab 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -23,4 +23,5 @@ + diff --git a/res/xml/qwertz_sk.xml b/res/xml/qwertz_sk.xml new file mode 100644 index 0000000..fa038c5 --- /dev/null +++ b/res/xml/qwertz_sk.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 9557a00..6f5ca74 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -297,6 +297,7 @@ final class Config case "qwertz_cs": id = R.xml.qwertz_cs; break; case "qwertz_de": id = R.xml.qwertz_de; break; case "qwertz_hu": id = R.xml.qwertz_hu; break; + case "qwertz_sk": id = R.xml.qwertz_sk; break; case "ru_jcuken": id = R.xml.local_ru_jcuken; break; } return KeyboardData.load(res, id);