From e52e537fd717bb27536a7e467d309fbf8ed958f9 Mon Sep 17 00:00:00 2001 From: matthiakl Date: Sun, 24 Apr 2022 19:58:33 +0200 Subject: [PATCH] Added neo 2 layout (#125) * Added neo 2 layout * Move accents away from screen edge into second row --- res/values/arrays.xml | 2 ++ res/xml/neo2.xml | 49 ++++++++++++++++++++++++++++++++ srcs/juloo.keyboard2/Config.java | 1 + 3 files changed, 52 insertions(+) create mode 100644 res/xml/neo2.xml diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 185f1c8..c38664e 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -13,6 +13,7 @@ qwertz bgph1 dvorak + neo2 @string/pref_layout_e_system @@ -27,6 +28,7 @@ QWERTZ Bulgarian (Phonetic Traditional) Dvorak + Neo 2 none diff --git a/res/xml/neo2.xml b/res/xml/neo2.xml new file mode 100644 index 0000000..7ff0be7 --- /dev/null +++ b/res/xml/neo2.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 4022394..f6e40dc 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -227,6 +227,7 @@ final class Config case "qwerty_sv_se": return R.xml.qwerty_sv_se; 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 } }