revery-ui / revery

:zap: Native, high-performance, cross-platform desktop apps - built with Reason!

Home Page:https://www.outrunlabs.com/revery/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Native: Global hotkey-events

lessp opened this issue · comments

At least on macOS it's possible to register global hotkey-events:

https://snippets.aktagon.com/snippets/361-registering-global-hot-keys-with-cocoa-and-objective-c

A common use-case is to show the app once such a key-event has been pressed.

E.g. in Electron:
https://www.electronjs.org/docs/api/global-shortcut