Add support for the new short-then-long-press gesture

This commit is contained in:
James Babcock committed 2026-08-31 20:31:08 -07:00
1 parent 596c767446
commit 6483d00647
4 files changed
+27 -4

No files matched your search

+2
View File
@@ -25,6 +25,8 @@ export type InputEventPayload =
| { type: "scroll-down"; source?: InputSource }
| { type: "long-press"; source: InputSource }
| { type: "long-press-release"; source: InputSource }
/** G2 2.2.9 tap-then-hold gesture, reserved for the shell system menu. */
| { type: "short-then-long-press"; source: InputSource }
/**
* Spatial (four-way) input, which only a watch can produce: the ring's
* scroll is a one-dimensional cursor, these are directions. Components with