Skip to content

Commit

Permalink
address the missing keymap file by moving it to the board directory
Browse files Browse the repository at this point in the history
  • Loading branch information
280Zo committed Aug 5, 2024
1 parent d4e35d8 commit c6cab6b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/user_config_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ jobs:
mkdir "$base_config_path"
cp -R "${{ inputs.config_path }}"/* "$base_config_path/"
echo "base installed"
# Copy active keymap to the config directory
# Copy active keymap to the board directory
cp -Rv "$base_config_path/boards/shields/charybdis-mini-wireless/keymaps/${{ matrix.keymap }}.keymap" \
"$base_config_path/"
"$base_config_path/boards/shields/charybdis-mini-wireless"
fi
echo "Build files list:"
ls -R "${{ env.base_dir }}"
Expand Down
39 changes: 39 additions & 0 deletions config/charybdis_qwerty.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,49 @@
};

/ {
hm: homerow_mod {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
flavor = "tap-preferred";
tapping-term-ms = <250>;
quick-tap-ms = <150>;
require-prior-idle-ms = <125>;
bindings = <&kp>, <&kp>;
};

combos {
compatible = "zmk,combos";

Delete {
bindings = <&kp DELETE>;
key-positions = <8 9>;
};

CapsWord {
bindings = <&caps_word>;
key-positions = <17 18>;
};

Layer_7 {
bindings = <&mo 7>;
key-positions = <38 39>;
};
};

macros {
VSplit: VSplit {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp LEFT_SHIFT &kp SEMI &kp LS(V) &kp LS(S) &kp LS(P) &kp RET>;
label = "VSPLIT";
};

HSplit: HSplit {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp LEFT_SHIFT &kp SEMI &kp LS(S) &kp LS(P) &kp RET>;
label = "HSPLIT";
};
};

behaviors {
Expand Down

0 comments on commit c6cab6b

Please sign in to comment.