zmk/app/dts/bindings
Sophie Tyalie dadf1e611f Behavior: Change way lock keys are defined in dts
Previously the definition was copied almost 1:1 from the `none` behavior
in order to set up the important files and have a small running, but
featureless sample.

This change introduces a way to actually configure the custom lock
behavior, using the following syntax:

```
behaviors {
  dead_lock_prevent {
    compatible = "zmk,behavior-custom-lock";

    // to define a key
    dead: dead_key {
      #binding-cells = <2>;
      bindings = <&kp>, <&kp>;
    }

    // or to define a macro
    deadm: dead_macro {
      #binding-cells = <2>;
      bindings = <&macro>, <&kp>;
    }
  }
}
```

Additionally, there's now no standard definition flying around (deletion
of `dts/behaviors/custom_lock.dtsi`)

Signed-off-by: Sophie Tyalie <dev@flowerpot.me>
2022-11-17 13:14:57 +01:00
..
behaviors Behavior: Change way lock keys are defined in dts 2022-11-17 13:14:57 +01:00
display feat(display): IL0323 driver for EPD displays. 2021-08-24 22:15:42 -04:00
macros feat(behaviors): Add macro support. 2022-03-23 23:42:54 -04:00
vendor-prefixes.txt fix(build): Add local vendor prefix file. 2022-04-03 00:10:29 -04:00
zmk,combos.yaml Feat combo layers (#661) 2021-02-03 23:33:09 -05:00
zmk,conditional-layers.yaml feat(conditional-layers): Implement feature 2021-11-15 05:49:23 -05:00
zmk,ext-power-generic.yaml refactor(ext-power): Add init-delay-ms option 2021-02-16 14:51:32 -05:00
zmk,keymap-sensors.yaml chore: standardize # style headers 2021-01-06 17:00:44 -05:00
zmk,keymap.yaml feat(display): Initial widget/status screen work. 2020-12-02 16:04:56 -05:00
zmk,kscan-composite.yaml Move Zephyr app into subdirectory. 2020-06-08 21:07:16 -04:00
zmk,kscan-mock.yaml fix(test): change the layout 2020-08-28 16:21:31 -04:00
zmk,matrix-transform.yaml fix(keymaps): add row-offset property to matrix-transform 2021-12-20 06:14:35 -05:00