summaryrefslogtreecommitdiff
path: root/app/dts/bindings/behaviors
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-08-21 00:33:48 -0400
committerPete Johanson <peter@peterjohanson.com>2020-08-21 11:23:45 -0400
commit805ea770053269278fe0ed443b68f600021d82d1 (patch)
treee36950a4fa09259c007069f458376a910b80ead4 /app/dts/bindings/behaviors
parent1ff13676f7fbab5c0d69317be0d186709a7872c8 (diff)
feat(behaviors): Add `&bootloader` behavior.
* Allow reset behavior to have a type property. * Add `bootloader` node that triggers DFU UF2 bootloader mode using the AdaFruit nrf52 bootloader.
Diffstat (limited to 'app/dts/bindings/behaviors')
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-reset.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/dts/bindings/behaviors/zmk,behavior-reset.yaml b/app/dts/bindings/behaviors/zmk,behavior-reset.yaml
index c8e5e6f..061b15e 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-reset.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-reset.yaml
@@ -6,3 +6,8 @@ description: Keyboard Reset Behavior
compatible: "zmk,behavior-reset"
include: zero_param.yaml
+
+properties:
+ type:
+ type: int
+ default: 0