From 815025aaa99851840d4bc8b2a0dfff4caa6a44f3 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 29 May 2022 17:31:12 +0200 Subject: Add layout: QWERTY (Hungarian) --- res/values/arrays.xml | 2 ++ res/xml/qwerty_hu.xml | 37 +++++++++++++++++++++++++++++++++++++ srcs/juloo.keyboard2/Config.java | 5 +++-- 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 res/xml/qwerty_hu.xml diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 15f11e9..91c2270 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -9,6 +9,7 @@ qwerty_ko qwerty_lv qwerty_sv_se + qwerty_hu ru_jcuken qwertz qwertz_hu @@ -25,6 +26,7 @@ QWERTY (Korean) QWERTY (Latvian) QWERTY (Swedish) + QWERTY (Hungarian) ЙЦУКЕН (Русский) QWERTZ QWERTZ (Hungarian) diff --git a/res/xml/qwerty_hu.xml b/res/xml/qwerty_hu.xml new file mode 100644 index 0000000..325ba31 --- /dev/null +++ b/res/xml/qwerty_hu.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 199fe35..50d8a11 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -235,16 +235,17 @@ final class Config case "azerty": return R.xml.azerty; case "bgph1": return R.xml.local_bgph1; case "dvorak": return R.xml.dvorak; + case "neo2": return R.xml.neo2; case "qwerty_es": return R.xml.qwerty_es; + case "qwerty_hu": return R.xml.qwerty_hu; case "qwerty_ko": return R.xml.qwerty_ko; case "qwerty_lv": return R.xml.qwerty_lv; case "qwerty_pt": return R.xml.qwerty_pt; case "qwerty": return R.xml.qwerty; case "qwerty_sv_se": return R.xml.qwerty_sv_se; - case "qwertz": return R.xml.qwertz; case "qwertz_hu": return R.xml.qwertz_hu; + case "qwertz": return R.xml.qwertz; case "ru_jcuken": return R.xml.local_ru_jcuken; - case "neo2": return R.xml.neo2; default: return R.xml.qwerty; // The config might store an invalid layout, don't crash } } -- cgit v1.2.3