hex/src/windows/input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 643563378d
windows: re-arm a silenced keyboard hook and heal a lost shortcut release (#2006)
* windows: re-arm a silenced keyboard hook and heal a lost shortcut release

A Toggle dictation could keep recording for 50 minutes while every
shortcut press and Escape did nothing and nothing was logged: Windows had
stopped calling the low-level keyboard hook and the lost chord release
left the capture reading as held.

Add a 1 s watchdog on the hook thread that re-installs the keyboard hook
when session input keeps arriving but neither hook has seen an event for
3 s, and on the same tick releases a keyless chord whose keys read up as
its lost release would. Log the escape cancel, an ignored escape while
recording, and each watchdog re-arm.

* windows: keep hook-side logging off the hook path, re-arm both hooks with back-off

* windows: gate the release heal on keyboard silence and back off on keyboard events only
2026-11-19 16:41:53 -05:00
..
activity.rs windows: join back-to-back dictations with a space (#1980) 2026-11-18 19:28:07 -05:00
chord.rs windows: let altgr type its character over a ctrl+alt shortcut (#1964) (#1967) 2026-11-18 05:04:51 -05:00
commands.rs labs: stop phrase finishes a hands-free dictation (#1886) 2026-11-16 06:19:37 -05:00
disposition.rs windows: join back-to-back dictations with a space (#1980) 2026-11-18 19:28:07 -05:00
hold_through.rs labs: keep long holds through other keys (#1475) (#1890) 2026-11-16 08:18:53 -05:00
modifiers.rs windows: re-arm a silenced keyboard hook and heal a lost shortcut release (#2006) 2026-11-19 16:41:53 -05:00
rearm.rs windows: re-arm a silenced keyboard hook and heal a lost shortcut release (#2006) 2026-11-19 16:41:53 -05:00
watchdog.rs windows: re-arm a silenced keyboard hook and heal a lost shortcut release (#2006) 2026-11-19 16:41:53 -05:00