Open bhagyash007 opened 3 years ago
I want to disable fn key from showing the emoji menu globally when my app is active / background
I am already achieving this using CGSSetGlobalHotKeyOperatingMode(connection, kCGSGlobalHotKeyDisable)
However, this disables all hotkeys and I'm calling this on keydown and then re-activating on key-up
Is there a way I can only target the fn key and disable it instead of this toggle on / off behaviour for all keys?
I want to disable fn key from showing the emoji menu globally when my app is active / background
I am already achieving this using CGSSetGlobalHotKeyOperatingMode(connection, kCGSGlobalHotKeyDisable)
However, this disables all hotkeys and I'm calling this on keydown and then re-activating on key-up
Is there a way I can only target the fn key and disable it instead of this toggle on / off behaviour for all keys?