From d2aed86a355f7a1aa206de57bf5a24927214e5f5 Mon Sep 17 00:00:00 2001 From: Paul Warren Date: Tue, 13 Dec 2022 22:43:35 +0000 Subject: [PATCH] Output switching, USB <-> BLE --- app/boards/shields/mf68/mf68.keymap | 3 ++- app/boards/shields/mf68/mf68.overlay | 1 + app/prj.conf | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/boards/shields/mf68/mf68.keymap b/app/boards/shields/mf68/mf68.keymap index 643de58b..13927f95 100644 --- a/app/boards/shields/mf68/mf68.keymap +++ b/app/boards/shields/mf68/mf68.keymap @@ -1,6 +1,7 @@ #include #include #include +#include / { keymap { @@ -29,7 +30,7 @@ raise{ bindings = < &trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &trans &trans &trans &trans &trans &trans &trans &trans &bt BT_CLR &reset &bootloader - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &trans &out OUT_USB &out OUT_BLE &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans diff --git a/app/boards/shields/mf68/mf68.overlay b/app/boards/shields/mf68/mf68.overlay index 79c12898..96d2ad62 100644 --- a/app/boards/shields/mf68/mf68.overlay +++ b/app/boards/shields/mf68/mf68.overlay @@ -15,6 +15,7 @@ label = "KSCAN"; diode-direction = "col2row"; + col-gpios = <&pro_micro 10 GPIO_ACTIVE_HIGH>, <&pro_micro 16 GPIO_ACTIVE_HIGH>, diff --git a/app/prj.conf b/app/prj.conf index e69de29b..de84e31f 100644 --- a/app/prj.conf +++ b/app/prj.conf @@ -0,0 +1,3 @@ +# Turn on logging, and set ZMK logging to debug output +CONFIG_ZMK_USB_LOGGING=y +#CONFIG_ZMK_LOG_LEVEL=8 \ No newline at end of file