CGSInternal icon indicating copy to clipboard operation
CGSInternal copied to clipboard

Disable fn key

Open bhagyash007 opened this issue 4 years ago • 0 comments

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?

bhagyash007 avatar Jul 28 '21 09:07 bhagyash007