diff options
| author | Jules Aguillon | 2022-01-09 12:47:47 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-01-09 12:47:47 +0100 |
| commit | 23e59c6b09fdaecc92ae67ee7c5c2936f161696a (patch) | |
| tree | e91f28385801b1a19da774fe2b4e096e8757a433 /srcs/juloo.keyboard2/Config.java | |
| parent | 2764e96eb1e6c40a1c3e96f52f9a08877cead8a9 (diff) | |
| download | unexpected-keyboard-23e59c6b09fdaecc92ae67ee7c5c2936f161696a.tar.gz unexpected-keyboard-23e59c6b09fdaecc92ae67ee7c5c2936f161696a.zip | |
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.
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |
