2 Replies
Good question! To set up soft-off (putting the keyboard into a low-power "off" state) in ZMK, you’ll use the
Here’s the breakdown: 1. Adding Soft Off Add a binding anywhere in your keymap: Example: That key would turn the keyboard off when pressed. --- 2. Adding Soft Off Waker To control which keys can wake the board up from soft off, use the soft-off waker combo. You create it just like other combos in ZMK: -
- Defining one (or multiple) wakers restricts wake-up to those keys only.
- Great for preventing accidental wake-ups when traveling. --- For more detail, check ZMK’s docs on Key Behaviors.
Do you want me to give you an example specifically for the Corne/Lily58 default keymap positions so you can drop it right in?
&soft_off
behavior. You can also specify wake-up keys by combining it with a &soft_off
waker behavior.Here’s the breakdown: 1. Adding Soft Off Add a binding anywhere in your keymap: Example: That key would turn the keyboard off when pressed. --- 2. Adding Soft Off Waker To control which keys can wake the board up from soft off, use the soft-off waker combo. You create it just like other combos in ZMK: -
&soft_off_waker
goes in a combo binding.
- When that combo is defined, pressing those keys can wake up the keyboard from soft off.
---
⚡ Notes
- If you don’t set any &soft_off_waker
, then any key press will wake the keyboard.- Defining one (or multiple) wakers restricts wake-up to those keys only.
- Great for preventing accidental wake-ups when traveling. --- For more detail, check ZMK’s docs on Key Behaviors.
Do you want me to give you an example specifically for the Corne/Lily58 default keymap positions so you can drop it right in?
Behavior Overview | ZMK Firmware
"Behaviors" are bindings that are assigned to and triggered by key positions on keymap layers, sensors (like an encoder) or combos. They describe what happens e.g. when a certain key position is pressed or released, or an encoder triggers a rotation event. They can also be recursively invoked by other behaviors, such as macros.
🤔 seems very off