Skip to content

Conversation

@cipher-shad0w
Copy link
Contributor

@cipher-shad0w
Copy link
Contributor Author

There’s just one problem right now — currently, you can set any single key as a trigger for an action, for example just a single letter. What should I check for? A minimum of 2 keys? And certain keys that must be included so that the custom trigger key can be used?

Copy link
Owner

@MrKai77 MrKai77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s just one problem right now — currently, you can set any single key as a trigger for an action, for example just a single letter. What should I check for? A minimum of 2 keys? And certain keys that must be included so that the custom trigger key can be used?

I'd say a minimum of at least one modifier key and one non-modifier key, and then a maximum of around 5 keys in total (e.g. 4 modifiers, one key).

@cipher-shad0w
Copy link
Contributor Author

I'd say a minimum of at least one modifier key and one non-modifier key, and then a maximum of around 5 keys in total (e.g. 4 modifiers, one key).

Does Loop has anything implemented to check if sth is a modifier key or not?

@MrKai77
Copy link
Owner

MrKai77 commented Jan 7, 2026

There is CGKeyCode.isModifier. Additionally, it likely makes sense to map these via CGKeyCode.baseModifier to eliminate the left/right key code distinction.

@MrKai77 MrKai77 added the Feature label Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants