HotKey
HotKey copied to clipboard
Is there any support for shortcut view?
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
or something would be great. Right now I have to listen for keyUp/keyDown events explicitly and update the shortcuts. Having the above said callback would make this library even easier to use. Thoughts?
I recently published a package that solves this: https://github.com/sindresorhus/KeyboardShortcuts
@sindresorhus this is superb. I couldn't find any Swift libraries for Global Key Shortcuts that had a ready to use view so I finally converted MASShortcut into a Swift package and used it in my app. I will surely check this out for my next app, thanks for sharing.
P.S: I will update this repo https://github.com/rampatra/MASShortcut with decent documentation (in Swift) later if anyone wants to use it.