Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions KEYMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The middle three keys on each home row side double as modifiers when **held**:
- `hold-trigger-on-release`: allows combining multiple mods on the same hand
- `tapping-term`: 280ms — intentionally large; makes behavior timer-insensitive
- `quick-tap`: 175ms — rapid same-key repeats always produce taps (e.g., `ll`)
- `require-prior-idle`: 150ms — if you typed any key less than 150ms ago, it always types the letter
- `require-prior-idle`: 175ms — if you typed any key less than 175ms ago, it always types the letter

---

Expand Down Expand Up @@ -275,8 +275,8 @@ Located in `config/corne.conf`:

| Setting | Value | Purpose |
|---------|-------|---------|
| Press debounce | 1ms | Near-instant key registration (eager debounce) |
| Release debounce | 5ms | Standard release filtering |
| Press debounce | 5ms | Filters switch bounce while staying responsive |
| Release debounce | 5ms | Symmetric release filtering |
| BT min interval | 6 | Locks BT polling for consistent wireless latency |
| Sleep timeout | 30 min | Deep sleep after inactivity to save battery |

Expand Down
2 changes: 1 addition & 1 deletion config/corne.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=5
CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5
CONFIG_BT_PERIPHERAL_PREF_MIN_INT=6
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=6
Expand Down
27 changes: 20 additions & 7 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
// - hold-trigger-on-release: allows combining mods on same hand, prevents rolling misfires
// - 280ms tapping-term: large value makes behavior timer-insensitive
// - 175ms quick-tap: rapid same-key repeats always produce taps
// - 150ms require-prior-idle: eliminates delay during fast typing
// - 175ms require-prior-idle: eliminates HRM misfires during fast typing
ZMK_BEHAVIOR(hml, hold_tap, // left-hand HRMs
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
require-prior-idle-ms = <175>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_R THUMBS>;
hold-trigger-on-release;
Expand All @@ -53,12 +53,25 @@ ZMK_BEHAVIOR(hmr, hold_tap, // right-hand HRMs
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
require-prior-idle-ms = <175>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_L THUMBS>;
hold-trigger-on-release;
)

// Layer-taps with timeless settings (prevents accidental layer activation during fast typing)
// Same approach as HRMs: require-prior-idle prevents misfires, balanced flavor
// ensures layer only activates on deliberate hold + opposite-hand keypress
ZMK_BEHAVIOR(ltl, hold_tap, // left-hand layer-taps (E/NAV, R/WIN, B/FUNC)
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <175>;
bindings = <&mo>, <&kp>;
hold-trigger-key-positions = <KEYS_R THUMBS>;
hold-trigger-on-release;
)


// combos
#undef COMBO_TERM
Expand All @@ -79,13 +92,13 @@ ZMK_LAYER(Main,
// DEFAULT LAYER
// .--------------------------------------------------------------. .-----------------------------------------------------------.
// | ESC | Q | W | E/NAV | R/WIN | T | | Y | U | I | O | P | BKSP |
&kp ESC &kp Q &kp W &lt 3 E &lt 6 R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DEL
&kp ESC &kp Q &kp W &ltl 3 E &ltl 6 R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DEL
// |--------------+---------+--------+--------+---------+---------| |-------+---------+---------+---------+----------+----------|
// | CTRL/Tab | A | S | D | F | G | | H | J | K | L | Ö | Ä |
&mt LCTRL TAB &kp A &hml LALT S &hml LSHIFT D &hml LCTRL F &kp G &kp H &hmr RCTRL J &hmr RSHIFT K &hmr RALT L &kp SEMI &kp LBKT
// |--------------+---------+--------+--------+---------+---------| |-------+---------+---------+---------+----------+----------|
// | SHFT | Z | X | C | V | B/FUNC | | N | M | . | , | | Ä |
&kp LSHIFT &kp Z &kp X &kp C &kp V &lt 5 B &kp N &kp M &kp DOT &kp COMMA ___ &kp SQT
&kp LSHIFT &kp Z &kp X &kp C &kp V &ltl 5 B &kp N &kp M &kp DOT &kp COMMA ___ &kp SQT
// '---------------------------------+--------+---------+---------+ |-------+---------+---------+-------------------------------'
// | GUI | NUM | SPC | | ENT | CHARS | BKSP |
&kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp BSPC
Expand Down Expand Up @@ -206,13 +219,13 @@ ZMK_LAYER(Game,
// DEFAULT LAYER
// .--------------------------------------------------------------. .-----------------------------------------------------------.
// | ESC | Q | W | E/NAV | R/NAV | T | | Y | U | I | O | P | BKSP |
&kp ESC &kp Q &kp W &kp E &lt 3 R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DEL
&kp ESC &kp Q &kp W &kp E &ltl 3 R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DEL
// |--------------+---------+--------+--------+---------+---------| |-------+---------+---------+---------+----------+----------|
// | CTRL/Tab | A | S | D | F | G | | H | J | K | L | Ö | Ä |
&mt LCTRL TAB &kp A &kp S &kp D &kp F &kp G &kp H &hmr RCTRL J &hmr RSHIFT K &hmr RALT L &kp SEMI &kp LBKT
// |--------------+---------+--------+--------+---------+---------| |-------+---------+---------+---------+----------+----------|
// | SHFT | Z | X | C | V | B/FUNC | | N | M | . | , | | Ä |
&kp LSHIFT &kp Z &kp X &kp C &kp V &lt 5 B &kp N &kp M &kp DOT &kp COMMA ___ &kp SQT
&kp LSHIFT &kp Z &kp X &kp C &kp V &ltl 5 B &kp N &kp M &kp DOT &kp COMMA ___ &kp SQT
// '---------------------------------+--------+---------+---------+ |-------+---------+---------+-------------------------------'
// | GUI | NUM | SPC | | ENT | CHARS | BKSP |
&kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp BSPC
Expand Down
Loading