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

Support for Single Characters/Keys #19

Closed
agg23 opened this issue Aug 15, 2013 · 2 comments
Closed

Support for Single Characters/Keys #19

agg23 opened this issue Aug 15, 2013 · 2 comments

Comments

@agg23
Copy link

agg23 commented Aug 15, 2013

Is there any way at all to add single character/key support to ShortcutRecorder, as in you press "H" (or any other key) by itself and ShortcutRecorder will capture and save it? This opens up an even larger area of usefulness for a very useful framework.

@Kentzo
Copy link
Owner

Kentzo commented Aug 16, 2013

@agg23 Try:

[myRecorder setAllowedModifierFlags:SRCocoaModifierFlagsMask
              requiredModifierFlags:0
           allowsEmptyModifierFlags:YES]

@agg23
Copy link
Author

agg23 commented Aug 16, 2013

Thank you very much. That works like a charm.

@Kentzo Kentzo closed this as completed Aug 16, 2013
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

No branches or pull requests

2 participants