zmk/app
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
..
boards feat(shields): Add splitkb.com Aurora Corne. 2022-11-10 21:05:26 -06:00
cmake fix(build): Fix for proper string variable check. 2022-06-07 19:43:23 -04:00
drivers feat(drivers): Driver for MAX7318 GPIO expander (#1295) 2022-09-29 21:22:01 -04:00
dts Behavior: Change way lock keys are defined in dts 2022-11-17 13:14:57 +01:00
include fix: HID report descriptor 2022-11-10 22:15:06 -06:00
scripts chore: make west scripts more pythonic and apply Black 2022-01-04 23:59:25 -05:00
src CustomLock: add basic file structure 2022-11-15 16:40:47 +01:00
tests fix(behaviors): make tap dances work on a combo 2022-11-01 15:13:19 -05:00
.gitignore feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
.prettierrc.js feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
CMakeLists.txt CustomLock: add basic file structure 2022-11-15 16:40:47 +01:00
core-coverage.yml feature(shields): Add nice!view 2022-09-29 21:11:26 -04:00
Kconfig feat(ble): Default a few configs for DIS GATT svc. 2022-10-05 11:34:37 -04:00
package-lock.json feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
package.json feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
prj.conf Removed development files 2020-08-29 11:53:53 -07:00
run-test.sh refactor(tests): Use GH Actions matrix for tests. 2022-04-04 23:36:51 -04:00
west.yml fix: Don't exclude segger, needed for DKs. 2022-06-22 16:37:22 -04:00