Skip to content

Commit

Permalink
Fix/left side wake (#13)
Browse files Browse the repository at this point in the history
* add wakeup-source; to prevent CONFIG_ZMK_SLEEP from keeping the keyboard asleep

* add wakeup-source; to dongle config to prevent CONFIG_ZMK_SLEEP from keeping the keyboard asleep

* update keymap formatting

---------

Co-authored-by: 280Zo <[email protected]>
  • Loading branch information
280Zo and 280Zo authored Nov 10, 2024
1 parent c27c38a commit 4fdecfd
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 23 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>;
};
};
1 change: 1 addition & 0 deletions boards/shields/charybdis-dongle/charybdis.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
};

kscan0: kscan {
wakeup-source;
diode-direction = "row2col";
};
};
6 changes: 3 additions & 3 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@
// ╭────────────────┬──────────────┬─────────────────────────┬─────────────────────────────┬──────────────────┬──────────────────╮ ╭────────────────┬─────────────────┬──────────────────────────────────┬──────────────────────────────┬────────────────────────┬──────────────╮
&to 0 &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &td_layers
// ├────────────────┼──────────────┼─────────────────────────┼─────────────────────────────┼──────────────────┼──────────────────┤ ├────────────────┼─────────────────┼──────────────────────────────────┼──────────────────────────────┼────────────────────────┼──────────────┤
&hm LCMD TAB &lt 2 A &hm LEFT_ALT S &hm LCTRL D &hm LEFT_SHIFT F &kp G &kp H &hm LEFT_SHIFT J &hm RCTRL K &hm RIGHT_ALT L &hm LCMD SEMICOLON &kp DEL
&hm LCMD TAB &lt 2 A &hm LEFT_ALT S &hm LCTRL D &hm LEFT_SHIFT F &kp G &kp H &hm LEFT_SHIFT J &hm RCTRL K &hm RIGHT_ALT L &hm LCMD SEMICOLON &kp DEL
// ├────────────────┼──────────────┼─────────────────────────┼─────────────────────────────┼──────────────────┼──────────────────┤ ├────────────────┼─────────────────┼──────────────────────────────────┼──────────────────────────────┼────────────────────────┼──────────────┤
&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
25 changes: 12 additions & 13 deletions keymap-drawer/charybdis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions keymap-drawer/charybdis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ layers:
- {t: ., h: MEH}
- /
- DEV TOOLS
- {t: BACK SPACE, h: NUM}
- L CLK
- SCRL SLOW
- L CLK
- {t: BACK SPACE, h: NUM}
- {t: RETURN, h: MOUSE}
- {t: SPACE, h: SYM}
NUM:
Expand Down Expand Up @@ -78,9 +78,9 @@ layers:
- {t: '3', h: F3}
- {t: '=', h: DEV TOOLS}
- ''
- {type: held}
- ''
- {t: ▽, type: trans}
- ''
- {type: held}
- '0'
- {t: ▽, type: trans}
NAV:
Expand Down

0 comments on commit 4fdecfd

Please sign in to comment.