diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-22 16:24:31 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-07-22 16:24:31 -0400 |
commit | 5958bfed0bd764c50d1a926a29a419b6f99018d5 (patch) | |
tree | c2d7e993a43e16787d6c5999469f849654c8bd72 | |
parent | 34ff6190bd6177705bed075c5d52f54e87930591 (diff) |
Naming tweaks for the sensor behavior.
-rw-r--r-- | app/boards/shields/kyria/keymap/keymap.overlay | 2 | ||||
-rw-r--r-- | app/dts/behaviors/sensor_rotate_key_press.dtsi | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/boards/shields/kyria/keymap/keymap.overlay b/app/boards/shields/kyria/keymap/keymap.overlay index 398882d..53101ff 100644 --- a/app/boards/shields/kyria/keymap/keymap.overlay +++ b/app/boards/shields/kyria/keymap/keymap.overlay @@ -30,7 +30,7 @@ &kp LGUI &kp DEL &kp RET &kp SPC &kp ESC &kp RET &kp SPC &kp TAB &kp BKSP &kp RALT >; - sensor-bindings = <&enccp M_VOLU M_VOLD &enckp PGUP PGDN>; + sensor-bindings = <&inc_dec_cp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>; }; }; }; diff --git a/app/dts/behaviors/sensor_rotate_key_press.dtsi b/app/dts/behaviors/sensor_rotate_key_press.dtsi index ef52fba..b094be5 100644 --- a/app/dts/behaviors/sensor_rotate_key_press.dtsi +++ b/app/dts/behaviors/sensor_rotate_key_press.dtsi @@ -2,14 +2,14 @@ / { behaviors { - enckp: behavior_sensor_rotate_key_press { + inc_dec_kp: behavior_sensor_rotate_key_press { compatible = "zmk,behavior-sensor-rotate-key-press"; label = "ENC_KEY_PRESS"; usage_page = <USAGE_KEYPAD>; #sensor-binding-cells = <2>; }; - enccp: behavior_sensor_rotate_consumer_press { + inc_dec_cp: behavior_sensor_rotate_consumer_press { compatible = "zmk,behavior-sensor-rotate-key-press"; label = "ENC_CONSUMER_PRESS"; usage_page = <USAGE_CONSUMER>; |