zelloptt / desktop-hotkeys

This npm package provides press/release callbacks for system-wide hotkeys
3 stars 0 forks source link

Detect duplicate shortcuts #8

Open EugeneP-Zello opened 2 years ago

EugeneP-Zello commented 2 years ago

Module shall detect if the host app tries to register several hotkeys having the same key combination, and return error code in that case. Now it works on win, but not on mac unregisterShortcut call shall return success code if hotkey existed and removed, and error code if hotkey wasn't found https://github.com/zelloptt/zello-desktop/pull/2309#discussion_r871731662