Naming tweaks for the sensor behavior.
This commit is contained in:
parent
34ff6190bd
commit
5958bfed0b
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@
|
||||||
&kp LGUI &kp DEL &kp RET &kp SPC &kp ESC &kp RET &kp SPC &kp TAB &kp BKSP &kp RALT
|
&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>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
behaviors {
|
behaviors {
|
||||||
enckp: behavior_sensor_rotate_key_press {
|
inc_dec_kp: behavior_sensor_rotate_key_press {
|
||||||
compatible = "zmk,behavior-sensor-rotate-key-press";
|
compatible = "zmk,behavior-sensor-rotate-key-press";
|
||||||
label = "ENC_KEY_PRESS";
|
label = "ENC_KEY_PRESS";
|
||||||
usage_page = <USAGE_KEYPAD>;
|
usage_page = <USAGE_KEYPAD>;
|
||||||
#sensor-binding-cells = <2>;
|
#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";
|
compatible = "zmk,behavior-sensor-rotate-key-press";
|
||||||
label = "ENC_CONSUMER_PRESS";
|
label = "ENC_CONSUMER_PRESS";
|
||||||
usage_page = <USAGE_CONSUMER>;
|
usage_page = <USAGE_CONSUMER>;
|
||||||
|
|
Loading…
Reference in a new issue