Skip to content

feat: add macOS keyboard-only listener mask#197

Open
georgenijo wants to merge 1 commit into
Narsil:mainfrom
georgenijo:feat/macos-keyboard-only-listener
Open

feat: add macOS keyboard-only listener mask#197
georgenijo wants to merge 1 commit into
Narsil:mainfrom
georgenijo:feat/macos-keyboard-only-listener

Conversation

@georgenijo

Copy link
Copy Markdown

Summary

  • add an opt-in macos_keyboard_only feature
  • limit the macOS event tap to KeyDown, KeyUp, and FlagsChanged when enabled
  • preserve the all-events default for compatibility

Test plan

  • cargo test --lib -- --test-threads=1
  • cargo test --lib --features macos_keyboard_only -- --test-threads=1

Needed by georgenijo/murmur-app#194 to avoid mouse-move callbacks on a hotkey-only consumer.

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