Skip to content

Commit

Permalink
fix(shields): Add labels to all sensors nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
joelspadin committed Feb 4, 2024
1 parent aab09d5 commit f24a0bf
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion app/boards/shields/crbn/crbn.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
status = "okay";
};

sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder>;
};
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/leeloo/leeloo_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7)
status = "disabled";
};

sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&left_encoder &right_encoder>;
triggers-per-rotation = <30>;
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/leeloo_micro/leeloo_micro.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(3,4) RC(3,5) RC(2,5) RC(2,6) RC(2,7)
steps = <60>;
};

sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&left_encoder &right_encoder>;
triggers-per-rotation = <30>;
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/murphpad/murphpad.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
};
};

sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder_1 &encoder_2>;
triggers-per-rotation = <20>;
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/nibble/nibble.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <dt-bindings/zmk/bt.h>

/ {
sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder_1>;
triggers-per-rotation = <20>;
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/snap/snap.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <dt-bindings/zmk/rgb.h>

/ {
sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&left_encoder &right_encoder>;
triggers-per-rotation = <20>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
b-gpios = <&pro_micro 14 GPIO_PULL_UP>;
};

sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&left_encoder &right_encoder>;
triggers-per-rotation = <36>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7)
b-gpios = <&pro_micro 10 GPIO_PULL_UP>;
};

sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&left_encoder &right_encoder>;
triggers-per-rotation = <36>;
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/tidbit/tidbit.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
};

/ {
sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder_1_top_row>;
triggers-per-rotation = <20>;
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/tidbit/tidbit_19key.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
};

/ {
sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder_4>;
};
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/waterfowl/waterfowl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5)
status = "disabled";
};

sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
triggers-per-rotation = <20>;
sensors = <
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/zmk_uno/zmk_uno.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
chosen {
zmk,matrix-transform = &matrix_transform;
};
sensors {
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder>;
triggers-per-rotation = <20>;
Expand Down
10 changes: 5 additions & 5 deletions app/boards/shields/zmk_uno/zmk_uno_split.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
b-gpios = <&arduino_header 14 GPIO_PULL_UP>;
};

sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder &right_encoder>;
triggers-per-rotation = <20>;
};
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder &right_encoder>;
triggers-per-rotation = <20>;
};
};

0 comments on commit f24a0bf

Please sign in to comment.