summaryrefslogtreecommitdiff
path: root/test/macos-snapshots
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-07 14:00:29 -0300
committerGabriel Schneider <[email protected]>2026-09-07 14:10:43 -0300
commit7545cdbf47559d4e996c7d3fc9ae8968a3342292 (patch)
tree1344829ac67c55c2c233e813cd6c32bb8e548281 /test/macos-snapshots
parent3f2d6f43199d0e230490396deb50f8dc49c7b8b0 (diff)
downloadpardes-7545cdbf47559d4e996c7d3fc9ae8968a3342292.tar.gz
pardes-7545cdbf47559d4e996c7d3fc9ae8968a3342292.zip
macos: use two-finger click for Exec and deep press for Look
Diffstat (limited to 'test/macos-snapshots')
-rw-r--r--test/macos-snapshots/trackpad.golden2
-rw-r--r--test/macos-snapshots/trackpad.snap20
2 files changed, 12 insertions, 10 deletions
diff --git a/test/macos-snapshots/trackpad.golden b/test/macos-snapshots/trackpad.golden
index 631e5af9..b5f9f567 100644
--- a/test/macos-snapshots/trackpad.golden
+++ b/test/macos-snapshots/trackpad.golden
@@ -246,7 +246,7 @@
| 1 @p0:2:3-6 x MARK a
| 2 @p0:4:3-6 x MARK b
| 3 @p0:6:3-6 x MARK c
-== snap force grid=100x30 cursor=57,2
+== snap exec3 grid=100x30 cursor=57,2
|New Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Kill
| /private/tmp/pardes-macos-e2e/trackpad/cwd Save /private/tmp/pardes-macos-e2e/trackpad/cwd/+New
| RK c\n' 1
diff --git a/test/macos-snapshots/trackpad.snap b/test/macos-snapshots/trackpad.snap
index 05f46e1f..df843e5d 100644
--- a/test/macos-snapshots/trackpad.snap
+++ b/test/macos-snapshots/trackpad.snap
@@ -3,8 +3,8 @@
#
# Trackpad.button(fingers:) is pure policy with no NSEvent in it, so a script
# can name how many fingers were resting and get back the button a hand would
-# have produced: two is acme's button 3 (Look), three or more is button 2
-# (Exec), and a deep press is button 2 by another route. pardes_take_haptic is
+# have produced: two or more fingers is acme's button 2 (Exec), one finger is
+# left to select, and a deep press is button 3 (Look). pardes_take_haptic is
# the other half — it is how the pulse the core armed is read back on a machine
# with nothing to feel it with.
#
@@ -36,9 +36,9 @@ haptic look
snap adapter
# Back to a clean slate for the finger-count cases below.
haptic none
-# TWO FINGERS RESTING = button 3 = Look. MARK names no file, so looking at it
+# A DEEP PRESS = button 3 = Look. MARK names no file, so looking at it
# searches, and the hits land in a +Search buffer split under the shell.
-fingers 2 4 3
+force 4 3
wait 10000 @p0:
stable 700 15000
haptic look
@@ -70,18 +70,20 @@ snap scrolled
wheel wheeldown 4 5
stable 700 10000
snap notched
-# THREE FINGERS = button 2 = Exec. `New` in the top tag is a builtin, so this
+# TWO FINGERS = button 2 = Exec. `New` in the top tag is a builtin, so this
# spawns a pane rather than running something the machine would have to own.
-fingers 3 1 0
+fingers 2 1 0
stable 700 20000
haptic exec
snap exec
-# A DEEP PRESS is the same button 2 by another route; `Newcol` proves it went
+# THREE FINGERS are the same button 2, and that is the case the finger count
+# exists for: macOS delivers them on the right stream exactly like two, so a
+# view that trusted the stream would Look here. `Newcol` proves this one went
# somewhere different from the click above.
-force 5 0
+fingers 3 5 0
stable 700 20000
haptic exec
-snap force
+snap exec3
# One finger is still an ordinary left press, and selecting is not a verb the
# hand should feel.
fingers 1 4 3