From 34b2bb0f83a2729779472a2ce2857c681e6af49c Mon Sep 17 00:00:00 2001 From: AJ <1754228+280Zo@users.noreply.github.com> Date: Sat, 9 Nov 2024 12:49:42 -0800 Subject: [PATCH] add wakeup-source; to prevent CONFIG_ZMK_SLEEP from keeping the keyboard asleep --- boards/shields/charybdis-bt/charybdis.dtsi | 1 + boards/shields/charybdis-bt/charybdis_left.overlay | 8 +++++--- config/charybdis.keymap | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/boards/shields/charybdis-bt/charybdis.dtsi b/boards/shields/charybdis-bt/charybdis.dtsi index 07399b9d..f02112c8 100644 --- a/boards/shields/charybdis-bt/charybdis.dtsi +++ b/boards/shields/charybdis-bt/charybdis.dtsi @@ -42,6 +42,7 @@ }; kscan0: kscan { + wakeup-source; diode-direction = "row2col"; }; }; \ No newline at end of file diff --git a/boards/shields/charybdis-bt/charybdis_left.overlay b/boards/shields/charybdis-bt/charybdis_left.overlay index df11e51e..e3e36410 100644 --- a/boards/shields/charybdis-bt/charybdis_left.overlay +++ b/boards/shields/charybdis-bt/charybdis_left.overlay @@ -21,8 +21,10 @@ ; }; +// https://github.com/badjeff/zmk-pmw3610-driver / { - vtrackball: virtual_input_trackball { - compatible = "zmk,virtual-input"; - }; + trackball_listener { + compatible = "zmk,input-listener"; + device = <&trackball>; + }; }; \ No newline at end of file diff --git a/config/charybdis.keymap b/config/charybdis.keymap index 547c9777..b458e163 100644 --- a/config/charybdis.keymap +++ b/config/charybdis.keymap @@ -175,8 +175,8 @@ // ├────────────────┼──────────────┼─────────────────────────┼─────────────────────────────┼──────────────────┼──────────────────┤ ├────────────────┼─────────────────┼──────────────────────────────────┼──────────────────────────────┼────────────────────────┼──────────────┤ &kp C_AC_SEARCH &kp Z &hm LC(LA(LEFT_SHIFT)) X &hm LA(LC(LG(LEFT_SHIFT))) C &kp V &kp B &kp N &kp M &hm LA(LC(LG(LEFT_SHIFT))) COMMA &hm LC(LA(LEFT_SHIFT)) PERIOD &kp FSLH &kp F12 // ╰────────────────┴──────────────┴─────────────────────────┼─────────────────────────────┼──────────────────┼──────────────────┤ ├────────────────┼─────────────────┼──────────────────────────────────┴──────────────────────────────┴────────────────────────┴──────────────╯ - < 1 BACKSPACE &mkp LCLK &td_cursor < 7 RETURN < 3 SPACE - // ╰─────────────────┴──────────────┴──────────────────╯ ╰────────────────┴──────────────╯ + &td_cursor &mkp LCLK < 1 BACKSPACE < 7 RETURN < 3 SPACE + // ╰─────────────┴──────────────────┴──────────────────╯ ╰────────────────┴──────────────╯ >; };