Skip to content

Commit

Permalink
add wakeup-source; to prevent CONFIG_ZMK_SLEEP from keeping the keybo…
Browse files Browse the repository at this point in the history
…ard asleep
  • Loading branch information
280Zo committed Nov 9, 2024
1 parent 9c2bbbd commit 34b2bb0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions boards/shields/charybdis-bt/charybdis.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
};

kscan0: kscan {
wakeup-source;
diode-direction = "row2col";
};
};
8 changes: 5 additions & 3 deletions boards/shields/charybdis-bt/charybdis_left.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};
4 changes: 2 additions & 2 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -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
// ╰────────────────┴──────────────┴─────────────────────────┼─────────────────────────────┼──────────────────┼──────────────────┤ ├────────────────┼─────────────────┼──────────────────────────────────┴──────────────────────────────┴────────────────────────┴──────────────╯
&lt 1 BACKSPACE &mkp LCLK &td_cursor &lt 7 RETURN &lt 3 SPACE
// ╰───────────────────────────────┴──────────────────╯ ╰────────────────┴──────────────╯
&td_cursor &mkp LCLK &lt 1 BACKSPACE &lt 7 RETURN &lt 3 SPACE
// ╰───────────────────────────────┴──────────────────╯ ╰────────────────┴──────────────╯
>;
};

Expand Down

0 comments on commit 34b2bb0

Please sign in to comment.