summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-12-17 14:23:07 +0800
committerPo Lu <luangruo@yahoo.com>2021-12-17 14:23:07 +0800
commit5e5cde55e5be6e2d388252c3ccb0d019aee6b89e (patch)
tree339463076073de968bfe854c4813f0d47b6e34d5 /src/termhooks.h
parent32b9b22f66b1afcc614d5f76860d56d5630c5bc4 (diff)
parentf6339412eebdc027b00263ae2b5c38a029e2f7b4 (diff)
downloademacs-5e5cde55e5be6e2d388252c3ccb0d019aee6b89e.tar.gz
Merge remote-tracking branch 'origin/master' into feature/pgtk
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index b124e995292..9f22187b841 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -280,6 +280,19 @@ enum event_kind
In the future, this may take into account other multi-touch
events generated from touchscreens and such. */
, TOUCH_END_EVENT
+
+ /* In a TOUCHSCREEN_UPDATE_EVENT, ARG is a list of elements of the
+ form (X Y ID), where X and Y are the coordinates of the
+ touchpoint relative to the top-left corner of the frame, and ID
+ is a unique number identifying the touchpoint.
+
+ In TOUCHSCREEN_BEGIN_EVENT and TOUCHSCREEN_END_EVENT, ARG is the
+ unique ID of the touchpoint, and X and Y are the frame-relative
+ positions of the touchpoint. */
+
+ , TOUCHSCREEN_UPDATE_EVENT
+ , TOUCHSCREEN_BEGIN_EVENT
+ , TOUCHSCREEN_END_EVENT
};
/* Bit width of an enum event_kind tag at the start of structs and unions. */