From 3164215879a8374e9333801e0cc2ef56c627b4b6 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 6 Jul 2024 23:09:51 +0200 Subject: Add locale_extra_keys keyboard attribute This attribute can be used to disable adding the extra keys from method.xml. --- srcs/juloo.keyboard2/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'srcs/juloo.keyboard2/Config.java') diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 2afe5ef..f605381 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -234,7 +234,7 @@ public final class Config extra_keys.put(KeyValue.getKeyByName("config"), KeyboardData.PreferredPos.ANYWHERE); extra_keys.putAll(extra_keys_param); extra_keys.putAll(extra_keys_custom); - if (extra_keys_subtype != null) + if (extra_keys_subtype != null && kw.locale_extra_keys) { Set present = new HashSet(); present.addAll(kw.getKeys().keySet()); -- cgit v1.2.3