Skip to content

Support mouse button transcription shortcuts - #33

Draft
amalshaji wants to merge 3 commits into
mainfrom
codex/mouse-button-hotkey
Draft

Support mouse button transcription shortcuts#33
amalshaji wants to merge 3 commits into
mainfrom
codex/mouse-button-hotkey

Conversation

@amalshaji

Copy link
Copy Markdown
Owner

Summary

  • allow extra mouse buttons to be recorded and used as the transcription shortcut
  • keep keyboard, Fn, modifier-chord, and mouse trigger handling in one exhaustive event dispatch
  • validate mouse button shortcuts against Quartz's supported button range when recording and decoding settings
  • document mouse-button shortcut support in the README and settings UI

Why

Multi-button mice provide convenient dedicated controls for starting and stopping transcription. Dictator previously accepted only keyboard-based shortcuts, so those buttons could not be assigned directly.

Validation

  • xcodebuild -project Dictator.xcodeproj -scheme Dictator -configuration Debug -destination 'platform=macOS' -derivedDataPath /tmp/dictator-mouse-hotkey-derived CODE_SIGNING_ALLOWED=NO test
    • 152 passed, 1 skipped, 0 failed
  • xcodebuild -project Dictator.xcodeproj -scheme Dictator -configuration Debug -destination 'platform=macOS' -derivedDataPath /tmp/dictator-mouse-hotkey-derived CODE_SIGNING_ALLOWED=NO analyze
  • git diff --check origin/main...HEAD

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.

1 participant