hex/src/suppression
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 62a60e0ce3
take the mic key at the session tap so it records and fires (#1870)
* take the microphone key at the session tap

macos matches its own dictation shortcut before the app and before hex's
annotated-session tap, so the mic key never reached the recorder or a
binding. with labs › microphone key alone on, a session tap now sees key
code 176: the press is fed to the listener when one of hex's shortcuts
matches it, and to the window's recorder while a shortcut is being
recorded; in both cases the press and its release are consumed. anything
else passes through, and with the lab off no tap exists.

the recorder reads those presses through the same ChordCapture its own
key events use, and the tap wakes the window for them.

also fixes a_lone_lab_card_keeps_half_the_row, which had no odd group left
after the microphone key card joined the grid.

* keep the key-name test with its helper

* take the recorder's watch with a question mark

* name the recorder wake and take presses without a drain

* harden the microphone key tap

takes the press from the session boundary handy-keys ships at, with a
comment citing its listener. the tap-disable notification now comes first,
ends the capture and forgets the press like the annotated tap; the instant
is read with the same recency rule as hid events; a failed send passes the
event through; the taken press is a single option, cleared when a press
passes through, when the tap is removed, and on disable. removing the tap
only cancels a capture when it holds a listener press. the screenshot
shortcuts refuse the key, since a shot reads its keys after this tap. the
recorder clears the queue it no longer reads and feeds tap presses through
the monitor's own channel.

docs hedge on whether macOS's dictation still opens; a real press is still
unobserved on hardware. adds callback tests for bound, unbound, paused,
recording, synthetic and disabled cases.
2026-11-15 19:26:38 -05:00
..
dictation_key.rs take the mic key at the session tap so it records and fires (#1870) 2026-11-15 19:26:38 -05:00
hotkey.rs Keep dictating through Return, cancel a held dictation with Escape, and let Escape stop a YOLO send (t1561) (#1817) 2026-11-13 21:17:12 -08:00
physical_keys.rs labs: caps lock dictation (macOS) (#1502) 2026-11-07 15:54:34 -05:00
secure_input.rs add pause from menu bar lab (#1654) 2026-11-10 17:51:36 -05:00
tap.rs take the mic key at the session tap so it records and fires (#1870) 2026-11-15 19:26:38 -05:00
tests.rs take the mic key at the session tap so it records and fires (#1870) 2026-11-15 19:26:38 -05:00