forked from extern/Unexpected-Keyboard
5123ce5417
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.
9 lines
538 B
XML
9 lines
538 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<row height="0.95">
|
|
<key width="1.7" key0="ctrl" key1="loc switch_greekmath" key2="loc meta" key4="switch_numeric"/>
|
|
<key width="1.1" key0="fn" key1="loc alt" key2="change_method" key3="switch_emoji" key4="config"/>
|
|
<key width="4.4" key0="space" key7="switch_forward" key8="switch_backward" key5="cursor_left" key6="cursor_right" slider="true"/>
|
|
<key width="1.1" key7="up" key6="right" key5="left" key8="down"/>
|
|
<key width="1.7" key0="enter" key1="loc voice_typing" key2="action"/>
|
|
</row>
|