diff options
| author | Jules Aguillon | 2022-01-10 00:27:22 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-01-10 00:27:22 +0100 |
| commit | dfec26a93be8cc3bf605273a49a46223e2551cde (patch) | |
| tree | fd942a142fb5c84835079875092bc7cb95620bf8 /srcs/juloo.keyboard2/Config.java | |
| parent | 53113cadd9654c827ae306905dae4d738dedf818 (diff) | |
| download | unexpected-keyboard-dfec26a93be8cc3bf605273a49a46223e2551cde.tar.gz unexpected-keyboard-dfec26a93be8cc3bf605273a49a46223e2551cde.zip | |
Swap the Enter and Action keys when needed
When IME_FLAG_NO_ENTER_ACTION is set.
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index f7a104b..63befa5 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -36,6 +36,7 @@ final class Config public int key_flags_to_remove; public String actionLabel; // Might be 'null' public int actionId; // Meaningful only when 'actionLabel' isn't 'null' + public boolean swapEnterActionKey; // Swap the "enter" and "action" keys public final IKeyEventHandler handler; @@ -66,6 +67,7 @@ final class Config key_flags_to_remove = 0; actionLabel = null; actionId = 0; + swapEnterActionKey = false; handler = h; } |
