yqrashawn / GokuRakuJoudo

config karabiner with ease
GNU General Public License v3.0
1.14k stars 121 forks source link

No Action for Non-defined Keys in Layer #145

Closed 1aryanpro closed 2 years ago

1aryanpro commented 2 years ago

I use my caps lock key as a layer however if I type a key that I haven't defined to anything on that layer, such as any of the numbers, the keystroke still goes through although I would prefer that it would just suppress the event. Is there a way to do this?

yqrashawn commented 2 years ago

You can use {:any :key_code} as from to define fallback rules.