summaryrefslogtreecommitdiff
path: root/app/dts/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'app/dts/bindings')
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-sensor-rotate-key-press.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/dts/bindings/behaviors/zmk,behavior-sensor-rotate-key-press.yaml b/app/dts/bindings/behaviors/zmk,behavior-sensor-rotate-key-press.yaml
new file mode 100644
index 0000000..bbf3537
--- /dev/null
+++ b/app/dts/bindings/behaviors/zmk,behavior-sensor-rotate-key-press.yaml
@@ -0,0 +1,22 @@
+# Copyright (c) 2020, Pete Johanson
+# SPDX-License-Identifier: MIT
+
+description: Sensor rotate key press/release behavior
+
+compatible: "zmk,behavior-sensor-rotate-key-press"
+
+properties:
+ label:
+ type: string
+ required: true
+ "#sensor-binding-cells":
+ type: int
+ required: true
+ const: 2
+ usage_page:
+ type: int
+ default: 0
+
+sensor-binding-cells:
+ - param1
+ - param2