Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable fn key #8

Open
bhagyash007 opened this issue Jul 28, 2021 · 0 comments
Open

Disable fn key #8

bhagyash007 opened this issue Jul 28, 2021 · 0 comments

Comments

@bhagyash007
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant