Skip to content

fix(windows): allow shared dictation shortcuts - #176

Merged
thdxr merged 2 commits into
anomalyco:devfrom
mynameistito:fix/windows-discord-shared-shortcut
Oct 29, 2026
Merged

thdxr merged 2 commits into
anomalyco:devfrom
mynameistito:fix/windows-discord-shared-shortcut

Conversation

@mynameistito

@mynameistito mynameistito commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #175

Summary

  • Add an opt-in Windows setting to share the dictation shortcut with other apps.
  • When enabled, forward the dictation key-down and key-up events after Hex handles them; keep the existing consume behavior as the default.
  • Document the setting and cover its persistence, listener restart, and suppression policy.

Validation

  • cargo fmt --check
  • cargo test --release

@mynameistito
mynameistito force-pushed the fix/windows-discord-shared-shortcut branch from 854e202 to 233e6bc Compare October 21, 2026 00:17
@thdxr
thdxr merged commit 546573f into anomalyco:dev Oct 29, 2026
@thdxr

thdxr commented Oct 29, 2026

Copy link
Copy Markdown
Member

Merged, thank you @mynameistito! Settings moved from GPUI to Rune since this PR, so I ported it: Share dictation shortcut with other apps now sits under General › Advanced on Windows (off by default, also hex settings set share_dictation_shortcut on), and when it's on the keyboard hook passes the shortcut's key-down and key-up on instead of consuming them. A real Discord push-to-talk check on Windows is still to do.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

@thdxr

thdxr commented Oct 31, 2026

Copy link
Copy Markdown
Member

Thanks @mynameistito for building shared dictation shortcuts on Windows, it's still in Hex.

To keep Hex simple for new users, unproven features now live in Settings › Labs, off by default. To keep using it, turn on Share dictation shortcut with other apps there, or run hex labs on share-shortcut. Get the latest build at https://github.com/anomalyco/hex#install-hex.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: allow Discord to receive a shared push-to-talk shortcut

2 participants