DEV Community

Discussion on: Creating a global configurable shortcut for MacOS apps in Swift

Collapse
 
mitchartemis profile image
Mitch Stanley

There are certain keys that can't be used for shortcuts. Capslock is a funny one as it's more of a toggle key rather than an input, so it might not be usable.

It might be best to add in some validation to tell users when certain keys aren't available or certain combinations can't be used (e.g. command+c for example, which is already a system-wide command).