aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCismonX <admin@cismon.net>2023-07-04 16:19:21 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-05 14:22:28 +0000
commitd2fcb5343f57c132abec9a21ad89d1505a32c47c (patch)
tree2580765e5cb9d5c7470488c4f32acc50f09c3855 /doc
parentchangelog: fractional-scaling-v1 -> fractional-scale-v1 (diff)
input: add basic support for touchscreen input
Closes #517
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd12
-rw-r--r--doc/foot.ini.5.scd8
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 60420bef..1cdf47e4 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -283,6 +283,18 @@ default) available; see *foot.ini*(5).
*wheel*
Scroll up/down in history
+## TOUCHSCREEN
+
+*tap*
+ Emulates mouse left button click.
+
+*drag*
+ Scrolls up/down in history.
+
+ Holding for a while before dragging (time delay can be configured)
+ emulates mouse dragging with left button held.
+
+
# FONT FORMAT
The font is specified in FontConfig syntax. That is, a colon-separated
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index e28cf416..ac22ae5a 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -535,6 +535,14 @@ applications can change these at runtime.
Default: _yes_.
+# SECTION: touch
+
+*long-press-delay*
+ Number of milliseconds to distinguish between a short press and
+ a long press on the touchscreen.
+
+ Default: _400_.
+
# SECTION: colors
This section controls the 16 ANSI colors, the default foreground and