diff --git a/config/boards/shields/totem/totem.dtsi b/config/boards/shields/totem/totem.dtsi index 48a588f..2ce157c 100644 --- a/config/boards/shields/totem/totem.dtsi +++ b/config/boards/shields/totem/totem.dtsi @@ -29,13 +29,11 @@ compatible = "zmk,kscan-gpio-matrix"; label = "KSCAN"; diode-direction = "col2row"; - - col-gpios - = <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + row-gpios + = <&xiao_d 0 GPIO_ACTIVE_HIGH> + , <&xiao_d 1 GPIO_ACTIVE_HIGH> + , <&xiao_d 2 GPIO_ACTIVE_HIGH> + , <&xiao_d 3 GPIO_ACTIVE_HIGH> ; }; }; \ No newline at end of file diff --git a/config/boards/shields/totem/totem_left.overlay b/config/boards/shields/totem/totem_left.overlay index dd94a9f..e9d9fb2 100644 --- a/config/boards/shields/totem/totem_left.overlay +++ b/config/boards/shields/totem/totem_left.overlay @@ -7,10 +7,11 @@ #include "totem.dtsi" &kscan0 { - row-gpios - = <&xiao_d 0 GPIO_ACTIVE_HIGH> - , <&xiao_d 1 GPIO_ACTIVE_HIGH> - , <&xiao_d 2 GPIO_ACTIVE_HIGH> - , <&xiao_d 3 GPIO_ACTIVE_HIGH> + col-gpios + = <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> ; }; diff --git a/config/boards/shields/totem/totem_right.overlay b/config/boards/shields/totem/totem_right.overlay index 510dfc2..d91d699 100644 --- a/config/boards/shields/totem/totem_right.overlay +++ b/config/boards/shields/totem/totem_right.overlay @@ -15,7 +15,7 @@ = <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> , <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> ; }; diff --git a/config/totem.conf b/config/totem.conf index e69de29..c747d39 100644 --- a/config/totem.conf +++ b/config/totem.conf @@ -0,0 +1 @@ +CONFIG_ZMK_USB_LOGGING=y \ No newline at end of file