Skip to content

Commit

Permalink
Enabling ZMK Studio on my Wee Jock builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
amacleod committed Oct 30, 2024
1 parent c370365 commit cc8b5fe
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ deploy_ferris: ferris

weejock: EXTRA_MODULES += ${WEEJOCK_CONFIG_DIR}
weejock:
cd ${APP_DIR} && west build -d build/$@ -b seeeduino_xiao_ble -- -DSHIELD=$@ -DZMK_CONFIG=${ZMK_CONFIG_DIR}/config -DZMK_EXTRA_MODULES="$(subst $(SPACE),;,$(EXTRA_MODULES))"
cd ${APP_DIR} && west build -d build/$@ -b seeeduino_xiao_ble -S studio-rpc-usb-uart -- -DSHIELD=$@ -DCONFIG_ZMK_STUDIO=y -DZMK_CONFIG=${ZMK_CONFIG_DIR}/config -DZMK_EXTRA_MODULES="$(subst $(SPACE),;,$(EXTRA_MODULES))"

zaphod: zaphod_lite
zaphod_lite: EXTRA_MODULES += ${ZAPHOD_CONFIG_DIR} ${ZMK_AUTO_LAYER_DIR}
Expand Down
2 changes: 2 additions & 0 deletions config/weejock.conf
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Configuration for Wee Jock

CONFIG_ZMK_STUDIO=y
22 changes: 16 additions & 6 deletions config/weejock.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// Layer numbers
#define NUM 0
#define RAISE 1
#define EXTRA 2

/ {
keymap {
Expand All @@ -28,20 +29,29 @@
};
raise_layer { // layer 1
// ,-----------------------.
// | | | | |
// |ZMKSt| | | |
// | | | | |
// | | | | |
// | | | | |
// |#####| | : | Tab |
// `-----------------------'
bindings = <
&trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &kp COLON &kp TAB
&studio_unlock &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &kp COLON &kp TAB
>;
display-name = "Raise";
};
extra_layer { // layer 2
bindings = <
&trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &trans &trans
>;
};
};
};
1 change: 1 addition & 0 deletions config/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ manifest:
- name: weejock-zmk
remote: amacleod
revision: main
snippet: studio-rpc-usb-uart
self:
path: config

0 comments on commit cc8b5fe

Please sign in to comment.