From 9b154a2495ea5c150cf345cf825c9b68d6d95eb1 Mon Sep 17 00:00:00 2001 From: Djuric Date: Sat, 4 Jun 2022 10:23:52 -0300 Subject: [PATCH] Add colemak layout (#135) --- res/values/arrays.xml | 4 +++ res/xml/colemak.xml | 42 ++++++++++++++++++++++++++++++++ srcs/juloo.keyboard2/Config.java | 1 + 3 files changed, 47 insertions(+) create mode 100644 res/xml/colemak.xml diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 91c2270..ce50d94 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -15,6 +15,7 @@ qwertz_hu bgph1 dvorak + colemak neo2 @@ -32,17 +33,20 @@ QWERTZ (Hungarian) Bulgarian (Phonetic Traditional) Dvorak + Colemak Neo 2 none qwerty dvorak + colemak @string/pref_programming_layout_none QWERTY Dvorak + Colemak @string/pref_accents_e_all_installed diff --git a/res/xml/colemak.xml b/res/xml/colemak.xml new file mode 100644 index 0000000..f992c86 --- /dev/null +++ b/res/xml/colemak.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 50d8a11..278cbd2 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -234,6 +234,7 @@ final class Config { case "azerty": return R.xml.azerty; case "bgph1": return R.xml.local_bgph1; + case "colemak": return R.xml.colemak; case "dvorak": return R.xml.dvorak; case "neo2": return R.xml.neo2; case "qwerty_es": return R.xml.qwerty_es;