Replies: 2 comments
-
There isn't a way without modifying some code and recompiling yourself. You would need to add an OsCode mapping in this file: kanata/parser/src/keys/macos.rs Line 624 in 1605713 You can pick an arbitrary unused OsCode if there isn't And then you would add a name for it: Line 342 in 1605713 Or otherwise use |
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks, I’ll give it a try! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I’d like to generate custom key codes on macos for the spot light, dictation and do not disturb keys that have to be explicitly dealt with in the kanata configuration.
The community has already identified the codes:
0x221
in page0x0C
for spotlight0xCF
in page0x0C
for dictation0x9B
in page0x01
for do not disturbreference: https://www.usb.org/sites/default/files/hut1_4.pdf
Is there a way to define a key to emit those code in my kanata config?
Beta Was this translation helpful? Give feedback.
All reactions