From 23e59c6b09fdaecc92ae67ee7c5c2936f161696a Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 9 Jan 2022 12:47:47 +0100 Subject: Allow to hide more keys than just accents Add the "FLAGS_LANGS" set of flags, which will be used to hide individual keys that are not accents. --- srcs/juloo.keyboard2/Config.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'srcs/juloo.keyboard2/Config.java') diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index b2a0d83..8a2199f 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -33,7 +33,7 @@ final class Config // Dynamically set public boolean shouldOfferSwitchingToNextInputMethod; - public int accent_flags_to_remove; + public int key_flags_to_remove; public final IKeyEventHandler handler; @@ -61,7 +61,7 @@ final class Config refresh(context); // initialized later shouldOfferSwitchingToNextInputMethod = false; - accent_flags_to_remove = 0; + key_flags_to_remove = 0; handler = h; } @@ -107,7 +107,7 @@ final class Config } /* Used for the accents option. */ - public static int accentFlag_of_name(String name) + public static int extra_key_flag_of_name(String name) { switch (name) { -- cgit v1.2.3