Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding cycle selection on repeated shortcut press feature #1042

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexisgaziello
Copy link

  • OpenShortcut.swift is where most of the logic is stored. We use CGEvent insteadq of NSEvent.addGlobalMonitorForEvents because the latter doesn't allow taking over the event, which can lead to weird behavior. Note: right now this leads to a mix of NSEvent and CGEvent in the code which is not ideal.

  • Added tests for new feature

Put all tests in single file MaccyUITests

@alexisgaziello alexisgaziello force-pushed the feature/cycle-popup-v4 branch 2 times, most recently from a78eece to a8be935 Compare February 2, 2025 22:36
- OpenShortcut.swift is where most of the logic is stored. We use CGEvent insteadq
 of NSEvent.addGlobalMonitorForEvents because the latter doesn't allow
 taking over the event, which can lead to weird behavior. Note: right now
 this leads to a mix of NSEvent and CGEvent in the code which is not ideal.

- Added tests for new feature
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