abouttreesummaryrefslogcommitdiff
path: root/res/xml/bottom_row.xml
diff options
context:
space:
mode:
authorJules Aguillon2023-01-22 23:03:30 +0100
committerJules Aguillon2023-01-22 23:21:21 +0100
commit854eff211d62d566fdd3938a4bca1b0d63ad5958 (patch)
tree555a96911d7964fd35eb0abb112db74d96ef24be /res/xml/bottom_row.xml
parentf4032e3be98b7e70fcd384537c3191cf7542c735 (diff)
downloadunexpected-keyboard-854eff211d62d566fdd3938a4bca1b0d63ad5958.tar.gz
unexpected-keyboard-854eff211d62d566fdd3938a4bca1b0d63ad5958.zip
Move cursor by sliding on the space bar
Send key events for the left or right arrow as the finger slides on the space bar. Can be used to select text by holding shift. Works under Termux. Events are sent linearly as the finger travels. The distance between each events is defined from the swiping distance divided by 4. 'slider="true"' can be set on a key that have 'edgekeys="true"'. 'key2' and 'key3' represent the right and left keys.
Diffstat (limited to 'res/xml/bottom_row.xml')
-rw-r--r--res/xml/bottom_row.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/xml/bottom_row.xml b/res/xml/bottom_row.xml
index 64673fc..f9ec6f3 100644
--- a/res/xml/bottom_row.xml
+++ b/res/xml/bottom_row.xml
@@ -2,7 +2,7 @@
<row height="0.95">
<key width="1.8" key0="ctrl" key1="loc switch_greekmath" key2="loc meta" key4="switch_numeric"/>
<key width="1.2" key0="fn" key1="loc alt" key2="change_method" key3="switch_emoji" key4="config"/>
- <key width="4.0" key0="space" key1="switch_second" edgekeys="true"/>
+ <key width="4.0" key0="space" key1="switch_second" key3="left" key2="right" edgekeys="true" slider="true"/>
<key width="1.2" key1="up" key2="right" key3="left" key4="down" edgekeys="true"/>
<key width="1.8" key0="enter" key2="action"/>
</row>