diff options
| author | Jules Aguillon | 2022-03-13 00:39:41 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-03-13 00:40:39 +0100 |
| commit | 7aa241b10a5af1e32c5c1e8e8a8cb8d5685a674a (patch) | |
| tree | 25e9c1790ca95b511beab6c375d90e4f75398a03 /srcs | |
| parent | a57bdf8cfb76e8680f77b95c1ad84f2e76e087a9 (diff) | |
| download | unexpected-keyboard-7aa241b10a5af1e32c5c1e8e8a8cb8d5685a674a.tar.gz unexpected-keyboard-7aa241b10a5af1e32c5c1e8e8a8cb8d5685a674a.zip | |
Make superscript and subscript modifiers lockable
Diffstat (limited to 'srcs')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 167c1dc..0c92c76 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -122,7 +122,9 @@ final class Config | (prefs.getBoolean("lockable_ctrl", false) ? KeyValue.FLAG_CTRL : 0) | (prefs.getBoolean("lockable_alt", false) ? KeyValue.FLAG_ALT : 0) | (prefs.getBoolean("lockable_fn", false) ? KeyValue.FLAG_FN : 0) - | (prefs.getBoolean("lockable_meta", false) ? KeyValue.FLAG_META : 0); + | (prefs.getBoolean("lockable_meta", false) ? KeyValue.FLAG_META : 0) + | (prefs.getBoolean("lockable_sup", false) ? KeyValue.FLAG_ACCENT_SUPERSCRIPT : 0) + | (prefs.getBoolean("lockable_sub", false) ? KeyValue.FLAG_ACCENT_SUBSCRIPT : 0); characterSize = prefs.getFloat("character_size", characterSize); accents = Integer.valueOf(prefs.getString("accents", "1")); theme = getThemeId(res, prefs.getString("theme", "")); |
