tauri-apps / global-hotkey

Global hotkeys for Desktop Applications.
Apache License 2.0
158 stars 18 forks source link

Cannot use Globe/Fn key as a shortcut on MacOS #111

Open Uluwatta opened 1 month ago

Uluwatta commented 1 month ago

Hi Team,

Is there a way to do this ? couldn't find the possible option on https://github.com/tauri-apps/global-hotkey/blob/c9913a97667b3e44cb000de384cd8937d5a0050a/src/hotkey.rs#L233

Thanks

amrbashir commented 1 month ago

It is not supported atm and I don't know if it is event supported by the OS, I don't have a macOS to test either.

The problem is figuring out if it has a code in here https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10.6.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h