Creating a key that outputs nothing

I want to have several keys on my keyboard that do nothing. I see how the deadkeys work, but I think that is for contexts where something else will happen next. What I want is a simple input that says to do nothing, but my keyboard is based on an English QWERTY keyboard, so whatever is attached to the keys is what is currently being output. Any help appreciated…

Thanks for your question, Eric.

If I understand your question correctly, you want something like:

+ [K_A] > nul

to suppress any output from the specified key.

Read more about the “nul” keyword at: nul statement

If this doesn’t answer your question, please write again. Thanks!

Thanks. That’s what I needed to know. Much appreciated…

Your friend,

I haven’t tried it recently with more recent Keyman versions, but at one stage it was impossible to null out a key on macOS, annoying since there was no way to avoid bleed over at the time from default system keyboard on the Keyman keyboard that had no assigned output

AFAIK nul should work in recent builds of Keyman for Mac. Let us know if you discover different @Andrew_Cunningham!

This topic was automatically closed after 14 days. New replies are no longer allowed.