Skip to content

Commit

Permalink
Merge pull request #1 from petejohanson/shell-config
Browse files Browse the repository at this point in the history
Add the necessary build bits to enable the shell for using the basic calibration utility
  • Loading branch information
petejohanson authored Dec 17, 2023
2 parents 4695630 + 7343f59 commit ec392a2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 8 additions & 0 deletions config/sporkus_le_capybara.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CONFIG_SHELL=y
CONFIG_SHELL_MINIMAL=y
CONFIG_ADC_SHELL=n
CONFIG_HEAP_MEM_POOL_SIZE=0
CONFIG_ISR_STACK_SIZE=768
CONFIG_SHELL_STACK_SIZE=768
CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=2
CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=2
14 changes: 2 additions & 12 deletions config/sporkus_le_capybara.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@
#define FUN_L 4

/ {
tap_dances {
shifty: shift_caps_word {
compatible = "zmk,behavior-tap-dance";
label = "TD_SHIFTY";
#binding-cells = <0>;
tapping-term-ms = <150>;
bindings = <&kp LSHFT>, <&caps_word>;
};
};

cond_layers {
compatible = "zmk,conditional-layers";
tri {
Expand Down Expand Up @@ -107,7 +97,7 @@
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp QUOT
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SEMI
&mo NAV_L &shifty &kp SPACE &mo NUM_L
&mo NAV_L &kp LSHFT &kp SPACE &mo NUM_L
>;
};
#else
Expand All @@ -117,7 +107,7 @@
&kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp QUOT
&kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O
&kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp SEMI
&mo NAV_L &shifty &kp SPACE &mo NUM_L
&mo NAV_L &kp LSHFT &kp SPACE &mo NUM_L
>;
};
#endif
Expand Down
6 changes: 4 additions & 2 deletions config/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ manifest:
# See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects
projects:
- name: zmk
remote: zmkfirmware
revision: main
remote: petejohanson
revision: core/event-manager-stack-only
clone-depth: 1
import: app/west.yml
- name: le-capybara-zmk-module
remote: petejohanson
clone-depth: 1
revision: main
self:
path: config

0 comments on commit ec392a2

Please sign in to comment.