zmk/app/dts
Sophie Tyalie cac33f493a Behavior: Lock: Make persistence configurable
Persistence of a custom lock is disabled by default, but it can now
be enabled in the dts keyboard config similar to this:
```
deadlock: deadlock {
  compatible = "zmk,behavior-custom-lock";
  label = "dead-key-toggle";
  #binding-cells = <0>;

  persistence = "enabled";
}
```

Currently the options are `disabled`, `enabled` and `per-profile`, where
the latter doesn't do anything different to `enabled` as of right now.

Signed-off-by: Sophie Tyalie <dev@flowerpot.me>
2022-11-17 21:50:35 +01:00
..
behaviors Behavior: Change way lock keys are defined in dts 2022-11-17 13:14:57 +01:00
bindings Behavior: Lock: Make persistence configurable 2022-11-17 21:50:35 +01:00
common chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
behaviors.dtsi Behavior: Add custom lock functionality 2022-11-17 16:52:46 +01:00