diff --git a/build.yaml b/build.yaml index 8da0aa2..03bcca0 100644 --- a/build.yaml +++ b/build.yaml @@ -4,6 +4,7 @@ include: ### CORNE START ### - board: nice_nano_v2 shield: corne_left nice_oled + snippet: zmk-usb-logging artifact-name: nice_corne_left_oled_rgb - board: nice_nano_v2 shield: corne_right nice_oled diff --git a/config/corne.conf b/config/corne.conf index 9b5f327..e42ab1c 100644 --- a/config/corne.conf +++ b/config/corne.conf @@ -117,6 +117,14 @@ CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5 # ref: https://zmk.dev/docs/config/system#hid CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y +### STENO ENGINE (v4 union split-section: both dicts, both halves) +CONFIG_STENO_ENGINE=y +CONFIG_STENO_DICT_BOTH=y +CONFIG_STENO_SPLIT_DICT=y +CONFIG_STENO_DICT_LEFT_MAX_SIZE=440320 +CONFIG_STENO_DICT_RIGHT_MAX_SIZE=519168 +CONFIG_STENO_SPLIT_TIMEOUT_MS=250 + ### DEBUG OPTIONS # CONFIG_ZMK_USB_LOGGING=y # CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000 diff --git a/config/corne.keymap b/config/corne.keymap index 8da5a66..d622148 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -13,6 +13,8 @@ #include #include #include +#include +#include #include &led_strip { @@ -199,10 +201,10 @@ steno_layer { display-name = "STEN"; bindings = < -&none &none &none &none &none &none &none &none &none &none &none &to 4 -&mo 4 &none &none &none &none &none &none &none &none &none &none &none -&none &none &none &none &none &none &none &none &none &none &none &none - &none &none &none &none &none &none +&steno STENO_NUM &steno STENO_SL &steno STENO_TL &steno STENO_PL &steno STENO_HL &steno STENO_STAR &steno STENO_STAR &steno STENO_FR &steno STENO_PR &steno STENO_LR &steno STENO_TR &steno STENO_DR +&mo 4 &steno STENO_SL &steno STENO_KL &steno STENO_WL &steno STENO_RL &steno STENO_STAR &steno STENO_STAR &steno STENO_RR &steno STENO_BR &steno STENO_GR &steno STENO_SR &steno STENO_ZR +&none &none &none &none &none &none &none &none &none &none &none &to 4 + &none &steno STENO_A &steno STENO_O &steno STENO_E &steno STENO_U &none >; }; diff --git a/config/west.yml b/config/west.yml index 27c389f..79fe2a0 100644 --- a/config/west.yml +++ b/config/west.yml @@ -24,6 +24,10 @@ manifest: - name: zmk-rgb-effects remote: afiqzudinhadi-zmk revision: v1.1.1 + # Steno engine module (split-dict partition) + - name: zmk-steno-engine + remote: afiqzudinhadi-zmk + revision: split-combined # dongle_display - name: zmk-dongle-display remote: englmaxi diff --git a/keymap-drawer/corne.svg b/keymap-drawer/corne.svg index 887c9d8..9a49bb7 100644 --- a/keymap-drawer/corne.svg +++ b/keymap-drawer/corne.svg @@ -749,42 +749,75 @@ rect.held, rect.combo.held { + +&stenoSTENO_NUM + + +&stenoSTENO_SL + + +&stenoSTENO_TL + + +&stenoSTENO_PL + + +&stenoSTENO_HL + + +&stenoSTENO_STAR + + +&stenoSTENO_STAR + + +&stenoSTENO_FR + + +&stenoSTENO_PR + + +&stenoSTENO_LR + + +&stenoSTENO_TR + - -HUB -toggle + +&stenoSTENO_DR + @@ -793,36 +826,69 @@ rect.held, rect.combo.held { + +&stenoSTENO_SL + + +&stenoSTENO_KL + + +&stenoSTENO_WL + + +&stenoSTENO_RL + + +&stenoSTENO_STAR + + +&stenoSTENO_STAR + + +&stenoSTENO_RR + + +&stenoSTENO_BR + + +&stenoSTENO_GR + + +&stenoSTENO_SR + + +&stenoSTENO_ZR + @@ -859,21 +925,36 @@ rect.held, rect.combo.held { + +HUB +toggle + +&stenoSTENO_A + + +&stenoSTENO_O + + +&stenoSTENO_E + + +&stenoSTENO_U + diff --git a/keymap-drawer/corne.yaml b/keymap-drawer/corne.yaml index 9dffbde..9222e85 100644 --- a/keymap-drawer/corne.yaml +++ b/keymap-drawer/corne.yaml @@ -87,6 +87,30 @@ layers: - $$mdi:apple-keyboard-option$$ - {t: MUTE, h: PLAY PAUSE} STEN: + - '&steno STENO_NUM' + - '&steno STENO_SL' + - '&steno STENO_TL' + - '&steno STENO_PL' + - '&steno STENO_HL' + - '&steno STENO_STAR' + - '&steno STENO_STAR' + - '&steno STENO_FR' + - '&steno STENO_PR' + - '&steno STENO_LR' + - '&steno STENO_TR' + - '&steno STENO_DR' + - HUB + - '&steno STENO_SL' + - '&steno STENO_KL' + - '&steno STENO_WL' + - '&steno STENO_RL' + - '&steno STENO_STAR' + - '&steno STENO_STAR' + - '&steno STENO_RR' + - '&steno STENO_BR' + - '&steno STENO_GR' + - '&steno STENO_SR' + - '&steno STENO_ZR' - '' - '' - '' @@ -99,35 +123,11 @@ layers: - '' - '' - {t: HUB, h: toggle} - - HUB - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - '' + - '&steno STENO_A' + - '&steno STENO_O' + - '&steno STENO_E' + - '&steno STENO_U' - '' FPS: - {t: '1', h: Esc}