Skip to content

Commit

Permalink
update to get building for kyria rev3
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielks committed Apr 24, 2024
1 parent 4834e81 commit a845a36
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 42 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Setup
- Setup VS Code and Dev Container: https://zmk.dev/docs/development/setup#initialize--update-zephyr-workspace
- Run `bin/create-docker-volume.sh`
- Follow instructions for building splits: https://zmk.dev/docs/development/build-flash#building-for-split-keyboards
- Follow instructions for building from zmk-config: https://zmk.dev/docs/development/build-flash#building-from-zmk-config-folder

When specifying the `-DSHIELD` flag, make sure it's `-DSHIELD=<name of .keymap file>_left`. So for `config/kyria_rev3.keymap`, the flag will be `-DSHIELD=kyria_rev3_left`
10 changes: 10 additions & 0 deletions bin/create-docker-volume.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

set -xe

if docker volume ls | grep -q zmk-config; then
docker volume rm zmk-config
fi

docker volume create --driver local -o o=bind -o type=none -o \
device="$(pwd)" zmk-config
10 changes: 0 additions & 10 deletions config/kyria.conf

This file was deleted.

30 changes: 0 additions & 30 deletions config/kyria.keymap

This file was deleted.

4 changes: 2 additions & 2 deletions config/kyria_rev3.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp LSHFT &kp LSHFT &mo 1 &kp LSHFT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RCTRL
&kp LGUI &kp DEL &kp RET &kp SPACE &kp ESC &kp RET &kp SPACE &kp TAB &kp BSPC &kp RALT
&mo 1 &kp DEL &kp RET &kp SPACE &kp ESC &kp RET &kp SPACE &kp TAB &kp BSPC &kp RALT
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
Expand All @@ -43,7 +43,7 @@
// | | | | | | | | | | | | |
bindings = <
&trans &trans &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &trans &trans &trans &trans &trans &trans
&trans &trans &trans &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &bt BT_SEL 3 &bt BT_SEL 4 &kp A &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 &trans &trans
>;
Expand Down

0 comments on commit a845a36

Please sign in to comment.