tauri-apps/global-hotkey

Support separate keydown/keyup event for hotkey

morajabi opened this issue · 4 comments

Is this possible to do? I've seen this in Swift before.

Here it is implemented for macOS: https://medium.com/@avaidyam/building-a-better-registereventhotkey-900afd68f11f but seems to be a lot more than that lol.

I think this maybe be possible on Linux(X11) and maybe Windows too (I have an idea but haven't tested it yet).

As for macOS, I see in the article that they are using private APIs which will result in your app getting rejected by The App Store so we can't use that. Since I am not a macOS dev, I will have to leave it to someone else to contribute.