summaryrefslogtreecommitdiff
path: root/app/dts/behaviors
diff options
context:
space:
mode:
Diffstat (limited to 'app/dts/behaviors')
-rw-r--r--app/dts/behaviors/key_press.dtsi11
-rw-r--r--app/dts/behaviors/sensor_rotate_key_press.dtsi11
2 files changed, 4 insertions, 18 deletions
diff --git a/app/dts/behaviors/key_press.dtsi b/app/dts/behaviors/key_press.dtsi
index a9e8d8b..77050aa 100644
--- a/app/dts/behaviors/key_press.dtsi
+++ b/app/dts/behaviors/key_press.dtsi
@@ -3,17 +3,10 @@
/ {
behaviors {
- kp: behavior_key_press {
+ /* DEPRECATED: `cp` will be removed in the future */
+ cp: kp: behavior_key_press {
compatible = "zmk,behavior-key-press";
label = "KEY_PRESS";
- usage_page = <HID_USAGE_KEY>;
- #binding-cells = <1>;
- };
-
- cp: behavior_consumer_press {
- compatible = "zmk,behavior-key-press";
- label = "CONSUMER_PRESS";
- usage_page = <HID_USAGE_CONSUMER>;
#binding-cells = <1>;
};
};
diff --git a/app/dts/behaviors/sensor_rotate_key_press.dtsi b/app/dts/behaviors/sensor_rotate_key_press.dtsi
index fa410f1..5433994 100644
--- a/app/dts/behaviors/sensor_rotate_key_press.dtsi
+++ b/app/dts/behaviors/sensor_rotate_key_press.dtsi
@@ -3,17 +3,10 @@
/ {
behaviors {
- inc_dec_kp: behavior_sensor_rotate_key_press {
+ /* DEPRECATED: `inc_dec_cp` will be removed in the future */
+ inc_dec_cp: inc_dec_kp: behavior_sensor_rotate_key_press {
compatible = "zmk,behavior-sensor-rotate-key-press";
label = "ENC_KEY_PRESS";
- usage_page = <HID_USAGE_KEY>;
- #sensor-binding-cells = <2>;
- };
-
- inc_dec_cp: behavior_sensor_rotate_consumer_press {
- compatible = "zmk,behavior-sensor-rotate-key-press";
- label = "ENC_CONSUMER_PRESS";
- usage_page = <HID_USAGE_CONSUMER>;
#sensor-binding-cells = <2>;
};
};