Add steno engine module + steno layer on Corne

This commit is contained in:
afiqzudinhadi 2026-06-24 21:51:55 +08:00
parent 887b987b87
commit af8df38322
5 changed files with 167 additions and 42 deletions

View file

@ -117,6 +117,10 @@ 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
CONFIG_STENO_ENGINE=y
CONFIG_STENO_DICT_TEST=y
### DEBUG OPTIONS
# CONFIG_ZMK_USB_LOGGING=y
# CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000

View file

@ -14,6 +14,8 @@
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/reset.h>
#include <dt-bindings/zmk/rgb_colors.h>
#include <dt-bindings/zmk/steno_keys.h>
#include <behaviors/steno_engine.dtsi>
&led_strip {
chain-length = <27>;
@ -198,11 +200,15 @@
steno_layer {
display-name = "STEN";
// _ # # # # # | # # # # # ->HUB
// [HUB] S T P H * | * F P L T D
// _ S K W R * | * R B G S Z
// [RGB] A O | E U MUTE/PP
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
&none &steno STENO_NUM &steno STENO_NUM &steno STENO_NUM &steno STENO_NUM &steno STENO_NUM &steno STENO_NUM &steno STENO_NUM &steno STENO_NUM &steno STENO_NUM &steno STENO_NUM &to 4
&mo 4 &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
&none &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
&td_rgb &steno STENO_A &steno STENO_O &steno STENO_E &steno STENO_U &ht_mute_pp C_PLAY_PAUSE C_MUTE
>;
};

View file

@ -40,5 +40,9 @@ manifest:
- name: zmk-oled-adapter
remote: mctechnology17
revision: main
# Steno engine
- name: zmk-steno-engine
remote: afiqzudinhadi-zmk
revision: optimize-dict
self:
path: config