HotKey
HotKey copied to clipboard
Simple global shortcuts in macOS
This library seems quite easy to use, however, is there any support for key shortcut view like in https://github.com/shpakovski/MASShortcut? Having a view like this and a callback similar to `onKeyShortcutValueChange`...
It says "You don’t need to think about when handlers are registered and unregistered. This all happens automatically based on the HotKey object’s lifecycle." However, is there a way to...
HotKey queues while StatusItem's Menu is open, then executes the handlers all at once
First of all I'd like to thank you for the useful and convenient library! Though I find it difficult to use with the multiple shortcuts, if you specify same callbacks....
kVK_ANSI_ virtual keycodes don't match output in Dvorak or non-QWERTY international keyboard layouts
Cool and useful framework! This is just a heads up, not a request for an immediate fix or anything, about an issue I have some experience with having written some...
SwiftUI tries to build every SwiftPackage when generating a preview. If there are packages for a platform it does not support, previews do not build. This can happen when a...
Compiling with Xcode 11.4.1 yields this warning in `keyCombo.swift`: I've looked at the source for all of twenty seconds, but it seems like this setter is never going to set...
Fixes: ``` Sources/HotKey/KeyCombo.swift:26:22: warning: setter argument 'newValue' was never used, but the property was accessed carbonModifiers = modifiers.carbonFlags ^ Sources/HotKey/KeyCombo.swift:26:22: note: did you mean to use 'newValue' instead of accessing...
With the version 0.1.3 I need to re-register the key handler every time the handler is fired, for example, in the version `0.1.2` this code works: ```swift setupGlobalKeybindings() { let...
Does this work? Is it possible? I can use it fine on a sample Mac app but it is unable to build ObjC module Carbon on my catalyst app