diff options
| author | Jules Aguillon | 2022-11-13 16:18:08 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-11-13 16:28:39 +0100 |
| commit | 078dbcd5ff7f0828f48d66d866ea49d3eb14cc6a (patch) | |
| tree | 961089cf4b15f266fa1b32aeb0f3605accf4e20f /srcs/juloo.keyboard2/EmojiKeyButton.java | |
| parent | 22a7df6632bcd53ef96cc7e314637ae2ec4b8695 (diff) | |
| download | unexpected-keyboard-078dbcd5ff7f0828f48d66d866ea49d3eb14cc6a.tar.gz unexpected-keyboard-078dbcd5ff7f0828f48d66d866ea49d3eb14cc6a.zip | |
Refactor: Move editing code from to KeyEventHandler
Remove the code dealing with InputMethodConnection from 'Keyboard2' and
move it into 'KeyEventHandler', where more editing actions can now be
implemented.
Autocapitalisation is also moved, the IReceiver interface is simplified.
Diffstat (limited to 'srcs/juloo.keyboard2/EmojiKeyButton.java')
| -rw-r--r-- | srcs/juloo.keyboard2/EmojiKeyButton.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/EmojiKeyButton.java b/srcs/juloo.keyboard2/EmojiKeyButton.java index 4463169..ed1e027 100644 --- a/srcs/juloo.keyboard2/EmojiKeyButton.java +++ b/srcs/juloo.keyboard2/EmojiKeyButton.java @@ -24,6 +24,6 @@ public class EmojiKeyButton extends Button public void onClick(View v) { Config config = Config.globalConfig(); - config.handler.handleKeyUp(_key, Pointers.Modifiers.EMPTY); + config.handler.key_up(_key, Pointers.Modifiers.EMPTY); } } |
