abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/VibratorCompat.java
diff options
context:
space:
mode:
authorJules Aguillon2023-08-17 12:47:44 +0200
committerJules Aguillon2023-08-17 12:47:44 +0200
commit5123ce5417716bedac970ba34432cf7d43d64d62 (patch)
tree3aedc6e1e520bf8e4cdede60f6c829a6d0f1911f /srcs/juloo.keyboard2/VibratorCompat.java
parent2dc0ce066d44196e91e27db47e496b870e21b0dd (diff)
downloadunexpected-keyboard-5123ce5417716bedac970ba34432cf7d43d64d62.tar.gz
unexpected-keyboard-5123ce5417716bedac970ba34432cf7d43d64d62.zip
Fix slider movements changing input focus
The slider was repeatedly sending arrow keys, which change the focused input when the end of a text box is hit. A new key is added that implements cursor movements using the `InputConnection` API. The new keys are defined as `KeyValue.Editing`, which are no longer only context menu actions. The behavior when a selection has started is changed. The selection is modified instead of cleared even when shift isn't pressed or the selection would become empty. Fallbacks to sending arrow keys for editors that do not support the API, like Termux.
Diffstat (limited to 'srcs/juloo.keyboard2/VibratorCompat.java')
0 files changed, 0 insertions, 0 deletions