HotKey
HotKey copied to clipboard
Simple global shortcuts in macOS
I am getting a memory leak using instruments that goes away as soon as I comment out the KeyCombo dictionary extension... below is the code I am using - any...
Hi, Is this supposed to work with .volumeDown or .volumeUp ? Your example works fine, but not if I register one of them. May be any help ?
Would you be interested in extending this library to support simulating hotkey press/releases? If so, I can PR. I'm planning to make a small library in my app for this.
I know and also use the “normal” HotKeys. ` HotKey(key: .p, modifiers: [.control], keyUpHandler: { ... }) ` However, I now wanted to use a HotKey with a modifier but...
I want to track just two modifiers: ``` let hotKey = HotKey(key: .control, modifiers: [.option]) ``` But that does not seem to be supported. Is there a way to work...
I'd really like to use this lib, but due to `final` I can't mock it in my tests. Is there a specific reason the classes are `final`? Would you accept...
How to listen to all keystrokes and record user keystrokes for supporting user-defined keybindings.
Would it be possible to introduce key repeat support inside the HotKey package or should/can this be implemented outside of the package?
I want the make the user press the shortcut (i.e. command + t) twice (instead of just pressing it only once) before running the code in the keyDownHandler. How might...